Create markdown files or snippets using deno 🦕
import { ListTypes, Markdown } from "https://deno.land/x/deno_markdown/mod.ts"
const markdown = new Markdown()
markdown
.header("My Header", 1)
.list(["Item 1", "Item 2"], ListTypes.Ordered)
.quote("My Quote")
console.log(markdown.content)
import { ListTypes, Markdown } from "https://deno.land/x/deno_markdown/mod.ts"
const markdown = new Markdown()
await markdown
.quote("My Quote")
.write("./examples/", "test")
Please see the files in the examples folder or take a look at the wiki
To run the tests run deno test -A
Any help is greatly welcome all you need to do it put in a PR with the changes and ensure that you have added a test(s) for the feature.
- Jason Hughes - Initial work - Github
This project is licensed under the MIT License - see the LICENSE.md file for details
- Titus Wormer - markdown-table