You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried updating your npm package? According to https://www.npmjs.com/package/marked it is updated to the last version available here, which includes ledsun@1df5893 that introduced the different behaviour you're seeing.
using
marked.min.js
:marked("- #1 fan")
-><ul>\n<li>#1 fan</li>\n</ul>\n
using marked via npm
marked("- #1 fan")
-><ul>\n<li><h1 id="1-fan">1 fan</h1>\n</li>\n</ul>\n
The text was updated successfully, but these errors were encountered: