progit / progit2

Pro Git 2nd Edition
Other
5.87k stars 1.93k forks source link

Fix lingering Markdown for git-send-email.io #1603

Closed noelleleigh closed 3 years ago

noelleleigh commented 3 years ago

Changes

Context

Builds on #1489

HonkingGoose commented 3 years ago

@noelleleigh Good catch! I got my Markdown and my Asciidoctor link format mixed up... 🙃

I like the window _blank property you're using with the caret!

Quote from Asciidoctor writers guide, links and images:

Since _blank is the most common window name, we’ve introduced shorthand for it. Just end the link text with a caret (^):

Let's view the raw HTML of the link:view-source:asciidoctor.org[Asciidoctor homepage^].

Maybe we should use that by default, so that the ProGit 2 book stays open in the original tab whenever you click on an external link.