1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-07-07 00:46:37 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
2b9ea60d89 Split PHP into two lexers - PHP and PHTML.
The former is pure PHP code while the latter is PHP code in <? ?> tags,
within HTML.

Fixes #210.
2020-06-30 21:00:09 +10:00
5ef2d37c8c Analysre for PHP. 2018-03-19 00:47:15 +11:00
db6920e68f Implemented delegating lexer.
This is a lexer that is useful for templating languages, where the
surrounding text may be of a different syntax. eg. PHP+HTML

The PHP lexer has been changed accordingly.

Fixes #80
2018-03-18 20:38:29 +11:00