"val":"The hyphen followed immediately by the pound sign signifies a silent comment. Any text following this isn’t rendered in the resulting document at all."
}],
"Doctypes":[
{
"key":"!!!",
"val":"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"
},{
"key":"!!! 5",
"val":"<!DOCTYPE html>"
},{
"key":"!!! Strict",
"val":"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
},{
"key":"!!! Frameset",
"val":"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">"
"val":"<p>42</p> \n < p > 43 < /p> \n < p > 44 < /p> \n < p > 45 < /p> \n < p > 46 < /p>"
}
],
"Filters":[{
"key":":cdata",
"val":"Surrounds the filtered text with CDATA tags."
},{
"key":":coffee",
"val":"Compiles the filtered text to Javascript using Cofeescript. You can also reference this filter as :coffeescript. This filter is implemented using Tilt."
},{
"key":":css",
"val":"Surrounds the filtered text with <style> and (optionally) CDATA tags. Useful for including inline CSS. Use the :cdata option to control when CDATA tags are added."
},{
"key":":erb",
"val":"Parses the filtered text with ERb, like an RHTML template. Not available if the :suppress_eval option is set to true. Embedded Ruby code is evaluated in the same context as the Haml template. This filter is implemented using Tilt."
},{
"key":":escaped",
"val":"Works the same as plain, but HTML-escapes the text before placing it in the document."
},{
"key":":javascript",
"val":"Surrounds the filtered text with <script> and (optionally) CDATA tags. Useful for including inline Javascript. Use the :cdata option to control when CDATA tags are added."
},{
"key":":less",
"val":"Parses the filtered text with Less to produce CSS output. This filter is implemented using Tilt."
},{
"key":":markdown",
"val":"Parses the filtered text with Markdown. This filter is implemented using Tilt."
},{
"key":":maruku",
"val":"Parses the filtered text with Maruku, which has some non-standard extensions to Markdown."
},{
"key":":plain",
"val":"Does not parse the filtered text. This is useful for large blocks of text without HTML tags, when you don’t want lines starting with . or - to be parsed."
},{
"key":":preserve",
"val":"Inserts the filtered text into the template with whitespace preserved. preserved blocks of text aren’t indented, and newlines are replaced with the HTML escape code for newlines, to preserve nice-looking output."
},{
"key":":ruby",
"val":"Parses the filtered text with the normal Ruby interpreter. Creates an IO object named haml_io, anything written to it is output into the Haml document."
},{
"key":":sass",
"val":"Parses the filtered text with Sass to produce CSS output. This filter is implemented using Tilt."
},{
"key":":scss",
"val":"Parses the filtered text with Sass like the :sass filter, but uses the newer SCSS syntax to produce CSS output. This filter is implemented using Tilt."
},{
"key":":textile",
"val":"Parses the filtered text with Textile. Only works if RedCloth is installed."