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?

topskip
  • 37,020
zambotn
  • 143
  • The Ruby equivalent of Django template language is called Liquid. You could search for that, although "liquid latex" gives entirely useless results... – Thomas Feb 11 '12 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 Feb 12 '12 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 Feb 13 '12 at 07:39

1 Answers1

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:

benregn
  • 6,082