diff --git a/WebHostLib/static/assets/faq.js b/WebHostLib/static/assets/faq.js index 57b2a8c6..fa5d9bd8 100644 --- a/WebHostLib/static/assets/faq.js +++ b/WebHostLib/static/assets/faq.js @@ -19,6 +19,10 @@ window.addEventListener('load', () => { ajax.send(); }).then((results) => { // Populate page with HTML generated from markdown + showdown.setOption('tables', true); + showdown.setOption('strikethrough', true); + showdown.setOption('simpleLineBreaks', true); + showdown.setOption('literalMidWordUnderscores', true); tutorialWrapper.innerHTML += (new showdown.Converter()).makeHtml(results); adjustHeaderWidth(); diff --git a/WebHostLib/static/assets/tutorial.js b/WebHostLib/static/assets/tutorial.js index edc40968..de5bc308 100644 --- a/WebHostLib/static/assets/tutorial.js +++ b/WebHostLib/static/assets/tutorial.js @@ -20,6 +20,10 @@ window.addEventListener('load', () => { ajax.send(); }).then((results) => { // Populate page with HTML generated from markdown + showdown.setOption('tables', true); + showdown.setOption('strikethrough', true); + showdown.setOption('simpleLineBreaks', true); + showdown.setOption('literalMidWordUnderscores', true); tutorialWrapper.innerHTML += (new showdown.Converter()).makeHtml(results); adjustHeaderWidth();