Wikidot markup parser and renderer.
| Package | Description |
|---|---|
| @wdprlib/ast | AST types for Wikidot markup |
| @wdprlib/parser | Parser for Wikidot markup |
| @wdprlib/render | HTML renderer for Wikidot markup |
| @wdprlib/decompiler | Decompiler for Wikidot markup |
| @wdprlib/runtime | Client-side runtime for Wikidot markup |
npm install @wdprlib/parser @wdprlib/renderWDPR Workers wiki starter is a D1-backed starter using Cloudflare Workers, the official Cloudflare Vite plugin, Hono, vanilla TypeScript, and R2-backed HTML blocks.
import { parse } from '@wdprlib/parser'
import { renderToHtml } from '@wdprlib/render'
const ast = parse('**Hello** world')
const html = renderToHtml(ast)bun install
bun run build
bun testThis project is inspired by ftml and the original Wikidot Text_Wiki.
Available under the terms of the GNU Affero General Public License. See LICENSE.