ParseImgDimensions for Showdown

This commit is contained in:
Cohee 2023-08-01 16:24:54 +03:00
parent e5f3a70860
commit c5d87e4808
1 changed files with 2 additions and 0 deletions

View File

@ -608,6 +608,7 @@ function reloadMarkdownProcessor(render_formulas = false) {
converter = new showdown.Converter({ converter = new showdown.Converter({
emoji: "true", emoji: "true",
underline: "true", underline: "true",
parseImgDimensions: "true",
extensions: [ extensions: [
showdownKatex( showdownKatex(
{ {
@ -623,6 +624,7 @@ function reloadMarkdownProcessor(render_formulas = false) {
converter = new showdown.Converter({ converter = new showdown.Converter({
emoji: "true", emoji: "true",
literalMidWordUnderscores: "true", literalMidWordUnderscores: "true",
parseImgDimensions: "true",
}); });
} }