Skip to content

Link syntax question #421

Answered by vhyrro
sarmong asked this question in Syntax
Apr 5, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Heyo, descriptions can actually be placed in front of the link, like this: [description]{# link}. Do note that this syntax is an anchor versus a regular plain link. Anchors are the same thing as links when used standalone, so you can interoperate them as you see fit. Anchors just add an extra level of optional features:

Check out this [blog].

This is my [blog]{https://my-blog.example.com}.

The first line's [blog] link will directly link to https://my-blog.example.com, because Neorg will see that you've defined the location for [blog] lower down below. This isn't a feature you need to use though, so [title]{link} is completely valid on its own. Check here for more info if you want :)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@max397574
Comment options

@sarmong
Comment options

Comment options

You must be logged in to vote
1 reply
@sarmong
Comment options

Answer selected by sarmong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants