On 04/08/2011 03:00 PM, Aleksandar Ružičić wrote:
On Thu, Apr 7, 2011 at 7:27 PM, spir<denis.s...@gmail.com>  wrote:
how are we supposed to insert "code phrases" in the
flow of normal text?

<code></code>  tags should be used for that
(http://www.w3.org/TR/html401/struct/text.html#h-9.2.1).

Right, but IIUC unlike <pre> there is no guarantee for <code> contents not to be interpreted further. It's a "semantic hint" to the rendering engine (which is often used to perform syntax highlighting).

 But I know
nothing about ddoc so I don't know how to write macro that will use
<code>  instead of<pre>. Although I believe it's a piece of cake :)

Yes:
        Macros:
            CODE = <code>$0</code>

Denis
--
_________________
vita es estrany
spir.wikidot.com

Reply via email to