Skip to content

[DOC] Mods about markup formats - #1143

Merged
peterzhu2118 merged 2 commits into
ruby:masterfrom
BurdetteLamar:markup_formats_doc
Jul 29, 2024
Merged

peterzhu2118 merged 2 commits into
ruby:masterfrom
BurdetteLamar:markup_formats_doc

Conversation

@BurdetteLamar

Copy link
Copy Markdown
Member

Clarifies (I hope) some things about markup formats.

I've purposely not mentioned markup as an alias for rdoc because I think it invites confusion.

Comment thread lib/rdoc/markup.rb Outdated
#
# - +rdoc+:
# the +RDoc+ markup format;
# see RDoc::Markup.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doesn't this just link to the current file? There's not much information on that file. Isn't it more useful to link to MarkupReference?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not to the current file (RDoc/Markup.html), but to RDoc/Markdown.html. This bullet item is about markdown, not markup.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm confused. This bullet point is for RDoc markup, not markdown.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Duh. I'm the one who was confused. Now fixed to refer to RDoc::MarkupReference.

@peterzhu2118
peterzhu2118 merged commit 011de3f into ruby:master Jul 29, 2024
matzbot pushed a commit to ruby/ruby that referenced this pull request Jul 29, 2024
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