Skip to content

benrbray/remark-cite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remark-cite

Following convention, this repository contains three separate npm packages related to support for pandoc-style citation syntax for the remark Markdown parser.

  • micromark-extension-cite defines a new syntax extension for micromark, which is responsible for converting markdown syntax to a token stream
  • mdast-util-cite describes how to convert tokens output by micromark-extension-cite into either an HTML string or mdast syntax tree.
  • remark-cite encapsulates the above functionality into a remark plugin.

For more information, see the individual folders for each package.

Contributing

Pull requests for bugfixes or new features / options are welcome. Be aware that changes to the syntax extension micromark-extension-cite may also have an impact on the other two packages, and you will need to test all three.

About

Adds support for pandoc-style citations to the Markdown syntax for the remark and micromark parsers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published