Skip to content

Commit bc9fc7b

Browse files
authored
Merge pull request #1271 from hackmdio/feature/support-markdown-it-ruby
Support markdown-it-ruby syntax
2 parents 91cff6e + 01fa05f commit bc9fc7b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@
170170
"jsonlint": "~1.6.2",
171171
"less": "~3.9.0",
172172
"less-loader": "~4.1.0",
173+
"markdown-it-ruby": "^0.1.1",
173174
"mini-css-extract-plugin": "~0.4.1",
174175
"mocha": "~5.2.0",
175176
"mock-require": "~3.0.3",

public/docs/features.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ Subscript: H~2~O
435435

436436
==Marked text==
437437

438+
{ruby base|rubytext}
438439

439440
### Blockquotes
440441

public/js/extra.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ md.use(require('markdown-it-mathjax')({
10011001
afterDisplayMath: '\\]</span>'
10021002
}))
10031003
md.use(require('markdown-it-imsize'))
1004+
md.use(require('markdown-it-ruby'))
10041005

10051006
md.use(require('markdown-it-emoji'), {
10061007
shortcuts: {}

0 commit comments

Comments
 (0)