DEV Community

bobby.j iveson@gmail.com
bobby.j iveson@gmail.com

Posted on

Adding a link to my post to a comment

Hi all, how do I share a post or rather add a link to one of my posts to a comment I make in another post?

Top comments (5)

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard • Edited

You go to dev.to/bobzee

Find a comment URL like dev.to/bobzee/comment/l3p7

You use the liquid tag:

{% devcomment l3p7 %}

Which gives:

Yeh, no probs and thanks again ;)

I've been using IntelliJ. I'll defo have a look through and see what I can learn from your code or what I can do to add to it.

Bookmark the DEV.to editor guide here:

dev.to/p/editor_guide

Collapse
 
bobbyiveson profile image
bobby.j iveson@gmail.com

Hi thanks that's very helpful but what if I want to put a link to a 'post' instead of a comment.

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard • Edited

Do you mean like this?
dev.to/bobzee/adding-a-link-to-my-...

Or like this?

{% link https://dev.to/bobzee/career-changes-into-software-development-mif %}

Thread Thread
 
bobbyiveson profile image
bobby.j iveson@gmail.com

Ahh, that's exactly looking for both ways would be useful!!

Thanks, how did you do the latter?

Thread Thread
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard

Look at my comment or at the editor guide :)

dev.to/p/editor_guide