Support creole
Creole is an important formatting tag system (http://en.wikipedia.org/wiki/Creole_(markup)). Files ending in .creole are more and more frequent today. Its possibilities are similar to those a MMarkdown, but it seems more intuitive and, hence, easy to remember, while really powerful.
Do you have any plans to support it?
Thanks in advance, especially for your really excellent
Marked.
Juan F.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 16 Oct, 2012 10:00 PM
Probably not directly, but you can use it right now. Just download creoleparser, unzip it and run
python setup.py install
from its base folder. Then you can put this into a file calledmarked_creole.py
Run
chmod a+x marked_creole.py
and then put the path to the processor in the Custom Processor field in Marked. I tested it, it works great.2 Posted by mmacho on 16 Oct, 2012 10:26 PM
Thanks Brett for the solution and your really fast answer. I observe two things: it is much slower, and it displays empty white renderings with some .md's If you unmark the "Custom Markdown Processor" it renders everything perfectly as usual.
Support Staff 3 Posted by Brett on 16 Oct, 2012 10:37 PM
It's Python based as opposed to the native C library that renders MultiMarkdown in Marked. There is no creole renderer that will work that way yet.
And you can't have both markdown and creole render at the same time. You either have a custom processor and use creole, or you use the built-in processor and use Markdown. I'm working on a way to set the processor per-file, but it's not ready yet.
4 Posted by mmacho on 16 Oct, 2012 11:10 PM
Understood, so I supposed…
Thanks Brett.
El 17/10/2012, a las 00:37, "Brett" <[email blocked]> escribió:
Brett closed this discussion on 08 Nov, 2012 05:25 PM.