Created
February 5, 2021 12:03
-
-
Save stefandobre/92c07f6412372642afcc13f0d8d251c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const marked = requireModule('marked'); | |
// library-specific options | |
marked.setOptions({ | |
headerIds: false | |
}); | |
apex.env.P5_HTML = marked(apex.env.P5_MARKDOWN); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment