https://github.com/slimkit/markdown-it-plus-image
ThnkSNS+ image syntax plugin for markdown-it markdown parser.
https://github.com/slimkit/markdown-it-plus-image
markdown markdown-it markdown-it-plugin markdown-parser plus thinksns
Last synced: 11 days ago
JSON representation
ThnkSNS+ image syntax plugin for markdown-it markdown parser.
- Host: GitHub
- URL: https://github.com/slimkit/markdown-it-plus-image
- Owner: slimkit
- License: apache-2.0
- Created: 2017-09-12T07:06:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-12T08:43:39.000Z (over 8 years ago)
- Last Synced: 2025-02-03T19:05:34.721Z (about 1 year ago)
- Topics: markdown, markdown-it, markdown-it-plugin, markdown-parser, plus, thinksns
- Language: JavaScript
- Size: 38.1 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# markdown-it-plus-image
> ThnkSNS Plus image syntax plugin for markdown-it markdown parser.
**Required `markdown-it` >= `8.4`.**
Syntax is `@` tag.
## Install
npm, yarn
```shell
npm install markdown-it-plus-image --save
yarn add markdown-it-plus-image
```
## Use
```js
import markdownIt from 'markdown-it';
import plusImageSyntax from 'markdown-it-plus-image';
const basename = 'https://plus.io/api/v2/files/';
const md = markdownIt()
.use(plusImageSyntax, basename);
md.render(/* ... */);
```
## License
[Apache-2.0](LICENSE)