diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index dd49068e7..1a7578268 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -712,6 +712,11 @@ &:not(.rich-text) { del { text-decoration: none; + + &::before, + &::after { + content: '~~'; + } } code { @@ -720,6 +725,11 @@ u { text-decoration: none; + + &::before, + &::after { + content: '__'; + } } h1::before { @@ -741,6 +751,22 @@ h5::before { content: '##### '; } + + b, + strong { + &::before, + &::after { + content: '**'; + } + } + + em, + i { + &::before, + &::after { + content: '*'; + } + } } &:not(.rich-blocks) {