v0.2
Generate markdown files with ease π¦
Repository
Current version released
4 years ago
Versions
Deno-Markdown
Create markdown files or snippets using deno π¦
Usage
Basic example
import { Markdown, ListTypes } from 'https://deno.land/x/deno_markdown/mod.ts';
let markdown = new Markdown();
markdown
.header('My Header', 1)
.list(['Item 1', 'Item 2'], ListTypes.Ordered)
.quote('My Quote');
console.log(markdown.content);
Write out to a markdown file
import { Markdown, ListTypes } from 'https://deno.land/x/deno_markdown/mod.ts';
let markdown = new Markdown();
markdown
.quote('My Quote')
.write('./examples/', 'test');
Further examples
Please see the files in the examples folder;
Running the tests
To run the tests run deno test -A
Contributing
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.
Authors
- Jason Hughes - Initial work - Github
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgements
- Titus Wormer - markdown-table