[Bug 615582] add syntax highlighting to the code in the documentation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 3 14:22:47 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=615582
  GStreamer | documentation | unspecified

--- Comment #2 from Jordi Burguet-Castell <jordi.burguet.castell at gmail.com> 2011-03-03 22:22:42 UTC ---
Not really, I had a quick look at the code for the site and couldn't figure out
where the code snippets appear.

But for example, if the code appeared in static web pages as "<!-- code2html
add -l c /home/weasel/foobar.c -->" like in:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <title>Foobar</title>
  </head>

  <body>
    <h1>Foobar</h1>

    Hello everybody!

<!-- code2html add -l c /home/weasel/foobar.c -->

    That's it.
  </body>
</html>

then by running "code2html -p thisfile.html" it would substitute the comment
line with the actual colored code. (see
http://www.palfrader.org/code2html/patching.html )

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list