Skip to content
Snippets Groups Projects
Commit 9a8486e0 authored by tatsy's avatar tatsy
Browse files

Merge remote-tracking branch 'remotes/origin/master'

parents 4edfe1e0 9e70e350
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ will fill the width and height fields automatically if the specified image path
Therefore,
```js
```md
![test](image.png)
```
......@@ -66,7 +66,7 @@ where ```image.png``` is a valid path and its size is 200 x 200.
bower install markdown-it-imsize
```
Script for using ```markdown-it-imsize``` with RequireJS is as follows.
Script for using ```markdown-it-imsize``` with RequireJS is like,
```js
require(['require', 'MarkdownIt', 'MarkdownItImsize'], function(require) {
......@@ -77,7 +77,6 @@ require(['require', 'MarkdownIt', 'MarkdownItImsize'], function(require) {
}).use(require('MarkdownItImsize'));
var rendered = md.render("![test](test.jpg =100x)");
console.log(rendered);
document.getElementById('image-box').innerHTML = rendered;
});
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment