Following convention, this repository contains three separate npm packages related to support wikirefs (including [[wikilinks]]) for the remark Markdown parser.
micromark-extension-wikirefsdefines a new syntax extension formicromark, which is responsible for converting markdown syntax to a token stream.mdast-util-wikirefsdescribes how to convert tokens output bymicromark-extension-wikirefsinto either an HTML string ormdastsyntax tree.remark-wikirefsencapsulates the above functionality into aremarkplugin.
For more information, see the individual folders for each package.
🕸 Weave a semantic web in your 🎋 WikiBonsai digital garden.
Pull requests for bugfixes or new features / options are welcome. Be aware that changes to the syntax extension micromark-extension-wikirefs may also have an impact on the other two packages, and you will need to test all three.