Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use arguments to \par if available #775

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Dec 23, 2024

\par accepts the heading as the first argument.

Fixes #765.

Aside: I noticed that the tests for the adoc and HTML generators are taking much longer than the XML tests (also visible in CI).

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://775.mrdocs.prtest2.cppalliance.org/index.html

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://775.mrdocs.prtest2.cppalliance.org/index.html

Comment on lines +32 to +35
=== Description


=== A heading.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This seems wrong - the "A heading." should probably be one level "lower" than "Description" (but that's not really part of this PR, I suppose).

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes. This seems reasonable enough. There's a lot to think about regarding how this overview is structured.

Comment on lines +46 to +47
<h3>Description</h3>
<h3>A heading.</h3>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here.

@Nerixyz Nerixyz marked this pull request as ready for review December 24, 2024 16:49
@alandefreitas alandefreitas merged commit 03d1a75 into cppalliance:develop Dec 24, 2024
11 checks passed
@Nerixyz Nerixyz deleted the fix/par-args branch December 24, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Descriptions with paragraphs, code, and other elements rendered incorrectly
3 participants