Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusion/mdown-keyword
https://github.com/fusion/mdown-keyword
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fusion/mdown-keyword
- Owner: Fusion
- Created: 2012-12-13T07:44:33.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-13T07:45:16.000Z (about 12 years ago)
- Last Synced: 2024-10-16T08:19:03.158Z (2 months ago)
- Language: Python
- Size: 93.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
An add-on for mdown, allowing editors to mix rich text and markdown code.
It follows the same conventions as the mdown module.To install:
Open /settings.py
Add or edit:
To enable markdown rendering,
RICHTEXT_FILTER = 'mdown-keyword.filters.codehilite'
or if you do not need code hilighting
RICHTEXT_FILTER = 'mdown-keyword.filters.plain'
Add to INSTALLED_APPS
"mdown-keyword",
Optional:
You can install mdown or pagedown and use
python manage.py pygments_styles >
<your theme>/static/css/pygments.csspython manage.py collectstatic
To use:
In a blog post or page, entering the markdown interpreter
is done using [markdown] and exiting it using [/markdown]