mirror of https://github.com/status-im/codimd.git
Add back missing support of image size in 0.4.2
This commit is contained in:
parent
d742b332eb
commit
56b4739e6d
|
@ -753,6 +753,7 @@ md.use(window.markdownitIns);
|
||||||
md.use(window.markdownitSub);
|
md.use(window.markdownitSub);
|
||||||
md.use(window.markdownitSup);
|
md.use(window.markdownitSup);
|
||||||
md.use(window.markdownitMathjax);
|
md.use(window.markdownitMathjax);
|
||||||
|
md.use(window.markdownitImsize);
|
||||||
function renderContainer(tokens, idx, options, env, self) {
|
function renderContainer(tokens, idx, options, env, self) {
|
||||||
tokens[idx].attrJoin('role', 'alert');
|
tokens[idx].attrJoin('role', 'alert');
|
||||||
tokens[idx].attrJoin('class', 'alert');
|
tokens[idx].attrJoin('class', 'alert');
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,7 @@
|
||||||
<script src="<%- url %>/vendor/markdown-it-mathjax.js" defer></script>
|
<script src="<%- url %>/vendor/markdown-it-mathjax.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
|
<script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
|
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
|
||||||
|
<script src="<%- url %>/vendor/markdown-it-imsize.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script>
|
<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script>
|
<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
||||||
|
|
|
@ -104,6 +104,7 @@
|
||||||
<script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
|
<script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
|
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
||||||
|
<script src="<%- url %>/vendor/markdown-it-imsize.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/highlightjs/highlight.pack.min.js" defer></script>
|
<script src="<%- url %>/vendor/highlightjs/highlight.pack.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/js.cookie.js" defer></script>
|
<script src="<%- url %>/vendor/js.cookie.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
|
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
|
||||||
|
|
Loading…
Reference in New Issue