Skip to content

r74tech/wdpr

Repository files navigation

wdpr

Wikidot markup parser and renderer.

Packages

Package Description
@wdprlib/ast AST types for Wikidot markup
@wdprlib/parser Parser for Wikidot markup
@wdprlib/render HTML renderer for Wikidot markup
@wdprlib/runtime Client-side runtime for Wikidot markup

Installation

npm install @wdprlib/parser @wdprlib/render

Usage

import { parse } from '@wdprlib/parser'
import { renderToHtml } from '@wdprlib/render'

const ast = parse('**Hello** world')
const html = renderToHtml(ast)

Development

bun install
bun run build
bun test

Acknowledgments

This project is inspired by ftml and the original Wikidot Text_Wiki.

License

Available under the terms of the GNU Affero General Public License. See LICENSE.

About

Wikidot markup parser and renderer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages