Skip to content

Instantly share code, notes, and snippets.

@loganlinn
Last active January 22, 2022 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loganlinn/6bc028136d180b35b6ecff43a5177424 to your computer and use it in GitHub Desktop.
Save loganlinn/6bc028136d180b35b6ecff43a5177424 to your computer and use it in GitHub Desktop.
GitHub-Flavored Org tests
** Internal links
   :PROPERTIES:
   :ID:       0d2b0cb2-116c-4a61-a076-4c641faf4346
   :END:

Internal links

Inline anchors

Anchors are used to specify hypertext link targets.

<<anchor>> Inline anchors make arbitrary content referenceable.

<<anchor>> Inline anchors make arbitrary content referenceable.

Internal cross references

Links generally point to an headline.

See chapter [[#links][Links]].

See chapter Links.

To add a link to a figure (e.g., “See Figure 1”), just do:

#+name: fig
#+caption: caption
[[file:fig.png]]

See figure [[fig]].

fig.png

See figure fig.

You can also create a hypertext link to a document anchor in the current document or in another document.

See:
- Location [[anchor][cross reference]].
- Section [[id:0d2b0cb2-116c-4a61-a076-4c641faf4346][Internal links]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment