aboutsummaryrefslogtreecommitdiff
path: root/src/settingsdialog.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-09 00:19:32 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-09 00:19:32 +0200
commitdf4fbcb4cf6c593c725f677b2ed587e877ae6709 (patch)
treee399602df5bd4bd240b8746ff45dee13cc6ebd53 /src/settingsdialog.cpp
parent573e73eb1b7a4b5f1cc7037feab620ad9c077f2d (diff)
downloadkristall-df4fbcb4cf6c593c725f677b2ed587e877ae6709.tar.gz
Adds help document, adds block quote support, updates gemini parser to newest spec, adds support for arbitrary gemini files in about: space, adds url bar shortcut, fixes bug with line breaks in preformatted text
Diffstat (limited to 'src/settingsdialog.cpp')
-rw-r--r--src/settingsdialog.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp
index d6b84cf..6512db6 100644
--- a/src/settingsdialog.cpp
+++ b/src/settingsdialog.cpp
@@ -108,6 +108,10 @@ void SettingsDialog::setGeminiStyle(DocumentStyle const &style)
.arg(this->current_style.background_color.name())
.arg("#FF00FF"));
+ ui->quote_preview->setStyleSheet(COLOR_STYLE
+ .arg(this->current_style.blockquote_color.name())
+ .arg("#FF00FF"));
+
ui->link_local_preview->setStyleSheet(COLOR_STYLE
.arg(this->current_style.background_color.name())
.arg(this->current_style.internal_link_color.name()));
@@ -184,6 +188,8 @@ Plain text document here.
=> rela-link Same-Site Link
=> //foreign.host/ Foreign Site Link
=> https://foreign.host/ Cross-Protocol Link
+> Multi-lined
+> block quotes
```
▄▄▄ ██▀███ ▄▄▄█████▓
▒████▄ ▓██ ▒ ██▒▓ ██▒ ▓▒
@@ -309,6 +315,10 @@ void SettingsDialog::on_link_cross_change_color_clicked()
{
updateColor(current_style.cross_scheme_link_color);
}
+void SettingsDialog::on_quote_change_color_clicked()
+{
+ updateColor(current_style.blockquote_color);
+}
void SettingsDialog::on_link_local_prefix_textChanged(const QString &text)
{