Add stylus support

This commit is contained in:
Garen Torikian 2012-11-10 18:29:57 -08:00 • committed by nightwing
commit 6397482964
7 changed files with 311 additions and 10 deletions

View file

@ -103,6 +103,7 @@ var docs = {
"docs/scala.scala": "Scala",
"docs/scss.scss": "SCSS",
"docs/sh.sh": "SH",
"docs/stylus.styl": "Stylus",
"docs/sql.sql": {name: "SQL", wrapped: true},
"docs/svg.svg": "SVG",
"docs/tcl.tcl": "Tcl",

View file

@ -0,0 +1,55 @@
// I'm a comment!
/*
* Adds the given numbers together.
*/
/*!
* Adds the given numbers together.
*/
asdasdasdad(df, ad=23)
add(a, b = a)
a + b
green(#0c0)
add(10, 5)
// => 15
add(10)
add(a, b)
&asdasd
(arguments)
@sdfsdf
.signatures
background-color #e0e8e0
border 1px solid grayLighter
box-shadow 0 0 3px grayLightest
border-radius 3px
padding 3px 5px
"adsads"
margin-left 0
list-style none
.signature
list-style none
display: inline
margin-left 0
> li
display inline
is not
.signature-values
list-style none
display inline
margin-left 0
&:before
content '→'
margin 0 5px
> li
!important
unless

View file

@ -75,6 +75,7 @@ var modesByName = {
scss: ["SCSS" , "scss|sass"],
sh: ["SH" , "sh|bash|bat"],
sql: ["SQL" , "sql"],
stylus: ["Stylus" , "styl|stylus"],
svg: ["SVG" , "svg"],
tcl: ["Tcl" , "tcl"],
text: ["Text" , "txt"],