Remove marked warnings

pull/8574/head
Puru Vijay 3 years ago
parent 3b4ab35b4e
commit 25f87c6993

@ -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