On 26.01.2011 03:17, Nick Fagerlund wrote:
Yeah, so that's a thing where the HTML is low-level enough to be
annoying. Markdown (and whatever parser we're using) is smart enough
to handle it, though, so if you use a native Markdown code block
(indent all continuous lines four spaces or a hardtab, other soft-tab-
widths may or may not work depending on implementation), it'll escape
any characters that might get eaten by an HTML parser, including
additional indentation past that first tabstop. Same thing with
Markdown code spans, which are `wrapped in backticks.`

Indenting is a pain in the butt in browser textareas, so it's easier
to do it in a text editor and then paste.


Stackoverflow's markdown editor is pretty good in this regard, as it provides buttons and keyboard shortcuts for this.

The code is available at https://github.com/cky/wmd/network
See http://blog.stackoverflow.com/2009/01/wmd-editor-reverse-engineered/ for background.

Best Regards, David
--
dasz.at OG              Tel: +43 (0)664 2602670     Web: http://dasz.at
Klosterneuburg                                         UID: ATU64260999

       FB-Nr.: FN 309285 g          FB-Gericht: LG Korneuburg

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to