https://github.com/noah227/markdown-it-img-src-render
https://github.com/noah227/markdown-it-img-src-render
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/noah227/markdown-it-img-src-render
- Owner: noah227
- Created: 2023-07-20T09:16:34.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T12:29:47.000Z (over 1 year ago)
- Last Synced: 2023-09-12T12:57:37.435Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# markdown-it-img-src-render
> Render img src the way you want.
## Example
``` ts
const md = require("markdown-it")()md.use(require("markdown-it-img-src-render", {
render(src: string){
return "file:///E:/Pictures/" + src
}
}))
```