LangCss

class LangCss : Lang

This is similar to the lang-css.js in JavaScript Prettify.

All comments are adapted from the JavaScript Prettify.

Registers a language handler for CSS.

To use, include prettify.js and this file in your HTML page. Then put your code in an HTML tag like

http://www.w3.org/TR/CSS21/grammar.html Section G2 defines the lexical grammar. This scheme does not recognize keywords containing escapes.

Author

mikesamuel@gmail.com

Constructors

Link copied to clipboard
fun LangCss()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class LangCssKeyword : Lang
Link copied to clipboard
class LangCssString : Lang

Functions

Link copied to clipboard
open override fun getFileExtensions(): List<String>