#49 ✓resolved
Will Larson

Allow line numbering in syntax snippets.

Reported by Will Larson | June 23rd, 2008 @ 10:04 AM | in 0.91: Code Cleanup

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

1. Allow line numbering.

2. Handle 4 indented syntax blocks more intelligently.

Comments and changes to this ticket

  • Will Larson

    Will Larson June 23rd, 2008 @ 06:14 PM

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

    Will Larson July 5th, 2008 @ 11:04 AM

    • 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

    @@

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A full featured and opinionated blogging app built using the Django web framework.

People watching this ticket

Pages