ParseImgDimensions for Showdown
This commit is contained in:
parent
e5f3a70860
commit
c5d87e4808
|
@ -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",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue