Markdown support

277 views
Skip to first unread message

Aleksey @soar Smyrnov

unread,
Jun 8, 2016, 4:54:14 PM6/8/16
to Wagtail support
I think Markdown is very popular language among developers. It is simple, easy and gives full control of generated text. I really like it, it is better than any WYSIWYG-editors.

And it is very simple to implement. I've found solution - https://github.com/torchbox/wagtail-markdown - but it looks like too clumsy. I've even implemented my own light version of plugin - https://gist.github.com/soar/2fdc7bcefd47d85be8c14f9febb89df8 - with only two files, one for field and one for render via template tag.

But, my question is - what about official support? Why don't include it out-of-the-box as alternative for RichText/Hallo.js?

Tim Allen

unread,
Jun 8, 2016, 6:42:23 PM6/8/16
to Wagtail support
Howdy Aleksey, I was wondering the same thing a while back, and collected and/or made a few block types, including Markdown, ReSTructured Text, and Code Syntax Highlighting via Pygments. You can see them here: https://github.com/FlipperPA/wagtail-components

However, I think they're best kept separate because they'd introduce more library dependencies to Wagtail. When I asked myself if 90% of Wagtail's users would use these block types, my answer was no, and I think that's a good litmus test for whether or not to include something in core Wagtail.

Just my two cents,

Tim
Reply all
Reply to author
Forward
0 new messages