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

Support @par #787

Closed
alandefreitas opened this issue Jan 7, 2025 · 1 comment · Fixed by #790
Closed

Support @par #787

alandefreitas opened this issue Jan 7, 2025 · 1 comment · Fixed by #790
Assignees

Comments

@alandefreitas
Copy link
Collaborator

Sometimes it works, and sometimes it doesn't.

@alandefreitas
Copy link
Collaborator Author

It seems that the cases where it doesn't work are those where the @Par doesn't start with text.

This works:

    @par Example
    The function can be used to designate a named
    argument for a replacement field in a format
    URL string.
    @code
    assert(format("user/{id}", arg("id", 1)).buffer() == "user/1");
    @endcode

This doesn't:

    @par Example
    @code
    assert(format("user/{id}", arg("id", 1)).buffer() == "user/1");
    @endcode

alandefreitas added a commit to alandefreitas/mrdocs that referenced this issue Jan 13, 2025
Render @Par headings when the @Par has no children paragraphs

#feat

fix cppalliance#787
alandefreitas added a commit to alandefreitas/mrdocs that referenced this issue Jan 13, 2025
Render @Par headings when the @Par has no children paragraphs

#feat

fix cppalliance#787
alandefreitas added a commit that referenced this issue Jan 13, 2025
Render @Par headings when the @Par has no children paragraphs

#feat

fix #787
@github-project-automation github-project-automation bot moved this from Accepted to Done in MrDocs Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants