1.0.0 • Published 9 years ago
highlight.js-tokens v1.0.0
highlight.js-tokens
An array of tokens used by the highlight.js syntax highlighter
Use it to generate and/or validate highlight.js CSS stylesheets, or to create a whitelist of allowable CSS class names.
Here's the whole exported object, for reference:
[
'addition',
'annotaion',
'annotation',
'argument',
'array',
'at_rule',
'attr_selector',
'attribute',
'begin-block',
'blockquote',
'body',
'built_in',
'bullet',
'cbracket',
'cdata',
'cell',
'change',
'char',
'chunk',
'class',
'code',
'collection',
'command',
'commands',
'commen',
'comment',
'constant',
'container',
'dartdoc',
'date',
'decorator',
'default',
'deletion',
'doctype',
'emphasis',
'end-block',
'envvar',
'expression',
'filename',
'filter',
'flow',
'foreign',
'formula',
'func',
'function',
'function_name',
'generics',
'header',
'hexcolor',
'horizontal_rule',
'id',
'import',
'important',
'infix',
'inheritance',
'input',
'javadoc',
'javadoctag',
'keyword',
'keywords',
'label',
'link_label',
'link_reference',
'link_url',
'list',
'literal',
'localvars',
'long_brackets',
'matrix',
'module',
'number',
'operator',
'output',
'package',
'param',
'parameter',
'params',
'parent',
'phpdoc',
'pi',
'pod',
'pp',
'pragma',
'preprocessor',
'prompt',
'property',
'pseudo',
'quoted',
'record_name',
'regex',
'regexp',
'request',
'reserved',
'rest_arg',
'rules',
'shader',
'shading',
'shebang',
'special',
'sqbracket',
'status',
'stl_container',
'stream',
'string',
'strong',
'sub',
'subst',
'summary',
'symbol',
'tag',
'template_comment',
'template_tag',
'title',
'type',
'typedef',
'typename',
'value',
'var_expand',
'variable',
'winutils',
'xmlDocTag',
'yardoctag'
]
1.0.0
9 years ago