Skip to content

fix: update fancy reporter backticks highlighter #381

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stafyniaksacha
Copy link

Resolves #380

This PR ensure only single-line backticks are fancied and that backticks remains to the output.
Also added tests about single-line and multi-line backticks (markdown style).

I'm wondering if we want to color multi-line ? Not sure if it's relevant. We can do so with a regex like:

`([^`\n]+?)`|`{3}([\s\S]*?)`{3}

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.

Fancy formatter removes backticks
1 participant