Homec4science

Highlight LESS and SCSS as CSS, because it's better than nothing.

Authored by Ricky Elrod <ricky@elrod.me> on Jul 27 2012, 17:26.

Description

Highlight LESS and SCSS as CSS, because it's better than nothing.

Summary:
LESS and SCSS are two stylesheet languages similar in syntax to CSS.
Pygments doesn't directly support them, but I don't think it's unreasonable to
highlight them as CSS by default. They're close enough to CSS that it doesn't
look terrible, and I think they're becoming used enough that it makes sense
to do this by default.

Test Plan:
Viewed a .less, and .scss file under the CSS parser to see if they looked
reasonable.

See P473 (scss) and P474 (less) for samples of them highlighted with css.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3086

Details

Committed
Ricky Elrod <ricky@elrod.me>Jul 27 2012, 17:26
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUc9372c8bd8f7: Add PhutilBufferedIterator
Branches
Unknown
Tags
Unknown

Event Timeline

Ricky Elrod <ricky@elrod.me> committed rPHU14eca800c60f: Highlight LESS and SCSS as CSS, because it's better than nothing. (authored by Ricky Elrod <ricky@elrod.me>).Jul 27 2012, 17:26