Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Mareš
Postal Owl
Commits
9a5c9b8f
Commit
9a5c9b8f
authored
May 26, 2021
by
Martin Mareš
Browse files
Enable the markdown-it-imsize extension
parent
7288ccc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
js/owl.js
View file @
9a5c9b8f
...
...
@@ -23,6 +23,9 @@ md.use(mhl, {
hljs
:
hljs
,
});
const
imsize
=
require
(
'
markdown-it-imsize
'
);
md
.
use
(
imsize
);
exports
.
render_md
=
function
()
{
console
.
log
(
'
Owl: Rendering Markdown
'
);
...
...
js/package.json
View file @
9a5c9b8f
...
...
@@ -10,6 +10,7 @@
"katex-fonts"
:
"katex/katex-fonts"
,
"markdown-it"
:
">=11.0"
,
"markdown-it-highlightjs"
:
">=3.4.0"
,
"markdown-it-imsize"
:
">=2.0.1"
,
"markdown-it-katexx"
:
">=3.2.0"
,
"browserify"
:
">=16.5"
,
"tinyify"
:
"browserify/tinyify"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment