-
Notifications
You must be signed in to change notification settings - Fork 59
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
Adding trailing backslash rule #899
base: main
Are you sure you want to change the base?
Conversation
Fixes #857 |
🎊 Navigate the preview: https://redhat-documentation-vale-at-red-hat-899.surge.sh 🎊 |
fa069f1
to
9e54a54
Compare
9e54a54
to
9376b5c
Compare
.Example | ||
[source,terminal] | ||
---- | ||
$ az role assignment create --role "<privileged_role>" \// <1> |
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.
Could you add a "normal" backslash without a callout to the testvalid file?
$ az role assignment \
create --role "<privileged_role>"
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.
This will trigger the rule. I'll see if I can refine the regex to cater for this.
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.
I ran into a similar issue when I tried to create a Vale rule that would flag lines in code that were missing backslashes. :-( Never did find a good solution.
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.
Could handle it with a script rule for sure.
d295423
to
792bc2a
Compare
792bc2a
to
347655f
Compare
Trailing backslashes in codeblocks break the openshift-docs Asciibinder build.