4

I'm using Listings package to insert python and javascript code into my thesis. This package has a lot of languages but not Django Template.

Someone has yet defined that custom language, or there's another method to include it, as pretty as would be with listings?

3
  • The Ruby equivalent of Django template language is called Liquid. You could search for that, although "liquid latex" gives entirely useless results...
    – Thomas
    Commented Feb 11, 2012 at 15:08
  • If "Django template" is the language mentioned here, it looks very much like HTML (for which there exists a language=HTML style in listings).
    – Werner
    Commented Feb 12, 2012 at 16:07
  • @Werner It is the language mentioned in your link. However, even though it is mostly HTML it has variables, filter, tags, etc. I think he also wants these specific Django template syntax highlighted.
    – benregn
    Commented Feb 13, 2012 at 7:39

1 Answer 1

4

If you want to get more syntax highlighting than is provided by the HTML style of listings then you could do one of the following:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .