Differences in browser. If you load the script directly into the page without using a package system, the module will add itself globally with the name markdownitEmoji. Init code will look a bit different in this case:
var md = window.markdownit().use(window.markdownitEmoji);
Is it really necessary to specify window object here? Works fine without it:
var md = markdownit().use(window.markdownitEmoji);
Is it really necessary to specify
window
object here? Works fine without it: