Closed tymonx closed 1 year ago
alex takes markdown (or MDX, or HTML) as input. I recommend using a markdown link around URLs: [descriptive text](url)
.
URLs can be changed by the owner (with some effort), it makes sense to me to bring up insensitive words in them.
The example brought up uses man
as an abbreviation of manual
, so it an unfortunate exception.
You could disable this rule for this line
<!--alex ignore gals-man-->
Hey!
If you use markdown or HTML, you can use the markdown (or HTML) structures to turn links into links: [descriptive text](the-url)
.
This is intentional: that we check prose. And that we don’t check syntax. Use the syntax provided by the markdown (or HTML) language and it works here!
Also agreeing with @etrobert that anything could be checked. If you want that, use --text
!
Closing as you can use markdown/HTML syntax!
Subject of the issue
Violation from URLs should be skipped because URL links cannot be changed. Example:
It contains word
man
.Your environment
podman
podman run -it --rm registry.gitlab.com/pipeline-components/alex:0.21.9 --version
podman run -it --rm registry.gitlab.com/pipeline-components/alex:0.21.9 env
Steps to reproduce
alex
:Expected behaviour
It should return status code
0
(success) without printing anything to standard output or error output.Actual behaviour
It returns status code
1
and prints: