Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   inline-code, posted by Yoshio Imai on Tue Jun 8 15:48:06 2010 
    icon2.gif   Re: inline-code, posted by Stefan Ritt on Tue Jun 8 16:33:07 2010 
Message ID: 66842     Entry time: Tue Jun 8 16:33:07 2010     In reply to: 66841
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Request  OS: All  ELOG Version: 2.7.8 
Subject: Re: inline-code 

Yoshio Imai wrote:
Sometimes, it is annoying that the
[code]
-Tag creates a line break, because there are situations where verbatim text inside the regular text flow is desirable (just like here). I would like to request an additional elcode-tag
[ilcode]
(in-line code) which translates to
<code>
instead of
<pre>
.

Yoshio


The [code] tags produce <pre>...</pre> tags for multi-line listings, where several spaces should not be dropped to keep the formatting of some source code for example. I also want it sometimes in a single line, so what I do is to use a [FONT=Courier New] tag, which produces output very similar to <code>, but without line breaks.
ELOG V3.1.5-fe60aaf