Skip to content
Markdown parser written in TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.editorconfig
.gitattributes
.gitignore
LICENSE
README.md
package.json
tsconfig.json

README.md

WorfDown

Markdown parser written in TypeScript.

It's designed to be as minimal as possible, for constrained use-cases where a full Markdown parser would be inappropriate.

Example

import worfdown from 'worfdown';

const text = `
Some text -- Some more --strike text-- __underline__ ''italic'' **bold**

   var x = 5;
   console.log(x);
 
* list item
** Subitem
* list item 2

> some text
`;
// Pass a Markdown string, get back an HTML string.
const html = worfdown(text);
console.log(html);
You can’t perform that action at this time.