Skip to content

Add comparison with GitHub Flavored Markdown spec#1550

Merged
st0012 merged 1 commit intomasterfrom
add-gfm-comparison
Apr 4, 2026
Merged

Add comparison with GitHub Flavored Markdown spec#1550
st0012 merged 1 commit intomasterfrom
add-gfm-comparison

Conversation

@st0012
Copy link
Copy Markdown
Member

@st0012 st0012 commented Jan 6, 2026

I compiled the list with help from Claude. I tested some common elements manually but not all of them. That said, I think this would still be a good comparison reference to have.

| Fenced Code (tildes) | ✅ `~~~` | ❌ | Conflicts with strikethrough syntax |
| Info strings (language) | ✅ any | ⚠️ `ruby`/`rb`/`c` | Limited syntax highlighting |
| Blockquotes | ✅ | ✅ | Full match, nested supported |
| Lazy Continuation | ✅ | ❌ | GFM allows omitting `>` on continuation lines |
Copy link
Copy Markdown
Member Author

@st0012 st0012 Jan 6, 2026

Choose a reason for hiding this comment

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

RDoc interprets

> foo
bar

as > foo bar due to how ToHtml handles the newline.

I'll try to fix the issue so it matches GFM.

@matzbot
Copy link
Copy Markdown
Collaborator

matzbot commented Jan 6, 2026

🚀 Preview deployment available at: https://065187a4.rdoc-6cd.pages.dev (commit: a5c6189)

@st0012 st0012 force-pushed the add-gfm-comparison branch from 720b553 to a5c6189 Compare April 4, 2026 13:56
@st0012 st0012 merged commit 393c0e8 into master Apr 4, 2026
78 checks passed
@st0012 st0012 deleted the add-gfm-comparison branch April 4, 2026 14:09
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.

2 participants