Using URLs with Parenthesis in Markdown Links

Some URLs contain parenthesis which can cause problems with Markdown links.

Some URLs contain parentheses, which can cause problems with Markdown links. The most reliable fix is to percent-encode the parentheses in the URL: replace ( with %28 and ) with %29. Only the URL portion needs encoding — the link text in square brackets can keep parentheses as-is.

For example, instead of:

[PC Tools](http://en.wikipedia.org/wiki/PC_Tools_(Centeral_Point_Software))

Use:

[PC Tools](http://en.wikipedia.org/wiki/PC_Tools_%28Centeral_Point_Software%29)

Alternative: You can also try escaping parentheses with a backslash (\( and \)), though this may not work on all platforms:

[test me](http://en.wikipedia.org/wiki/PC_Tools_\(Centeral_Point_Software\))

 

Capture life’s moments, anytime, anywhere.

Download the free Day One journal app for free on iPhone, Android, iPad, Mac, and Apple Watch. Or access your Day One Journal from any browser.