rubychan / coderay

Fast and easy syntax highlighting for selected languages, written in Ruby.
http://coderay.rubychan.de/
Other
847 stars 115 forks source link

Support for phtml FileType #122

Closed alexandrevez closed 11 years ago

alexandrevez commented 11 years ago

In most cases, phtml files are html/javascripts with small PHP content.

I regesitered the filetype.

korny commented 11 years ago

So why not use the PHP scanner?

alexandrevez commented 11 years ago

Because it's mostly javascript and HTML in the file.

korny commented 11 years ago

Okay, but the PHP scanner already supports HTML with JavaScript…

korny commented 11 years ago

Can you please check if 'phtml' => :php, does what you want? :-)

alexandrevez commented 11 years ago

Yep it works great.

Sorry for the delays


Alexandre Vézina

On Sun, Apr 7, 2013 at 5:34 AM, Kornelius Kalnbach <notifications@github.com

wrote:

Can you please check if 'phtml' => :php, does what you want? :-)

— Reply to this email directly or view it on GitHubhttps://github.com/rubychan/coderay/pull/122#issuecomment-16012172 .

korny commented 11 years ago

Okay, great! I'll merge the PR when you update it accordingly.

alexandrevez commented 11 years ago

Done