Changes to ticket 162e66c9ea
By kkinnell on 2008-11-18 15:37:02. See also: artifact content, and ticket history
- Change comment to "It would be nice to have an inline variant of the <tt><verbatim></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><verb></tt> or <tt><v></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 <nohtml> would work. LaTeX has separate \begin{verbatim} and \verb tags - which argues for <verb>. But <nohtml> seems more html-like to me. And it better carries the meaning of the tag. <nohtml> does not select a constant-width font and make spacing significant like <pre> does. <nohtml> merely disables all <...> and &aaa; markup. Line wrapping still occurs normally. <nohtml> 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><code></code> in <code>.wiki</code> files, which is not <em>too</em> much of a pain, unless you have to get a '<code><</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>&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."