language-pug
language-pug copied to clipboard
A Pug (was Jade) syntax highlighting for Atom, derived from https://github.com/davidrios/jade-tmbundle
Dot Block Show First Word Of Line As Element ``` | | . This Text Will Appear In Main Div ``` "This" here appear as Element not normal text
Using the lang="pug" attribute somehow seems to think the whole document is written in pug. Any plans on updating this, or am I doing something wrong here?
Comments seem to automatically fold-in the next line on the same or higher hierarchy, even if the comment is a single line. 
``` - var myArray = ['HTML', 'CSS', 'PHP', 'MySQL', 'JavaScript'] each val, index in myArray div= index + ' : ' + val else p There's No Value ``` Here...
I code using Laravel and would like to combine both blade templates and pug files. Would it be possible to get Atom to highlight *.pug.blade extensions as pug files?
I adapted the snippets in [language-html](https://github.com/atom/language-html) for use in pug.
When using This ``` case friends when 0: p you have no friends when 1: p you have one friends default: p you have #{friends} friends ``` Interpolation of #{friends}...
In this example `#[Element Text Inside Element]` Text Here Appear with red color as Element
When i use this code to escape interpolation `#{'#{Osama}'}` it show this { before the Letter O with red color
This Example `#{'}'}!` It must show first { with green color and last one } with green color. but its show first one { with green color and second one...