Skip to content

feat: santize markdown links #847

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liammoat
Copy link

@liammoat liammoat commented Apr 7, 2025

Description of your changes

This pull request updates sanitize method which is used to soothe markdown linters. In particular, the update adds a method to sanitize bare links (a violation of markdownlint rule MD034).

Fixes #601

I have:

How has this code been tested

I have test various combinations of edits to the example module, including add bare links in header/footer, output descriptions, and providers. In each scenario, I have validated that bare links are sanitized with <> formatting. For example:

image

@liammoat liammoat force-pushed the feat/santize-markdown-links branch 3 times, most recently from 02bff2d to c2db0fb Compare April 15, 2025 08:14
@liammoat liammoat force-pushed the feat/santize-markdown-links branch from c2db0fb to 58edf59 Compare April 15, 2025 08:16
Signed-off-by: Liam Moat <contact@liammoat.com>
@liammoat liammoat force-pushed the feat/santize-markdown-links branch from 58edf59 to cb0dcdb Compare April 15, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MD034 - Bare URL used from markdown-lint for git::https:// sources
1 participant