diff --git a/src/Utils.cpp b/src/Utils.cpp index 0ac37d8e..223fdae7 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -531,7 +531,8 @@ utils::markdownToHtml(const QString &text, bool rainbowify) // get correct color for char index // Use colors as described here: // https://shark.comfsm.fm/~dleeling/cis/hsl_rainbow.html - auto color = QColor::fromHslF((charIdx - 1.0) / textLen * (5. / 6.), 0.9, 0.5); + // auto color = QColor::fromHslF((charIdx - 1.0) / textLen * (5. / 6.), 0.9, 0.5); + auto color = QColor::fromHslF((charIdx - 1.0) / textLen * (2.), 0.9, 0.999); // format color for HTML auto colorString = color.name(QColor::NameFormat::HexRgb); // create HTML element for current char diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index bb2e4acd..86865423 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -316,7 +316,8 @@ InputBar::send() command(name, args); } } else { - message(text()); + // message(text()); + message(text(), MarkdownOverride::ON, true); } if (!wasEdit) {