testthedocs / vale-styles

Checks for Vale based on popular style guides
MIT License
45 stars 9 forks source link

Investigate new HTML checker #2

Closed ChrisChinchilla closed 5 years ago

svx commented 5 years ago

Not fully working, since it does not understand the endings of links, but this should a good begin, maybe.

grep -Eo '`here <(http|https)://[^/"]+' testfile
echo "md"
grep -Eoi '\[here]\((http|https)://[^/"]+' testfile

Here is the testfile:

This is a [link](https://heise.de/).
`here <https://example.com>`_ is rst, yeah !
[here](https://choosealicense.com/licenses/mit/)
[Here](https://sven.io) we go bla bla bla bla
svx commented 5 years ago

This is a scope in vale now, I will close this, feel free to re-open :)