Skip to content

wip: Add prose macro#10161

Draft
devongovett wants to merge 2 commits into
mainfrom
prose
Draft

wip: Add prose macro#10161
devongovett wants to merge 2 commits into
mainfrom
prose

Conversation

@devongovett
Copy link
Copy Markdown
Member

Adds a prose() macro to S2 that styles semantic HTML elements within it, e.g. headings, paragraphs, code, etc. Useful for displaying markdown and other article content.

@github-actions github-actions Bot added the S2 label Jun 5, 2026
@rspbot
Copy link
Copy Markdown

rspbot commented Jun 5, 2026

textDecoration: 'underline',
transition: 'color 200ms'
},
':is(h1, h2, h3, h4, h5, h6, hr) + *': {
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.

gap between headings and following paragraphs should collapse to the smaller of the two (heading)

@rspbot
Copy link
Copy Markdown

rspbot commented Jun 5, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants