Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/python-markdown/dingus
A simple site for testing Python-Markdown
https://github.com/python-markdown/dingus
Last synced: 2 months ago
JSON representation
A simple site for testing Python-Markdown
- Host: GitHub
- URL: https://github.com/python-markdown/dingus
- Owner: Python-Markdown
- Created: 2020-09-24T17:48:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T00:11:45.000Z (about 1 year ago)
- Last Synced: 2024-03-25T20:05:23.534Z (10 months ago)
- Language: Python
- Homepage: https://waylan.pythonanywhere.com/dingus
- Size: 22.5 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Markdown Dingus
A simple site for testing Python-Markdown.
Visit for a live demo.A backend which conforms to [Babelmark2]'s [API] is also provided at the URL: `/bablemark`.
[Babelmark2]: http://johnmacfarlane.net/babelmark2/
[API]: https://johnmacfarlane.net/babelmark2/faq.html#how-can-i-add-my-markdown-implementation-to-babelmark-2# Setup
To set up a dev environment, clone this repo and create a virtual environment. Then
install the dependencies.```bash
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt
```After a new release of Python-Markdown has been made, update with:
```bash
pip install -U markdown
```# Running the server
To run a local instance of the server for development and testing:
```bash
python dingus.py
```Then point your browser at .
To run a production instance you need to deploy a [bottle] server. For instance, to
configure a basic `wsgi` server, first ensure `dingus.py` is on your Python path. Then
create a `wsgi` configuration file as follows:```python
import bottle
import dingus
application = bottle.default_app()
```See the documentation for your specific server for instructions on pointing your server
at the `application` in your `wsgi` configuration file.[bottle]: https://bottlepy.org/docs/dev/deployment.html
# Copyright
[Markdown] and [Dingus] Copyright © 2004 [John Gruber]
Additions and Modifications to Dingus (extension support, etc.)
Copyright © 2012-2023 [Waylan Limberg][Markdown]: http://daringfireball.net/projects/markdown/
[Dingus]: http://daringfireball.net/projects/markdown/dingus
[John Gruber]: http://daringfireball.net/colophon/
[Waylan Limberg]: https://github.com/waylan