rstacruz/markdown-it-decorate

No access to require

Opened this issue · 0 comments

I'm not using Node.js or anything like that; my code runs in the browser natively. As a result I don't have access to the require function. Can you add markdown-it-decorate to the window object so I can access it like this?

var markdown = windows.markdownit({html:true})
    .use(window.markdownitInlineComments)
    .use(window.markdownitDecorate)
    .use(window.markdownitContainer, /* blah */)

This is urgent, thanks.