How to use the setFlavor function from showdown
Find comprehensive JavaScript showdown.setFlavor code examples handpicked from public code repositorys.
GitHub: BlueHatbRit/mdpdf
![BlueHatbRit profile picture](/BlueHatbRit.png?size=40)
46 47 48 49 50 51 52 53 54 55
styleBlock: utils.getStyleBlock(cssStyleSheets), }; } function parseMarkdownToHtml(markdown, convertEmojis, enableHighlight) { showdown.setFlavor('github'); const options = { prefixHeaderId: false, ghCompatibleHeaderId: true, extensions: []
showdown.Converter is the most popular function in showdown (687 examples)