Mercurial > public > src > rhodecode
diff pylons_app/templates/files/files_source.html @ 250:be4621c6de58
Pygments code coloring rewrite, annotation was moved to vcs whitch had much better lib for that. Fixed code recognition based on mimetypes of filenodes, for better coloring.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 04 Jun 2010 00:23:55 +0200 |
parents | e5a25c57c97f |
children | c3661cf28bec |
line wrap: on
line diff
--- a/pylons_app/templates/files/files_source.html Thu Jun 03 21:13:05 2010 +0200 +++ b/pylons_app/templates/files/files_source.html Fri Jun 04 00:23:55 2010 +0200 @@ -23,6 +23,6 @@ <div class="commit" style="font-size:70%">"${c.file_msg}"</div> </div> <div class="code-body"> - ${h.pygmentize(c.files_list.content,linenos=True,anchorlinenos=True,cssclass="code-highlight")} + ${h.pygmentize(c.files_list,linenos=True,anchorlinenos=True,lineanchors='S',cssclass="code-highlight")} </div> </div> \ No newline at end of file