1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

#595 - Resize an image with markdown

This commit is contained in:
Dang Van Thanh
2017-05-26 10:58:39 +07:00
parent 60a0293495
commit 824e288a80
3 changed files with 596 additions and 547 deletions

View File

@@ -57,6 +57,7 @@ md.use(math, {
return output return output
} }
}) })
md.use(require('markdown-it-imsize'))
md.use(require('markdown-it-footnote')) md.use(require('markdown-it-footnote'))
// Override task item // Override task item
md.block.ruler.at('paragraph', function (state, startLine/*, endLine */) { md.block.ruler.at('paragraph', function (state, startLine/*, endLine */) {

View File

@@ -102,6 +102,7 @@
"grunt-electron-installer": "^1.2.0", "grunt-electron-installer": "^1.2.0",
"history": "^1.17.0", "history": "^1.17.0",
"jsdom": "^9.4.2", "jsdom": "^9.4.2",
"markdown-it-imsize": "^2.0.1",
"merge-stream": "^1.0.0", "merge-stream": "^1.0.0",
"nib": "^1.1.0", "nib": "^1.1.0",
"react-color": "^2.2.2", "react-color": "^2.2.2",

1141
yarn.lock

File diff suppressed because it is too large Load Diff