@peaceroad/markown-figure-num-setting
v0.1.5
Published
Set figure number for p7d-markdown-it-p-captions.
Downloads
5
Readme
markown-figure-num-setting
Set Figure number.
import setMarkdownFigureNum from '@peaceroad/setMarkdownFigureNum'
setMarkdownFigureNum(markdownCont)[Input]
段落。段落。段落。
図 キャプション

段落。段落。段落。
図 キャプション

段落。段落。段落。
[Output]
段落。段落。段落。
図1 キャプション

段落。段落。段落。
図2 キャプション

段落。段落。段落。
[Input]
段落。段落。段落。
図1 キャプション

段落。段落。段落。
図2 キャプション

段落。段落。段落。
[Output]
段落。段落。段落。
図1 キャプション

段落。段落。段落。
図2 キャプション

段落。段落。段落。
[Input]
段落。段落。段落。
Figure. キャプション

段落。段落。段落。
Figure. キャプション

段落。段落。段落。
[Output]
段落。段落。段落。
Figure1. キャプション

段落。段落。段落。
Figure 2. キャプション

段落。段落。段落。Option
noSetAlt
[Input] 図 キャプション

図 キャプション

[Output] 図1 キャプション

図2 キャプション

