Skip to content

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Jan 6, 2026

Users can now use both ` and + to make simple code blocks in RDoc markup.

Using backticks to quote code has become a natural habit for many users, so it's common to see it being incorrectly used to contribute to Ruby documentation.

But instead of "correcting" users' behaviour, we should just support it. It'll also allow us to partially migrate some RDoc markup to Markdown.

Users can now use both '`' and '+' to make simple code blocks in RDoc markup.

Using backticks to quote code has become a natural habit for many users, so
it's common to see it being incorrectly used to contribute to Ruby documentation.

But instead of "correcting" users' behaviour, we should just support it.
It'll also allow us to partially migrate some RDoc markup to Markdown.
@st0012
Copy link
Member Author

st0012 commented Jan 6, 2026

cc @nobu

@matzbot
Copy link
Collaborator

matzbot commented Jan 6, 2026

🚀 Preview deployment available at: https://6c97bd4a.rdoc-6cd.pages.dev (commit: 5d254e8)

@st0012 st0012 merged commit 4b9daa0 into master Jan 7, 2026
64 of 68 checks passed
@st0012 st0012 deleted the add-backtick-quote-support branch January 7, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants