Skip to content

Repository files navigation

Python-Markdown Dingus

A simple site for testing Python-Markdown implemented as a Cloudflare worker. Visit https://dingus.python-markdown.workers.dev for a live demo.

A backend which conforms to Babelmark3's API is also provided at the URL: /bablemark.

Running the Cloudflare development server

To run a local instance of the server for development and testing, clone this repo and run:

uv run pywrangler dev

Then point your browser at http://127.0.0.1:8787/.

For the Babelmark API, use http://127.0.0.1:8787/babelmark?text=hi.

Running a simple development server

If you don't need the Babelmark backend and only want to use the webpage frontend, you can run a simple server without any need for Cloudflare. The webpage is a single page app which uses Pyodide to import and run Python-Markdown within the browser locally.

You can run a simple static file server from the public/ directory.

cd public/
python -m http.server

Then point your browser at http://127.0.0.1:8000/.

Any other static file server should work as well. There is no need for or dependency on a local Python installation.

Copyright

Markdown and Dingus Copyright © 2004 John Gruber
Additions and Modifications to Dingus (extension support, etc.) Copyright © 2012-2026 Waylan Limberg

About

A simple site for testing Python-Markdown

Resources

Stars

4 stars

Watchers

1 watching

Forks

Contributors

Languages