Syntax Highlighting
We need to highlight things to make them easier to find.
{
"Name": "custom",
"Components": {
"FirstWord": {
"ComponentMatch": "/(?:^|(?:[.!?]\\s))(\\w+)/",
"ComponentForegroundColor": "#00FF00",
"ComponentBackgroundColor": "#000000",
}
}
}var settingsCustom = new TermReaderSettings()
{
SyntaxHighlighterEnabled = true,
SyntaxHighlighter = template,
};