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

Add Consistency Rules for Emphasis and Strong #215

Merged
merged 2 commits into from
Jun 3, 2022

Conversation

pjkaufman
Copy link
Collaborator

Added rules to make strong and emphasis consistent. It took a little longer than I would like to get the tests to pass because of some issue with dedent not removing all spaces (probably an error on my part).

Relates to #32 (adds MD49 and MD50)

MD049 emphasis-style - Emphasis style should be consistent
MD050 strong-style - Strong style should be consistent

Changes Made:

  • Added makeEmphasisOrBoldConsistent to handle the consistency rules for emphasis and strong. It allows for consistent, asterisk, and underscore
  • Added rules Emphasis Style and Strong Style to account for those 2 styles

@pjkaufman pjkaufman added the rule suggestion Suggestion to add or edit a rule label Jun 3, 2022
@pjkaufman pjkaufman self-assigned this Jun 3, 2022
@pjkaufman pjkaufman merged commit 57aeeb5 into platers:master Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule suggestion Suggestion to add or edit a rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant