1.1.1 • Published 11 months ago

rehype-blockquotes-extended v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Rehype Blockquotes Extended

This rehypejs plugin extends blockquote formatting for markdown documents. Currently users can create formatted blockquote sections for:

  • CAUTION
  • IMPORTANT
  • QUESTION & ANSWER
  • QUOTE
  • SUCCESS
  • TIP
  • WARNING

Blockquote Examples

Requirements

Must have the remark-blockquotes-extended plugin installed and implemented. Additionally you must add the CSS (SASS) stylesheet to your project blockquote-extended.scss.

Installation

npm install --save rehype-blockquotes-extended

Document Formatting

This plugin searches uses the following strings to format the markdown document blockquotes with the extended features:

TypeCharacters
Answera> or A>
Cautionc> or C>
Important>
Question?>
Quoteq> or Q>
Successs> or S>
Tipt> or T>
Warningw> or W>

Additional Plugins

This plugin parses the markdown document and edits the tree with custom formatting. To format the tree in HTML, please use the rehype-blockquote-extended plugin.

Legal

This software is distributed free of cost and does not provide support or warranty to the end user or developer.