mirror of https://github.com/status-im/codimd.git
Merge pull request #1271 from hackmdio/feature/support-markdown-it-ruby
Support markdown-it-ruby syntax
This commit is contained in:
commit
bc9fc7b483
|
@ -170,6 +170,7 @@
|
||||||
"jsonlint": "~1.6.2",
|
"jsonlint": "~1.6.2",
|
||||||
"less": "~3.9.0",
|
"less": "~3.9.0",
|
||||||
"less-loader": "~4.1.0",
|
"less-loader": "~4.1.0",
|
||||||
|
"markdown-it-ruby": "^0.1.1",
|
||||||
"mini-css-extract-plugin": "~0.4.1",
|
"mini-css-extract-plugin": "~0.4.1",
|
||||||
"mocha": "~5.2.0",
|
"mocha": "~5.2.0",
|
||||||
"mock-require": "~3.0.3",
|
"mock-require": "~3.0.3",
|
||||||
|
|
|
@ -435,6 +435,7 @@ Subscript: H~2~O
|
||||||
|
|
||||||
==Marked text==
|
==Marked text==
|
||||||
|
|
||||||
|
{ruby base|rubytext}
|
||||||
|
|
||||||
### Blockquotes
|
### Blockquotes
|
||||||
|
|
||||||
|
|
|
@ -1001,6 +1001,7 @@ md.use(require('markdown-it-mathjax')({
|
||||||
afterDisplayMath: '\\]</span>'
|
afterDisplayMath: '\\]</span>'
|
||||||
}))
|
}))
|
||||||
md.use(require('markdown-it-imsize'))
|
md.use(require('markdown-it-imsize'))
|
||||||
|
md.use(require('markdown-it-ruby'))
|
||||||
|
|
||||||
md.use(require('markdown-it-emoji'), {
|
md.use(require('markdown-it-emoji'), {
|
||||||
shortcuts: {}
|
shortcuts: {}
|
||||||
|
|
Loading…
Reference in New Issue