Menu

Colon and indent on following line

Help
Roger
2004-10-04
2012-10-11
  • Roger

    Roger - 2004-10-04

    I've noticed that when I use a colon at the end of a line, and indent the next line with a empty line inbetween, the whitespace between the two lines disappears. If I remove the indent (one space), the whitespace appears normally. If I use a dot instead of the colon, it works normally as well.

    I don't know if this is expected behavior, but I certainly didn't expect it to work like this.

     
    • Dan F

      Dan F - 2004-10-04

      Roger,

      I believe a line ending in a colon then an indented line below is the syntax for a "term-definition list."

      See "Lists" in the help text at the bottom of any "edit" page, or for example http://phpwiki.sourceforge.net/phpwiki/TextFormattingRules.

      Dan

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.