Skip to content

Conversation

BurdetteLamar
Copy link
Member

Although technically it's possible to nest some types of blocks in a paragraph (by eschewing newlines), it's poor practice. Is the language here too strong? Or should there be explanation and warnings?

Comment on lines +127 to 129
# A paragraph may contain only one type of nested block:
#
# - {Verbatim text blocks}[rdoc-ref:RDoc::MarkupReference@Verbatim+Text+Blocks].
# - {Code blocks}[rdoc-ref:RDoc::MarkupReference@Code+Blocks].
# - {Block quotes}[rdoc-ref:RDoc::MarkupReference@Block+Quotes].
# - {Lists}[rdoc-ref:RDoc::MarkupReference@Lists].
# - {Headings}[rdoc-ref:RDoc::MarkupReference@Headings].
# - {Horizontal rules}[rdoc-ref:RDoc::MarkupReference@Horizontal+Rules].
# - {Text Markup}[rdoc-ref:RDoc:MarkupReference@Text+Markup].
Copy link
Member

Choose a reason for hiding this comment

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

IMO a list with one bullet point shouldn't be a list.

I also don't know what the point of this change is, what is considered a "nested block"? The "Text Markup" section just talks about how to format the text with bold, italics, and monofont. Is that even considered a block or just formatting?

At any rate, I think we either keep the original (and maybe reword it) or just remove all of this completely.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've sometimes used a 1-item list to make treatments parallel, which I've thought helpful. (The other sections put nestings in lists.)

About your questions: I've asked them myself:

@BurdetteLamar
Copy link
Member Author

@peterzhu2118, might it be better to close this PR and instead explore the idea of demoting text markup from its status as a block?

@peterzhu2118
Copy link
Member

might it be better to close this PR and instead explore the idea of demoting text markup from its status as a block?

Maybe? I'm not sure how we want to define what a block is.

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