Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
highlight
hljs
Module hljs
Index
Variables
APOS_STRING_MODE
BACKSLASH_ESCAPE
BINARY_NUMBER_MODE
BINARY_NUMBER_RE
C_BLOCK_COMMENT_MODE
C_LINE_COMMENT_MODE
C_NUMBER_MODE
C_NUMBER_RE
HASH_COMMENT_MODE
IDENT_RE
LANGUAGES
NUMBER_MODE
NUMBER_RE
QUOTE_STRING_MODE
RE_STARTERS_RE
UNDERSCORE_IDENT_RE
tabReplace
Interfaces
IAutoHighlightResult
IHighlightResult
IMode
Functions
blockLanguage
blockText
fixMarkup
highlight
highlightAuto
highlightBlock
initHighlighting
initHighlightingOnLoad
Variables
APOS_STRING_MODE
:
IMode
BACKSLASH_ESCAPE
:
IMode
BINARY_NUMBER_MODE
:
IMode
BINARY_NUMBER_RE
:
string
C_BLOCK_COMMENT_MODE
:
IMode
C_LINE_COMMENT_MODE
:
IMode
C_NUMBER_MODE
:
IMode
C_NUMBER_RE
:
string
HASH_COMMENT_MODE
:
IMode
IDENT_RE
:
string
LANGUAGES
:
{ [name: string]: any; }
(
)
:
any
Returns
any
NUMBER_MODE
:
IMode
NUMBER_RE
:
string
QUOTE_STRING_MODE
:
IMode
RE_STARTERS_RE
:
string
UNDERSCORE_IDENT_RE
:
string
tabReplace
:
string
Functions
blockLanguage
(
block
:
Node
)
:
string
Parameters
block:
Node
Returns
string
blockText
(
block
:
Node
, ignoreNewLines
:
boolean
)
:
string
Parameters
block:
Node
ignoreNewLines:
boolean
Returns
string
fixMarkup
(
value
:
string
, tabReplace
:
boolean
, useBR
:
boolean
)
:
string
Parameters
value:
string
tabReplace:
boolean
useBR:
boolean
Returns
string
highlight
(
language_name
:
string
, value
:
string
)
:
IHighlightResult
Parameters
language_name:
string
value:
string
Returns
IHighlightResult
highlightAuto
(
text
:
string
)
:
IHighlightResult
Parameters
text:
string
Returns
IHighlightResult
highlightBlock
(
block
:
Node
, tabReplace
?:
boolean
, useBR
?:
boolean
)
Parameters
block:
Node
tabReplace?:
boolean
optional
useBR?:
boolean
optional
initHighlighting
(
)
initHighlightingOnLoad
(
)
Globals
highlight
highlight.hljs
APOS_STRING_MODE
BACKSLASH_ESCAPE
BINARY_NUMBER_MODE
BINARY_NUMBER_RE
C_BLOCK_COMMENT_MODE
C_LINE_COMMENT_MODE
C_NUMBER_MODE
C_NUMBER_RE
HASH_COMMENT_MODE
IDENT_RE
LANGUAGES
NUMBER_MODE
NUMBER_RE
QUOTE_STRING_MODE
RE_STARTERS_RE
UNDERSCORE_IDENT_RE
tabReplace
IAutoHighlightResult
IHighlightResult
IMode
blockLanguage
blockText
fixMarkup
highlight
highlightAuto
highlightBlock
initHighlighting
initHighlightingOnLoad