savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[savannah-help-public] [sr #109696] markdown verbatim (for code snippets


From: Peter Liscovius
Subject: [savannah-help-public] [sr #109696] markdown verbatim (for code snippets) does not respect white-space
Date: Wed, 19 Jun 2019 10:36:24 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0

Follow-up Comment #4, sr #109696 (project administration):

Hello Ineiev,

this is not solved yet.

It converts tabs to   too.

As the verbatim section is for nonmodifying code sections that can be copied
simple by selection areas with mouse for instance, I really suggest using the
pre tag and only cleanup for output with something like htmlspecialchars().

Using the pre tag here is better than p paragraph tag (semantic and by default
css of web browsers)

Please do not fiddle with the content inside the verbatim tag if possible.

As I suggested earlier, layout breaks by nasty long or height code sections
can be tamed by CSS.

If this is not convincing enough, take a look at other webbased trackers.


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/support/?109696>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]