Code Samples in Sites
5 answers - 824 bytes -

Has anyone investigated or worked on syntax highlighting of code
samples in site documentation? Compare the code examples
vs.
I used jhighlight to do the highlighting on the blog version:
I don't know if there are better
alternatives out there for the syntax highlighting library.
My point is that it would be really cool to have this highlighting for
documentation produced by the maven site plugin. Is there something
out there already like this? If not, what are the options for making
it happen someday? I'm still relatively new to actually using the
site plugin, and have only used APT so far. Which formats would it
be possible to add this to, and which are either not modifyable, or
not feasible targets? Should I just open a JIRA issue for this, or
what?
No.1 | | 40 bytes |
| 
Sorry, this example is in french :-)
No.2 | | 218 bytes |
| 
Can you share the site source? Did you just manually run jhighlight
and copy the html in?
-Stephen
9/23/06, Arnaud Bailly <abailly (AT) oqube (DOT) comwrote:
Sorry, this example is in french :-)
No.3 | | 248 bytes |
| 
"Stephen Duncan" <stephen.duncan (AT) gmail (DOT) comwrites:
Can you share the site source? Did you just manually run jhighlight
Sorry, I forgot that :-)
You will need that:
and copy the html in?
No. See above.
No.4 | | 504 bytes |
| 
Ahh. I was thinking that if someone wanted to implement this they'd
have to do somethig similar to this muse-java thing I saw on the
mailing list earlier
-Stephen
9/23/06, Arnaud Bailly <abailly (AT) oqube (DOT) comwrote:
"Stephen Duncan" <stephen.duncan (AT) gmail (DOT) comwrites:
Can you share the site source? Did you just manually run jhighlight
Sorry, I forgot that :-)
You will need that:
--
and copy the html in?
No. See above.
No.5 | | 329 bytes |
| 
"Stephen Duncan" <stephen.duncan (AT) gmail (DOT) comwrites:
Ahh. I was thinking that if someone wanted to implement this they'd
have to do somethig similar to this muse-java thing I saw on the
mailing list earlier
:-))
I posted an enquiry about literate programming for maven some days
ago.