« Previous | Next » 

Revision 7c796f17

Parent 00f6d92e
Child 6bbd75ff

Added by Jacob Floyd over 6 years ago

[TASK] Make PHP highlighting work for snippets

This adds the "official" hack to turn on startinline for all php
codeblocks whether they're a snippet or a full file.

Sphinx and docutils don't support setting the startinline option for
pygments. That means that snippets of PHP code that don't have
"<?php ?>" don't get highlighted. The hack was documented here:

Change-Id: I4e0cd22ff15516931dc5c6b0bb81c3e7079a3965
Releases: master, 3.0, 2.3, 2.2, 2.1, 2.0, 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted