term Terminal adaptor
Methods
highlightText(src, lang) → {String}
Parameters:
Name | Type | Description |
---|---|---|
src
|
String | The code |
lang
|
String | The language of the code |
Returns:
The highlighted string
- Type
- String
setTheme Change the current used theme for highlighting(name)
Parameters:
Name | Type | Description |
---|---|---|
name
|
String | The name of the theme |