0.1.4 • Published 1 year ago
@peaceroad/markown-figure-num-setting v0.1.4
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 キャプション