We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The ~~text~~ syntax in fastn should apply the text-decoration: line-through CSS to the text.
~~text~~
text-decoration: line-through
However, it is not working as expected because the global CSS rule:
*, :after, :before { text-decoration: none; ... }
is overriding the specific rule for the <del> element:
<del>
del { text-decoration: line-through; }
-- ftd.text: This ~~sentence is grammatically wrong~~, correct it.
Text wrapped in the ~~ markdown syntax should be displayed with a line-through effect.
~~
line-through
This sentence is grammatically wrong, correct it.
To ensure that the del element's text-decoration: line-through is applied, we need to add !important to the rule:
!important
del { text-decoration: line-through !important; }
Reported by Sneha Upadhyay on discord.
The text was updated successfully, but these errors were encountered:
PR: #1959
Sorry, something went wrong.
No branches or pull requests
The
~~text~~
syntax in fastn should apply thetext-decoration: line-through
CSS to the text.However, it is not working as expected because the global CSS rule:
is overriding the specific rule for the
<del>
element:Steps to Reproduce:
Expected Behavior:
Text wrapped in the
~~
markdown syntax should be displayed with aline-through
effect.Example:
Expected output:
This
sentence is grammatically wrong, correct it.Suggested Fix:
To ensure that the del element's
text-decoration: line-through
is applied, we need to add!important
to the rule:Environment:
Reported by Sneha Upadhyay on discord.
The text was updated successfully, but these errors were encountered: