Hi,

I just ran into a small problem. When using literalinclude to include
only a section of PHP, then the PHP magic-tag ("<?") is missing and
Pygments won't colorize the output. As a general solution I think it
might be useful to allow appending/prepending some text. Even if it's
only to pre/append an ellipsis to show that there's more. Here's a
patch that does it for me. It only let's you pre/append one line but
for now, this does it for me. What to you think?

http://pastebin.com/f25f0b7c5

The diff header should give you all the info you need ;)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to