Skip to content

Allow using backticks to quote text in RDoc markup too#1551

Merged
st0012 merged 1 commit into
masterfrom
add-backtick-quote-support
Jan 7, 2026
Merged

Allow using backticks to quote text in RDoc markup too#1551
st0012 merged 1 commit into
masterfrom
add-backtick-quote-support

Conversation

@st0012

@st0012 st0012 commented Jan 6, 2026

Copy link
Copy Markdown
Member

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

st0012 commented Jan 6, 2026

Copy link
Copy Markdown
Member Author

cc @nobu

@matzbot

matzbot commented Jan 6, 2026

Copy link
Copy Markdown
Collaborator

🚀 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
nobu added a commit to ruby/elisp-rdoc-mode that referenced this pull request Jun 16, 2026
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.

3 participants