Skip to content

r74tech/wdpr

Repository files navigation

wdpr

Wikidot markup parser and renderer.

Packages

Package Description
@wdprlib/ast AST type definitions
@wdprlib/parser Wikidot markup parser
@wdprlib/render HTML renderer
@wdprlib/runtime Client-side runtime for interactive elements

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.

Resources

License

Stars

Watchers

Forks

Languages