markdown-it-obsidian
markdown-it-obsidian copied to clipboard
Installation
Hi,
I dropped this in my plugins folder and nothing happened.
Could you add some installation instructions,
thanks
Tom
This worked for me (after digging through the plugin creator's website repos…)
run
npm i markdown-it-obsidian
then add this to your .eleventy.js config…
inside the module.exports = function(eleventyConfig) { :
let markdownIt = require("markdown-it");
let markdownItObsidian = require("markdown-it-obsidian")();
let markdownItOptions = {
html: true,
};
let markdownLib = markdownIt(markdownItOptions)
.use(markdownItObsidian)
eleventyConfig.setLibrary("md", markdownLib);