Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Allow line numbering in syntax snippets.

#49

Syntax highlighting can be improved in an additional number of ways:

1. Allow line numbering.

2. Handle 4 indented syntax blocks more intelligently.

Reported by Will Larson · June 23rd, 2008 @ 10:04 AM

State: resolved
Milestone: 0.91: Code Cleanup
Assigned to: Will Larson Will Larson

Activity

  1. Will Larson
    Will Larson
    • Title changed from Improve syntax highlighting to Allow line numbering in syntax snippets.
    • State changed from new to open

    June 23rd, 2008 @ 06:14 PM

  2. Will Larson
    Will Larson
    • State changed from open to resolved
    • Tag cleared.

    This is now supported. The formating of the table line numbering is not quite right (the line numbers are a few pixels, maybe four?, below the line they are numbering), but the inlined is correct (although, not copy-paste friendly, arg).

    Syntax is:

    @@ python table

    use the table line numbering for this

    @@

    @@ python inline

    use the inlined numbering

    @@

    @@ python

    this still works too

    @@

    July 5th, 2008 @ 11:04 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.