Kamil Zielinski
Kamil Zielinski

Reputation: 171

Markdown - code as link in GitHub readme

I wanted to create inline span of code that links to other page.

I want to use

`MongoCollection`

and

[MongoCollection](#http://php.net/manual/en/class.mongocollection.php)

together to make a link on a code element.

I tried

[`MongoCollection`](#http://php.net/manual/en/class.mongocollection.php)

and

`[MongoCollection](#http://php.net/manual/en/class.mongocollection.php)`

Both didn't work.

Is there any way to do that?

Upvotes: 2

Views: 2115

Answers (1)

SnapShot
SnapShot

Reputation: 5544

Could you explain a bit more about what you mean by inline span of code? This works in Github and links the MongoCollection link to the Mongo Collection php manual page.

[MongoCollection](http://php.net/manual/en/class.mongocollection.php)

Is that what you are looking for?

Upvotes: 1

Related Questions