0.1.5 • Published 7 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months 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.5

7 months ago

0.1.4

1 year ago

0.1.2

2 years ago

0.1.3

2 years ago

0.1.1

4 years ago

0.1.0

4 years ago