Home Reference Source Test

References

summary
public

Commad line options.

public

convert the HTML element to Markdown.

public

Modes of markdown parse and output.

public

Value of replace link prefix.

public

bin

summary
public

F CLI(argv: String[], stdout: WritableStream): Promise

Entry point of the CLI.

lib

summary
public

C Logger

Display the log message for the stdout.

public

C Util

Provides utility function.

public

F Comment(src: Object[]): String

Create a comment list.

public

F Convert(post: String, modes: Modes): String

Convert the WordPress's post to Markdown. Design and implementation was in reference to the npm to-markdown.

public

F async ImageLinkReplacer(markdown: String, dir: String, basename: String, logger: Logger): Promise

Download the linked image from Markdown and rewrite the link.

public

F ConvertShortCode(text: *): String

Convert the WordPress's shotcode to Markdown.

public

F async WordPressXmlToMarkdown(src: String, dest: String, options: CLIOptions): Promise

Conver WordPress XML file to Markdown files.

public

Convert the HTML DOM Node to GFM (GitHub Flavored Markdown) text.

public

Convert the HTML DOM Node to Markdown text.

Directories