Skip to content

Conversation

@aepfli
Copy link
Owner

@aepfli aepfli commented Apr 25, 2024

relates: #51

Signed-off-by: Simon Schrottner <[email protected]>
Comment on lines +11 to +12
"!!",
"??"
Copy link
Owner Author

Choose a reason for hiding this comment

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

this is the work around

Choose a reason for hiding this comment

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

Is it two characters instead of three on purpose?

Copy link
Owner Author

Choose a reason for hiding this comment

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

yes, because the logic takes a look at the element in front of a line ending, (line ending is defined by another regex) and compares those, not including the matched regex. as the third exclamation mark is part of the regex, we only need two here

Choose a reason for hiding this comment

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

Thanks for the explanation! It would be great to get this workaround

Choose a reason for hiding this comment

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

I added this to my .markdownlint.yaml and it works. Thanks!

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.

3 participants