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

The same file linked to in two @@@toc @@@index files only keeps the one in root dir #371

Open
helena opened this issue Sep 13, 2019 · 2 comments

Comments

@helena
Copy link

helena commented Sep 13, 2019

File 1: /paradox/index-a.md

@@toc { depth=2 }
@@@ index

* [a-topic](common/a-topic.md)

File 2: /paradox/typed/index-a.md

@@toc { depth=2 }
@@@ index

* [a-topic](../common/a-topic.md)
  • If you only have the entry in file 2, it is in the index.
  • If you have the entry in both the root and the subdir indexes, the subdir index entry gets silently removed.
  • It is removed from the subdir index even if you name the labels differently
@helena
Copy link
Author

helena commented Sep 13, 2019

Let's raise an error if we can't have 🍰 and the entry in > 1 index too.

@helena helena changed the title The same label and link in used in two @@@toc @@@index files only keeps the one in root dir The same file linked to in two @@@toc @@@index files only keeps the one in root dir Sep 13, 2019
Copy link
Member

Ooh, cool find. The labels are not used for anything AFAIK.

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

No branches or pull requests

2 participants