at2008 / wagtailmarkdownblock

Wagtail Markdown Block provides Markdown editing and display blocks in Wagtail.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wagtail Markdown Block

PLEASE NOTE: Future development on this package will be limited, since most of the features are now included in the new Draftail editor available in Wagtail. Thank you to everyone who contributed!

Markdown blocks for Wagtail Streamfields.

This Django app uses the SimpleMDE Markdown editor in the Wagtail Admin and the website.

Example Usage

from wagtailmarkdownblock.blocks import MarkdownBlock

class ContentStreamBlock(StreamBlock):
    paragraph = RichTextBlock()
    heading = TextBlock()
    code = MarkdownBlock()

Contributors

About

Wagtail Markdown Block provides Markdown editing and display blocks in Wagtail.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 90.2%Language:JavaScript 9.8%