import { Markdown } from "https://deno.land/x/ranking@0.3.5/deps.ts";
Create Markdown content and files.
Methods
codeBlock(code: string, language?: string): this
Adds a code block to the content
header(text: string, value: number): this
Adds a markdown header string from 1-6 to the content
horizontalRule(style?: string): this
Adds a markdown horizontal rule
list(): this
textArray: string[],
listType?: ListTypes,
character?: string | undefined,
subList?: boolean,
Adds an markdown list either ordered or unordered to the content
paragraph(text: string): this
Adds a paragraph of text to the content
quote(text: string, nested?: boolean): this
Adds a markdown quote to the content
table(tableContent: any, options?: any): this
Adds a markdown table to the content
taskList(tasks: string[]): this
Adds a task list to the content
write()
path: string,
fileName: string,
content?: string,
Writes the content to a markdown file you do not need to supply a .md