I was running pygmentize to my terminal and after your comment I have 
realized that some of the output is underlined so I guess that means 
pygmentize believes it is invalid syntax?

Either way, why does sphinx just fail to render the output at all if the 
highlighter trips over some syntax? Is there any message where a user can 
see the reason why his code is not highlighting? I spent ages on this 
problem thinking I had an environment problem. The code section is not even 
being line numbered at all. More particularly, can a user tell sphinx to 
ignore syntax errors and render (as best it can) anyway? I imagine there 
will always be different language dialects which a general purpose 
highlighter will not completely accommodate.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/lCC6tbCWCyAJ.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to