Git Product home page Git Product logo

Comments (5)

DavidAnson avatar DavidAnson commented on July 22, 2024 1

Great, thank you! The way this rule runs, duplicate links like you have here can cause confuse it. I'll have a look soon.

from markdownlint-cli.

DavidAnson avatar DavidAnson commented on July 22, 2024 1

https://github.com/igorshubovych/markdownlint-cli/releases/tag/v0.33.0

from markdownlint-cli.

DavidAnson avatar DavidAnson commented on July 22, 2024

Can you show an example document where that happens, please? Testing your example URL with the library shows that it stops reporting the presence of a bare URL after the fix is applied once, so your scenario won't happen.

https://dlaa.me/markdownlint/#%25m%23%20Issue%20339%0A%0Ahttps%3A%2F%2Fgithub.com%2Fsnowplow%2F%0A

from markdownlint-cli.

nschonni avatar nschonni commented on July 22, 2024

I remember hitting that before, but I haven't seen it in awhile. Can you reproduce it running the normal CLI from the commandline?

from markdownlint-cli.

Kristina-Pianykh avatar Kristina-Pianykh commented on July 22, 2024

The source file to run the command against:

| Homepage                               | Source code repository                                             | Language framework | License                                | License Link                                              |
|----------------------------------------|--------------------------------------------------------------------|--------------------|----------------------------------------|-----------------------------------------------------------|
| https://snowplowanalytics.com/         | https://github.com/snowplow/stream-collector/                      | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/stream-collector/             |
| https://snowplowanalytics.com/         | https://github.com/snowplow/snowplow/tree/master/3-enrich          | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/snowplow/tree/master/3-enrich |

The result after running running markdownlint --fix "<path_to_file>" 1st time:

| Homepage                                 | Source code repository                                             | Language framework | License                                | License Link                                              |
|------------------------------------------|--------------------------------------------------------------------|--------------------|----------------------------------------|-----------------------------------------------------------|
| <https://snowplowanalytics.com/>         | <https://github.com/snowplow/stream-collector/>                    | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/stream-collector/             |
| <https://snowplowanalytics.com/>         | <https://github.com/snowplow/snowplow/tree/master/3-enrich>        | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/snowplow/tree/master/3-enrich |

Running the 2nd time:

| Homepage                                 | Source code repository                                             | Language framework | License                                | License Link                                              |
|------------------------------------------|--------------------------------------------------------------------|--------------------|----------------------------------------|-----------------------------------------------------------|
| <https://snowplowanalytics.com/>         | <<https://github.com/snowplow/stream-collector/>>                  | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/stream-collector/             |
| <https://snowplowanalytics.com/>         | <<https://github.com/snowplow/snowplow/tree/master/3-enrich>>      | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/snowplow/tree/master/3-enrich |

Running the 3rd time:

| Homepage                                 | Source code repository                                             | Language framework | License                                | License Link                                              |
|------------------------------------------|--------------------------------------------------------------------|--------------------|----------------------------------------|-----------------------------------------------------------|
| <https://snowplowanalytics.com/>         | <<<https://github.com/snowplow/stream-collector/>>>                | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/stream-collector/             |
| <https://snowplowanalytics.com/>         | <<<https://github.com/snowplow/snowplow/tree/master/3-enrich>>>    | Misc.              | Apache-2.0 (Apache License, v2.0)      | https://github.com/snowplow/snowplow/tree/master/3-enrich |

Note that the urls in the 1st column are formatted just once, no matter how many times the command is run, while the urls in the last column remain unaffected by the formatting.

from markdownlint-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.