I was looking at
http://www.fossil-scm.org/index.html/wiki?name=Cookbook#source-hilight and
was wondering if it was possible to actually have the three-line change
mentioned there put into Fossil formally. For reference, quoting the
relevant section, the change would have to be:
*Fossil/src/info.c* function artifact_page
>
> if( zMime==0 ){
> @ <pre name="code" class="c">
> @ %h(blob_str(&content))
> @ </pre>
>
>
To my eyes this will change nothing if you don't put in the Javascript for
syntax highlighting (as in the default appearance will be the same) but if
you choose to add in the supplied Javascript you'll get syntax highlighting
without having to modify the Fossil source code.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users