Implementing Strikethrough Text
See original GitHub issueSummary The strikethrough text (see example below) is used now in multiple parts of the Merchant Center. At the moment, teams use custom styling to achieve this state:
<s className={styles.removed}>{value}</s>
Hence, it makes sense to consider implementing this as a part of the ui-kit.
Example use-case:
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Apply or remove strikethrough text formatting - Microsoft Support
Select the text that you want to format. Go to Home > Strikethrough. Strikethrough on the Home tab. Apply or remove double-line strikethrough...
Read more >How to Strikethrough Text (l̶i̶k̶e̶ ̶t̶h̶i̶s̶) in Word ...
1. Use the strikethrough command in the Ribbon · 2. Use the Font dialog box strikethrough command · 3. Text effect options in...
Read more >Strikethrough/line through on text in HTML | The HTML Shark
Highlighting text using strikethrough/line through ... In the same manner as underlining a text, you can do a strikethrough, where a horizontal line...
Read more >How to mark strikethrough text in HTML? - Tutorialspoint
To mark strikethrough text in HTML, use the <strike>…</strike> tag. It renders a strikethrough text. HTML deprecated this tag and it ...
Read more ><s>: The Strikethrough element - HTML - MDN Web Docs
The <s> HTML element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you Klaudija, it looks good to me 👍 Filip is quite busy now, but you can share this idea in Slack and ask for his point of view, should be a no-brainer, I think.
Yeah, if any text should be strike-able certainly. Might also be an easier to understand API even if we don’t expose it e.g. on headlines (for Maxium and Filip to decide).