Skip to main content

Lists, spaces and tabs

Completed

Comments

4 comments

  • Fletcher Penney

    This trick simply takes advantage of elastic tabstops in the editor to indent long list lines.  By using a tab between the list marker and the list item text, wrapped lines align with the top line,

     

    This isn't part of the MultiMarkdown syntax, because it is purely cosmetic.  There is no functional difference between the two.

    0
  • macosxguru

    Thank you for the explanation. I like the look of the bullet/number list indented, so will continue to use the tab after the period trick.

    Can this be the default behavior? Both iA Writer and Ulysses have that as a part of the syntax definition style sheet those programs use to display lists.

    macosxguru

    0
  • Fletcher Penney

    It is the default behavior in that if you use tabs and have elastic tabstops enabled, this is what you see.  If you prefer not to see wrapping like this, use spaces or disable elastic tabstops.

    Tabs are handled differently in nvUltra because of the elastic tabstop functionality, which makes *much* more sense than fixed spacing for tabs (e.g. every 1/2 inch).

    The other advantage of using tabs is that the initial text will align even in editors that don't support this trick, whereas they won't if you use spaces (in enumerated lists anyway).  

    0
  • macosxguru

    Cool. Thanks for the explanation.

    macosxguru

    0

Please sign in to leave a comment.

Powered by Zendesk