What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

I frequently format function / variable names as monospace blocks for easier reading, but at the same time I often want to create hyperlinks of them to the relevant documentation. However, you can't do both.

Examples:

  • monospace only

  • hyperlink only

  • [monospace hyperlink](http://www.example.com)

I'd like the last one to work, but as you can see it doesn't.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Yes you can (do both):

monospace hyperlink

Code:

[`monospace hyperlink`](http://www.example.com)

You just have to put backticks inside the square bracket links.

share|improve this answer
    
Awesome! Now why didn't I think of that? Thanks! –  marcog Dec 21 '10 at 12:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .