1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #703 new

new lexer request: spip (with patch)

created an issue

I made a Lexer for the language of the french CMS SPIP.

I propose it : https://github.com/maieul/spip-pygments.

Must I push it on the hg repository ?

Comments (5)

  1. Tim Hatch

    (This issue got overlooked for far too long.) If you're still interested in having it included, I would appreciate a link to the part of SPIP (either code or documentation) that defines this format. Do the files really use .html as the extension?

  2. Camil Staps

    Syntax for loops ('boucles'): http://www.spip.net/en_article2042.html
    Syntax for tags ('balises'): http://www.spip.net/en_article2055.html

    In general, SPIP is ill-documented in English (French docs are somewhat better, still not great) and it can be a pain to work with. (There are also several issues in the code, which has been moved to http://zone.spip.org/trac/spip-zone/browser/contribs/pygments. I can better comment on those when a pull request has been created.) However, in general this looks like a nice addition.

  3. Log in to comment