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
The recent-ish upgrade from marked 0.3.12 to 0.5.1 changed how markdown inside html is parsed.
I have html like this in my markdown files
## The series
<ul>
<li>[part one: basic rendering](/articles/react-internals-part-one-basic-rendering)</li>
<li>[part two: componentWillMount and componentDidMount](/articles/react-internals-part-two-componentWillMount-and-componentDidMount/)</li>
<li>[part three: basic updating](/articles/react-internals-part-three-basic-updating)</li>
<li>[part four: setState](/articles/react-internals-part-four-setState)</li>
<li>**part five: transactions** <- you are here</li>
</ul>
With marked 0.3.12, it would parse the embedded markdown into html. Now it leaves it as is. Arguably the new behavior is more correct, but this should constitute a breaking change IMO.
I worked around this by installing [email protected] locally and forcing wintersmith to use it (with yarn you can add resolutions to your package.json file, or with npm you need to use npm-force-resolutions package.
The text was updated successfully, but these errors were encountered:
The recent-ish upgrade from marked 0.3.12 to 0.5.1 changed how markdown inside html is parsed.
I have html like this in my markdown files
With marked 0.3.12, it would parse the embedded markdown into html. Now it leaves it as is. Arguably the new behavior is more correct, but this should constitute a breaking change IMO.
I worked around this by installing [email protected] locally and forcing wintersmith to use it (with yarn you can add
resolutions
to your package.json file, or with npm you need to usenpm-force-resolutions
package.The text was updated successfully, but these errors were encountered: