Is there a short hand for code span?

45 views
Skip to first unread message

Topher

unread,
Mar 27, 2013, 2:05:17 PM3/27/13
to jad...@googlegroups.com
I have found myself typing this quite a bit

    | some normal text with some 
    code interspersed
    |  code

I have to add the   to prevent the word wrapper from eating the extra space.  Ultimately, I'm looking for the result

    some normal text with some <code>interspersed</code> code

Markdown does this with back ticks, like

    some normal text with some `interspersed` code

Which is really convenient.  Does Jade have some equivalent?

Thanks,
Topher.

Noah Kantrowitz

unread,
Mar 27, 2013, 2:08:15 PM3/27/13
to jad...@googlegroups.com
You can just embed HTML in your text, or use the :markdown filter.

--Noah

Topher

unread,
Mar 30, 2013, 5:10:38 PM3/30/13
to jad...@googlegroups.com
Nice!  I hadn't thought of that.  Thank you.
Reply all
Reply to author
Forward
0 new messages