mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-02-09 09:23:56 +00:00
Use a light colours style for highlighted pasties.
This commit is contained in:
parent
93c19c2b88
commit
7115e9eb63
1 changed files with 8 additions and 0 deletions
|
@ -77,6 +77,14 @@ namespace tawashi {
|
||||||
highlighter.setDataDir(settings().as<std::string>("langmap_dir"));
|
highlighter.setDataDir(settings().as<std::string>("langmap_dir"));
|
||||||
highlighter.setGenerateEntireDoc(false);
|
highlighter.setGenerateEntireDoc(false);
|
||||||
highlighter.setGenerateLineNumbers(true);
|
highlighter.setGenerateLineNumbers(true);
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
highlighter.setOptimize(true);
|
||||||
|
#else
|
||||||
|
highlighter.setOptimize(false);
|
||||||
|
#endif
|
||||||
|
highlighter.setCanUseStdOut(false);
|
||||||
|
highlighter.setTabSpaces(4);
|
||||||
|
highlighter.setStyleCssFile("sh_darkness.css");
|
||||||
|
|
||||||
std::string processed_pastie;
|
std::string processed_pastie;
|
||||||
if (m_syntax_highlight) {
|
if (m_syntax_highlight) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue