mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
parent
b7dca87fb9
commit
f80a5fe644
|
|
@ -113,8 +113,7 @@
|
||||||
margin: 0.05em 0;
|
margin: 0.05em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote::before {
|
.quote-border {
|
||||||
content: "";
|
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
border: 2px solid @Themed("#4f545c", "#c7ccd1");
|
border: 2px solid @Themed("#4f545c", "#c7ccd1");
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,8 @@ internal partial class HtmlMarkdownVisitor : MarkdownVisitor
|
||||||
FormattingKind.Strikethrough => ("<s>", "</s>"),
|
FormattingKind.Strikethrough => ("<s>", "</s>"),
|
||||||
FormattingKind.Spoiler => (
|
FormattingKind.Spoiler => (
|
||||||
"<span class=\"spoiler-text spoiler-text--hidden\" onclick=\"showSpoiler(event, this)\">", "</span>"),
|
"<span class=\"spoiler-text spoiler-text--hidden\" onclick=\"showSpoiler(event, this)\">", "</span>"),
|
||||||
FormattingKind.Quote => ("<div class=\"quote\">", "</div>"),
|
FormattingKind.Quote => (
|
||||||
|
"<div class=\"quote\"><div class=\"quote-border\"></div><div class=\"quote-content\">", "</div></div>"),
|
||||||
_ => throw new ArgumentOutOfRangeException(nameof(formatting.Kind))
|
_ => throw new ArgumentOutOfRangeException(nameof(formatting.Kind))
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue