Add HTML extension (#2082)

* Add html extension

* Fix flow error

* Update documentation

* Add tests

* Call buildA11yStrings for "html" node

* Throw ParseError when parsing \htmlData fails

* Improve documentation

* Add a screenshotter test

* Add dummy screenshot

* Update screenshots
This commit is contained in:
ylemkimon
2019-12-02 07:49:28 +09:00
committed by Kevin Barabash
parent 9d8195c793
commit e5333ad04d
17 changed files with 408 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ module.exports = function(md, options) {
function renderKatex(source, displayMode) {
return katex.renderToString(source,
{displayMode, throwOnError: false, trust: true});
{displayMode, throwOnError: false, trust: true, strict: false});
}
/**