@binyamin/markdown-it-wikilinks
v1.1.1
Published
markdown-it plugin to recognize Mediawiki links
Downloads
64
Maintainers
Readme
Markdown-it Wikilinks
Markdown-it plugin to recognize Mediawiki links (
[[text]]
)
Installing
$ npm install --save markdown-it @binyamin/markdown-it-wikilinks
Usage
const markdownIt = require("markdown-it");
const markdownItWikilinks = require("@binyamin/markdown-it-wikilinks");
const md = new markdownIt({ linkify: true }).use(markdownItWikilinks, {
base: "/notes/" // Determines the link url. Prepended directly to page slug
});
//...
Maintenance
This is just a personal project, so I don't expect contributions. That said, I'm open to all suggestions.
Legal
All source-code is provided under the terms of the MIT license. Copyright 2020-2022 Binyamin Green.