Follow-up Comment #24, task #2874 (project savane):

Currently, I've implemented #verbatim# to simply disable the wiki markup
formatting, without changing anything else.

In my opinion, if we want to have the whitespace treated as being
significant, we need something like the <pre> tag in HTML.

Mathieu would like the #verbatim# tag to respect whitespace, so we're
currently discussing how to solve this best. My last proposal has been to
change the meaning of #verbatim# to behave exactly as Mathieu wants, and
adding a new tag which does only disable the markup (thus replacing the
current #verbatim# tag).

Here is an example (Note that I've changed the space character to the
underscore, otherwise noone would notice the difference in the HTML
browser):

#verbatim#
_ _ Two spaces at the beginning of a *line*
#/verbatim#

... will result in this HTML output:

<pre>
_ _ Two spaces at the beginning of a *line*
</pre>

(Starts a new block with <pre>, switches the font to monospace, respects
whitespace, disables the wiki markup)

On the other hand, this example here:

#nomarkup#
_ _ Two spaces at the beginning of a *line*
#/nomarkup#

... will result in this HTML output:

_ _ Two spaces at the beginning of a *line*

(Just disables the wiki markup. No changes to the font family, whitespace
will be in the HTML source, but not displayed in the browser, no new block
gets started, but the output is appended to the current block, which may be a
paragraph, list, etc.)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/task/?func=detailitem&item_id=2874>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
Savane-dev@gna.org
https://mail.gna.org/listinfo/savane-dev

Reply via email to