0.1.4 • Published 14 days ago

@peaceroad/markown-figure-num-setting v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

markown-figure-num-setting

Set Figure number.

import setMarkdownFigureNum from '@peaceroad/setMarkdownFigureNum'

setMarkdownFigureNum(markdownCont)
[Input]
段落。段落。段落。

図 キャプション

![](image.jpg)

段落。段落。段落。

図 キャプション

![](image.jpg)

段落。段落。段落。

[Output]
段落。段落。段落。

図1 キャプション

![図1](image.jpg)

段落。段落。段落。

図2 キャプション

![図2](image.jpg)

段落。段落。段落。



[Input]
段落。段落。段落。

図1 キャプション

![](image.jpg)

段落。段落。段落。

図2 キャプション

![](image.jpg)

段落。段落。段落。

[Output]
段落。段落。段落。

図1 キャプション

![図1](image.jpg)

段落。段落。段落。

図2 キャプション

![図2](image.jpg)

段落。段落。段落。


[Input]
段落。段落。段落。

Figure. キャプション

![](image.jpg)

段落。段落。段落。

Figure. キャプション

![](image.jpg)

段落。段落。段落。

[Output]
段落。段落。段落。

Figure1. キャプション

![Figure 1](image.jpg)

段落。段落。段落。

Figure 2. キャプション

![Figure 2](image.jpg)

段落。段落。段落。

Option

noSetAlt

Input 図 キャプション

ALT-A

図 キャプション

ALT-B

Output 図1 キャプション

ALT-A

図2 キャプション

ALT-B

0.1.4

14 days ago

0.1.2

1 month ago

0.1.3

1 month ago

0.1.1

2 years ago

0.1.0

2 years ago