Cheating slightly as it uses the CSS lexer, as pygments currently does
not have a dedicated less lexer. But I figure language recognition and
90% percent correct syntax highlighting is better than neither.
This commit is contained in:
Ben Scott 2013-01-07 15:27:01 +00:00
Родитель adc9246f66
Коммит 83ce189a82
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -731,6 +731,13 @@ Lasso:
- .lasso9
- .ldml
Less:
type: markup
group: CSS
lexer: CSS
ace_mode: less
primary_extension: .less
LilyPond:
lexer: Text only
primary_extension: .ly

14
samples/Less/screen.less Normal file
Просмотреть файл

@ -0,0 +1,14 @@
@blue: #3bbfce;
@margin: 16px;
.content-navigation {
border-color: @blue;
color:
darken(@blue, 9%);
}
.border {
padding: @margin / 2;
margin: @margin / 2;
border-color: @blue;
}