Ticket #959 (new enhancement)

Opened 14 years ago

Last modified 14 years ago

better blog rendering for code examples

Reported by: tziade Owned by: trac
Priority: P3 Milestone: CPS 3.5.7
Component: CPSBlog Version: TRUNK
Severity: normal Keywords:
Cc:

Description

using,  http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52298

we could add code parsing capabilities to CPSBlog, to colorize code examples

when a blogger inserts a <code langage="python">...</code> tag,

CPSBLog uses the parser to render it colorized on the web page

and leave it clean on the blog rss feeds

a plugin system can be settled, so we could actually implement other langages,

<code langage="css">..</code> <code langage="zpt">..</code>

etc..

Change History

comment:1 Changed 14 years ago by tziade

can be interesting for the wiki as well

comment:2 Changed 14 years ago by fguillaume

  • Milestone changed from CPS 3.4.0 to CPS 3.5.0

That's not for 3.4.

Note: See TracTickets for help on using tickets.