Skip to content

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Jan 5, 2026

  1. GitHub doesn't support ~word~ syntax for strikethrough, so we shouldn't either.
  2. It's hard to make RDoc markup support ~~word~~ without supporting ~word~ as well due to the way attribute manager works. So instead we rollback the support added in Fix Markdown strikethrough (~~text~~) not rendering in HTML output #1541. Users can still use <del>text</del> syntax for strikethrough.
  3. Fix <code><del>text</del></code> not rendering as <del>text</del> in HTML output.
  4. Update documentation to reflect the new support.

1. GitHub doesn't support `~word~` syntax for strikethrough, so we shouldn't
   either.
2. It's hard to make RDoc markup support `~~word~~` without supporting
   `~word~` as well due to the way attribute manager works. So instead
   we rollback the support added in #1541. Users can still use `<del>text</del>`
   syntax for strikethrough.
3. Fix `<code><del>text</del></code>` not rendering as `<del>text</del>` in HTML output.
4. Update documentation to reflect the new support.
@matzbot
Copy link
Collaborator

matzbot commented Jan 5, 2026

🚀 Preview deployment available at: https://1f4a0528.rdoc-6cd.pages.dev (commit: 1aae619)

@st0012 st0012 merged commit 0602d13 into master Jan 5, 2026
64 of 68 checks passed
@st0012 st0012 deleted the tweak-strike-through-support branch January 5, 2026 16:53

Rendered HTML:

>>>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Is this is a leftover from merge conflict?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's RDoc's way to declare quote blocks.

@nevans
Copy link
Contributor

nevans commented Jan 5, 2026

  1. GitHub doesn't support ~word~ syntax for strikethrough, so we shouldn't either.

What? I very rarely use word in rdoc, but I use it on Github all the time... I used it several times just this morning. I've used it in this comment.

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

Successfully merging this pull request may close these issues.

6 participants