Update marked to 4.2.12 by dzsibi · Pull Request #1993 · docsifyjs/docsify

Summary

Updates marked to the latest version. There were a few pull requests by @snyk-bot (#1505, #1562, #1724, #1903, #1920), but due to some breaking changes in marked 4.0.0, it failed to build. I fixed the issues and all tests are green. I couldn't find any other breaking changes in terms of API and output, but since this is a jump of over 2 years worth of marked releases, it is possible that this will break something somewhere.

What kind of change does this PR introduce?

Other

Dependency upgrade

For any code change,

  • Related documentation has been updated if needed
  • Related tests have been updated or tests have been added

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

#1885 is about the ancient dependency itself. #1874 provided a workaround (inject a newer version), but was likely due to the new extension type not working with the old marked version.

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE