You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2020. It is now read-only.
I'd like the syntax highlighting to be the same as the Julia documentation, which numbers highlighted as a pale blue, types as bold dark blue, etc. But I'm not getting this to show up correctly in my documentation.
A good example of how the syntax highlighting is showing up in my docs is shown at http://www.jzuhone.com/jt/users_guide/arrays.html (code at http://github.com/jzuhone/jt/blob/master/doc/source/users_guide/arrays.rst). Sometimes there is no syntax highlighting at all in some code blocks (e.g., everything is black). When it does, some of the highlighting that I see in the Julia documentation doesn't show up the same way (e.g., type names are not boldfaced). I've looked over the source for the Julia documentation to determine what I am missing, but have come up short.
I think it may just be that the julia lexer gets confused by the REPL prompt and printed output, since those are not syntactically correct Julia code. I think that there's a different lexer in Pygments called jlcon which you should use for console sessions.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm writing a Julia package (http://github.com/jzuhone/jt), and I have forked the JuliaDoc repository (http://github.com/jzuhone/JuliaDoc) to use this style with my documentation.
I'd like the syntax highlighting to be the same as the Julia documentation, which numbers highlighted as a pale blue, types as bold dark blue, etc. But I'm not getting this to show up correctly in my documentation.
A good example of how the syntax highlighting is showing up in my docs is shown at http://www.jzuhone.com/jt/users_guide/arrays.html (code at http://github.com/jzuhone/jt/blob/master/doc/source/users_guide/arrays.rst). Sometimes there is no syntax highlighting at all in some code blocks (e.g., everything is black). When it does, some of the highlighting that I see in the Julia documentation doesn't show up the same way (e.g., type names are not boldfaced). I've looked over the source for the Julia documentation to determine what I am missing, but have come up short.
Here is my conf.py, if its helps: http://github.com/jzuhone/jt/blob/master/doc/source/conf.py
The text was updated successfully, but these errors were encountered: