rouge icon indicating copy to clipboard operation
rouge copied to clipboard

Saltstack related file support

Open zyio opened this issue 11 years ago • 6 comments

Support for the '.sls' and jinja-flavoured-yaml '.j2' files commonly used in saltstack would be appreciated.

Similar to the following pygments lexer: http://pygments.org/docs/lexers/#pygments.lexers.templates.YamlJinjaLexer

zyio avatar Sep 23 '15 13:09 zyio

+1

Xiol avatar Sep 23 '15 13:09 Xiol

+1

aditaa avatar Mar 05 '16 01:03 aditaa

+1

Lacking this on Gitlab

vitalyisaev2 avatar Jul 29 '16 11:07 vitalyisaev2

+1

blaketmiller avatar Dec 01 '16 00:12 blaketmiller

Unfortunately there's no mechanism to add file extension support for this yet, but have you considered trying jinja?parent=yaml?

In GitLab, you would use

echo '*.sls gitlab-language=jinja?parent=yaml' >> .gitattributes

jneen avatar Dec 02 '16 23:12 jneen

This contribution has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days.

stale[bot] avatar Jun 19 '19 16:06 stale[bot]