I want to use fixed font like a code block but also use italics and bold at same time. For example in HTML: <tt>$ <b>mail -u <i>user</i></b></tt> What is the best way to do this in markdown, especially if I have several lines of content that needs to be spaced out correctly? Thanks Jeremy C. Reed
* Jeremy C. Reed <reed at reedmedia.net> [2006-12-30 20:15]:> I want to use fixed font like a code block but also use italics > and bold at same time. > > For example in HTML: > > <tt>$ <b>mail -u <i>user</i></b></tt> > > What is the best way to do this in markdown, especially if I > have several lines of content that needs to be spaced out > correctly?Use HTML tags. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>
Le 2006-12-30 ? 14:13, Jeremy C. Reed a ?crit :> I want to use fixed font like a code block but also use italics and > bold > at same time. > > For example in HTML: > > <tt>$ <b>mail -u <i>user</i></b></tt> > > What is the best way to do this in markdown, especially if I have > several > lines of content that needs to be spaced out correctly?The only way is to write these parts in HTML yourself, as you did above, and insert them in the Markdown document. Everything inside a code block or a code span is taken literally by Markdown, no exception, so you can't add any tag inside them. Michel Fortin michel.fortin at michelf.com http://www.michelf.com/
On 12/30/06, Jeremy C. Reed <reed at reedmedia.net> wrote:> I want to use fixed font like a code block but also use italics and bold > at same time. > > For example in HTML: > > <tt>$ <b>mail -u <i>user</i></b></tt>Just an idea that strucked me. If we had a syntax for creating SPANSs, he could write: ==And now type this: {$ **mail -u _user_**}{in} and then type {$ cd .. }{1} {1}: style=font-family:fixed == -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi
Andrea Censi wrote:> Just an idea that strucked me. > If we had a syntax for creating SPANSs, he could write: > > ==> And now type this: {$ **mail -u _user_**}{in} and then type > {$ cd .. }{1} > > {1}: style=font-family:fixed > ==-1 This is ugly as hell.