CLI
parseArgv
input
output
report
noGFM
noMELink
withMetadata
withImageDownload
withComment
replaceLinkPrefix
Comment
convertBody
Normal
convertMarkdown
Tree
Empty
createCommentTree
Create tree
parse
Single comment
Converter
convert: Markdown
Plain text (TEXT_NODE), Keep a whitespace and line break
<em>, <i>
...
<blockquote>
Block Element
Otherwise
convert: GitHub Flavored Markdown
<del>, <s>, <strike>
<th>
<td>
<th>, <td>
<thead><th>, <tbody><td>
ImageLinkReplacer
parseImageLink
Parse
replaceLinks
Replace links
ConvertShortCode
[code]
[code lang="lang"]
[lang]
trimLineBreak
Util
escapeRegExp
Escape
existsSync
Exists
Not exists
formatDate
Default YYYY-MM-DD hh:mm:ss.SSS
Hyphen YYYY-MM-DD-hh-mm-ss
No zero-padding YYYY/M/D h:m:s
NaN
uniquePathWithSequentialNumber
Unique path: directory
Unique path: file
Original path (not exists)
WordPressXmlToMarkdown
replaceLinkURL
"/"
createExcerpt
createMetadataHeader
Post page
Single page