Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global anchors, reflink #855

Merged
merged 2 commits into from
Jul 27, 2021
Merged

global anchors, reflink #855

merged 2 commits into from
Jul 27, 2021

Conversation

tlienart
Copy link
Owner

@tlienart tlienart commented Jul 27, 2021

closes #854 (cc @jkrumbiegel)

Syntax:

[this is a link](\reflink{some id}) 

on another page either

## some id

or 

\label{some id}

(white spaces are allowed).

Notes:

  • if there's no header name clash or anchor name clash, this should just work
  • if the same page has the same header multiple times, these get numbered and the number has to be referenced in the some id above
  • if multiple pages have the same anchor, you get no guarantee of which link you'll get

Long story short, if you're using this, try not to have clashing references.

@tlienart tlienart merged commit 4ba6d90 into master Jul 27, 2021
tlienart added a commit that referenced this pull request Sep 19, 2021
tlienart added a commit that referenced this pull request Sep 19, 2021
* fix for empty exs need test

* closes #855

* patch release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cross page referencing a-la Documenter
1 participant