fix(site-2): Remove marked warnings (#8574)

pull/8585/head
Puru Vijay 1 year ago committed by GitHub
parent 3b4ab35b4e
commit b9ea60cff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -212,6 +212,8 @@ const default_renderer = {
*/
export function transform(markdown, renderer = {}) {
marked.use({
mangle: false,
headerIds: false,
renderer: {
// we have to jump through these hoops because of marked's API design choices —
// options are global, and merged in confusing ways. You can't do e.g.

Loading…
Cancel
Save