Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation #1

Open
everythingability opened this issue Jul 17, 2021 · 1 comment
Open

Installation #1

everythingability opened this issue Jul 17, 2021 · 1 comment

Comments

@everythingability
Copy link

Hi,

I dropped this in my plugins folder and nothing happened.

Could you add some installation instructions,

thanks

Tom

@BorisAnthony
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants