Skip to content
New issue

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

[Feature Request] Missing tok-strike span / strike-through text renders without line-through #70

Open
lorrin opened this issue Nov 8, 2024 · 0 comments

Comments

@lorrin
Copy link

lorrin commented Nov 8, 2024

I'd like for stike-through text to have a line through it. Right now it's rendering plain for me.
Bildschirmfoto 2024-11-08 um 12 20 00 AM

I started going down the path of tyring to apply a text-decoration: line-through; style to it in my userchrome.cs, but I can't figure out how to select it. In the DOM, I see that the bolded text has a tok-strong span class, but the strike-through text, despite having the tokens recognized, has no span of its own:

<div dir="auto" class="cm-line">foo <span class="cm-rm-strike-token"><span class="tok-meta">~~</span></span>bar<span class="cm-rm-strike-token"><span class="tok-meta">~~</span></span> baz</div>
<div dir="auto" class="cm-line">boo <span class="cm-rm-strong-token"><span class="ͼ18 tok-strong tok-meta">**</span></span><span class="ͼ18 tok-strong">bar</span><span class="cm-rm-strong-token"><span class="ͼ18 tok-strong tok-meta">**</span></span> baz</div>
@CalebJohn CalebJohn changed the title Missing tok-strike span / strike-through text renders without line-through [Feature Request] Missing tok-strike span / strike-through text renders without line-through Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant