genoma / language-pug

A Pug (was Jade) syntax highlighting for Atom, derived from https://github.com/davidrios/jade-tmbundle
MIT License
26 stars 8 forks source link

Broken syntax highlighiting, inline syntax for nested tags, filters #4

Open JohnGurin opened 8 years ago

JohnGurin commented 8 years ago

2016-06-24_12-47-59

compiles to

<span><?php echo $content1 ?></span><span><?php echo $content2 ?></span><span><?php echo $content3 ?></span>

:php is custom filter

X-O commented 8 years ago

Same here (simpler testcase): php

@JohnGurin Which php filter are you using? Is it anything more complex than return '<?php ' + text + ' ?>'; 😄