[dokuwiki] Re: Should monospaced text be subject to typographical replacements?

  • From: Frank Thommen <list.dokuwiki@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 8 Jun 2016 12:13:44 +0200

On 06/07/2016 08:07 PM, Myron Turner wrote:

On 2016-06-07 12:37 PM, Frank Thommen wrote:
Additional point: Monospace font strings do - at least in my browser
(Firefox) - show up as "mini codeboxes". Therefore I would intuitively
assume, that the same rules as to the <code>-sections apply.

On the other hand I must admit, that I like the fact, that Wiki markup
is supported in monospace font strings (esp. italic ("//")).  This
allows to mark placeholders in codelines, which is currently -
unfortunately - not possible in <code> blocks.

Puzzling point: ''xyz'' generates <code>xyz</code> while
<code>xyz</code> generates <pre>xyz</pre> :-))

f.
The first <code> is HTML for the monospace font style, which is what
Dokuwiki's double single-spaced quotes ('') gives you; the second is the
Dokuwiki markup for a code block, which in HTML is <pre>.

I know that, but I still find it somehow funny :-)
f.


--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: