Skip to main content

Ralsina.Me — Roberto Alsina's website

Son of bartleblog XI: the highlight of the syntax

I had a few min­utes wait­ing for yum to do its thing and added a cou­ple of easy fea­tures:

bartleblog9

The Sil­verCi­ty-based code-block syn­tax high­light­ing di­rec­tive was re­placed with a ver­sion us­ing Pyg­ment which sup­ports more lan­guages and is (I think) nicer look­ing... and comes with sev­er­al styles, as you can see above in the con­fig­u­ra­tion di­a­log.

Oth­er than that, I added sup­port in the back­end to:

  • Re­­gen­er­ate HTML from RST ev­ery­where

  • Do the same on­­ly on items marked "dirty"

  • A mod­­el thingie that shows if there are posts or sto­ries with RST er­rors

  • Some GUI love

I need to make the con­fig di­a­log sup­port more than one gad­get at the same time, though ;-)

Comments

Comments powered by Disqus