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
markedjs/marked#3291 made it so renderers created with marked v13+ code are incompatible with <v13 versions of marked, and this plugin's version is quite old.
Maybe a warning about compatible versions of marked would suffice? I suspect this plugin's version of marked is being held back intentionally based on #70.
An eventual major upgrade of this plugin might be nice, and I'm sure you had other items for its roadmap.
The text was updated successfully, but these errors were encountered:
It became clear to me that we are totally at odds about how an open-source project should be managed, see a.o. markedjs/marked#3186 (comment). Metalsmith as a project with regard for backward-compatibility and stability cannot rely on a core plugin that breaks as frequently as bot-automated marked + extension releases. I attempted an upgrade but there were just too many incompatibilities and open questions: https://github.com/metalsmith/markdown/commits/release/2.x. I did a deeper dive in some of the marked extensions and found that for ex the smartypants dependency used has code of dubious quality.
For these reasons I concluded it would be better to switch to an alternative dependency, and stuck with https://github.com/remarkjs/remark, for which I also started work at https://github.com/metalsmith/markdown/commits/poc/remark. Remark can do much more than just markdown, including MDX. I discontinued work on this after 2 hard drive crashes made me lose local progress and I had to focus on home renovations.
Unfortunately
marked
changed the function signatures on the renderer object.I have some code to alter renderer behavior:
and then I provide that renderer like this:
markedjs/marked#3291 made it so renderers created with
marked
v13+ code are incompatible with <v13 versions ofmarked
, and this plugin's version is quite old.Maybe a warning about compatible versions of
marked
would suffice? I suspect this plugin's version ofmarked
is being held back intentionally based on #70.An eventual major upgrade of this plugin might be nice, and I'm sure you had other items for its roadmap.
The text was updated successfully, but these errors were encountered: