-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Markdown parsing in doc comments #5891
base: master
Are you sure you want to change the base?
Conversation
10af7ac
to
82ebbe7
Compare
// TODO If we decide not to support any colors, we can replace this with | ||
// anstyle::Effects and remove the need for applying them all individually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decide whether we want to support colors.
82ebbe7
to
e906f16
Compare
Could you clean up the commits for how you'd like this reviewed? Generally, its best to have a commit that adds tests before the feature work. In this case, i would expect it to show the current handling so the diff shows how formatting changes. |
35eac60
to
58308ab
Compare
@epage Changed the commits as requested. |
I also added the open questions I had in the PR description |
Before merging, preference on whether #2389 should be used as the tracking issue or if we should open a dedicated one? |
Maybe a new one would be good, we could transfer the open questions from the PR description there to discuss them more easily. |
@epage should I squash the commits now to match the commit message requirements? |
fixes #2389
# heading
![image]()
<html>
> blockquote
>
`code`
*emphasis*
**strong**
~stikethrough~
[link](url)
`inline code `
---
hrule---
surrounded by empty lines| tables |
\\\n
and\n
hard breakOpen Questions
•
for bullet lists,Options::ENABLE_SMART_PUNCTUATION
forpulldown_cmark
, unicode lines for blockquotesa.
,b.
andi.
,ii.
? we could use https://docs.rs/nominals for that