remark-image-desc

0.0.8 • Public • Published

remark image desc

This project can convert markdown img title into html description text.

此项目可以把 markdown 的 img title 转为 html 描述文字。

like:

![alt](/imgs/demo.jpg "title")

change into

<p>
  <img src="/imgs/demo.jpg" alt="alt" title="title">
  <span class="img-desc">title</span>
</p>

There will be an extra html tag to display the title content

将会多出来一个 html 标签,展示 title 内容

Package Sidebar

Install

npm i remark-image-desc

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

2.39 kB

Total Files

4

Last publish

Collaborators

  • yaavi