On 8/7/2013 8:08 AM, Jacob Peck wrote:
On 8/7/2013 2:26 AM, Steve Litt wrote:
On Tue, 06 Aug 2013 22:50:27 -0400
gatesphere <[email protected]> wrote:

Just to touch on the conversion thing - Pandoc is fantastic for that
sort of thing.  Also, markdown and rst are styled, or can be, because
the rendering converts them to html, which can have a css sheet
embedded in it.  I couldn't give you the code to do so, but it's very
possible.

-->Jake
Hi Jake,

I just want to make sure I understand you correctly. Are you saying
that in markdown or rst, I could create a style called "myemph", and
apply it to pieces of text, and when it gets rendered I'll have
something to the effect of <span class="myemph">text to be
emphasized</span>, and that if I have another style called
"shoutparagraph", I could apply that to whole paragraph type entities,
and it would render to <p class="shoutparagraph">lots of stuff</p>?

Thanks,

SteveT

Steve Litt                *  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance

Well, it looks like RST has support for that. Not markdown, I don't think, though a preprocessing extension could be fairly simple.

-->Jake
Correction, the python markdown package, which is what Leo uses for markdown rendering, has support for that style, calling them "admonitions". http://pythonhosted.org/Markdown/extensions/admonition.html

I need to make a markdown plugin for Leo, akin to the RST plugin(s), to support exports, etc. At the moment, I use a button to export html from my @md nodes, but that's not as clean as it could be.

-->Jake

--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to