Skip to content

wikibonsai/remark-caml

Repository files navigation

remark-caml

A WikiBonsai Project

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

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

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

🕸 Weave a semantic web in your 🎋 WikiBonsai digital garden.

Contributing

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