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: don't remove all stars from the docs #530

Merged
merged 3 commits into from
Mar 28, 2024
Merged

Conversation

sigmaSd
Copy link
Contributor

@sigmaSd sigmaSd commented Mar 18, 2024

fix #523

@CLAassistant
Copy link

CLAassistant commented Mar 18, 2024

CLA assistant check
All committers have signed the CLA.

@sigmaSd
Copy link
Contributor Author

sigmaSd commented Mar 23, 2024

I noticed that some correct stars still gets stripped like **Example**, not sure whats the best way to handle these

@crowlKats
Copy link
Member

@sigmaSd can you add some tests?

@sigmaSd
Copy link
Contributor Author

sigmaSd commented Mar 28, 2024

I added some tests

),
r#"/**
# Program
**Example:**
Copy link
Member

Choose a reason for hiding this comment

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

this doesnt seem to be getting stripped, unlike what you mentioned in your previous comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes what I had is

/**
** Example** // no starting star 
*/

But then I guess maybe we can consider this a user error to not use the star at the start

Copy link
Member

Choose a reason for hiding this comment

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

yea, i think this is fine

Copy link
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

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

LGTM

@crowlKats crowlKats merged commit 2e37538 into denoland:main Mar 28, 2024
4 checks passed
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.

import * gets rendered incorrectly
3 participants