Ticket Change Details
Not logged in

Changes to ticket 162e66c9ea

By kkinnell on 2008-11-18 15:37:02. See also: artifact content, and ticket history

    1. Change comment to "It would be nice to have an inline variant of the <tt>&lt;verbatim&gt;</tt> tag. Sometimes I would like to switch of wiki and html rendering within plain floating text (like e.g. the verbatim tag in the sentence above). So it would be nice to have a <tt>&lt;verb&gt;</tt> or <tt>&lt;v&gt;</tt> tag, that could be used in floating text. <hr><i>drh added on 2008-07-24 16:16:31:</i><br> I was thinking the same thing as I was working the previous ticket on this subject. Perhaps &lt;nohtml&gt; would work. LaTeX has separate \begin{verbatim} and \verb tags - which argues for &lt;verb&gt;. But &lt;nohtml&gt; seems more html-like to me. And it better carries the meaning of the tag. &lt;nohtml&gt; does not select a constant-width font and make spacing significant like &lt;pre&gt; does. &lt;nohtml&gt; merely disables all &lt;...&gt; and &amp;aaa; markup. Line wrapping still occurs normally. &lt;nohtml&gt; certainly would have made typing the previous paragraph easier! <hr><i>stephan added on 2008-11-18 08:13:50:</i><br> Personally i would prefer that we go more towards compatibility with Google Code's wiki, in which case the "verbatim" or "code" markup is: {{{ your code goes here }}} Of the wikis i've worked with, this one is (to me) the lest intrusive, easiest to type, and easiest to spot when editing. <hr><i>kkinnell added on 2008-11-18 15:36:11:</i><br> I've been using <code>&lt;code&gt;</code> in <code>.wiki</code> files, which is not <em>too</em> much of a pain, unless you have to get a '<code>&lt;</code>' in there. It's not really verbatim, but usually the effect I'm going for is a monospaced font. If an inline verbatim tag would guarantee a best effort to keep a <b>short</b> phrase all on one line, it would save putting a few <code>&amp;nbsp;</code> characters. Don't forget that any sentence that starts "Wouldn't it be convenient if..." produces an aroma that the horrible <a href="http://www.catb.org/jargon/html/F/feeping-creaturism.html">feeping creatures</a> can smell a continent away. heh."