Merge pull request #1271 from hackmdio/feature/support-markdown-it-ruby

Support markdown-it-ruby syntax
This commit is contained in:
Max Wu 2019-09-08 00:49:02 +08:00 committed by GitHub
commit bc9fc7b483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -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",

View File

@ -435,6 +435,7 @@ Subscript: H~2~O
==Marked text== ==Marked text==
{ruby base|rubytext}
### Blockquotes ### Blockquotes

View File

@ -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: {}