markdownlint/test/spaces_inside_link_text.md

1.1 KiB

Spaces Inside Link Text

foo

"foo"

foo

foo

foo

foo "bar"

{MD039}

foo {MD039}

foo {MD039}

foo {MD039}

"foo" {MD039}

foo {MD039}

foo {MD039}

foo {MD039}

The following shouldn't break anything: Screenshot.png

function CodeButNotCode(input) { return input.replace(/- /g, "one"); // {MD039} }

function MoreCodeButNotCode(input) { input = input.replace(/- /g, "two"); // {MD039} input = input.toLowerCase(); input = input.replace(/- /g, "three"); // {MD039} return input; }

Links
with
error

Wrapped link with leading space {MD039}

Non-wrapped link with leading space {MD039}

link

link {MD039}

link {MD039}

link {MD039}