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

hierarchy notes should support next prev field #327

Closed
Tracked by #328
HananoshikaYomaru opened this issue Feb 7, 2022 · 6 comments · May be fixed by #496
Closed
Tracked by #328

hierarchy notes should support next prev field #327

HananoshikaYomaru opened this issue Feb 7, 2022 · 6 comments · May be fixed by #496

Comments

@HananoshikaYomaru
Copy link
Contributor

thanks 🔥

Thanks for the continuous improvement of the plugin. I honestly think this is one of the greatest plugin in the community.

request

As title. The current hierarchy note only support up same down relation. The following should be supported such that people can stick to this hierarchy option.

- [[1]]
  - [[1.1]]
    - next [[1.2]]
    - [[1.1.1]]
    - [[1.1.2]]
    - [[1.1.3]]
  - [[1.2]]

[[1.2]] appear two times in the hierarchy. One is for down relation of [[1]], one is for next relation of [[1.1]].

I hope this make sense.❤️

@SkepticMystic
Copy link
Owner

This is a reasonable FR, I'll see if I can make it happen!

@SkepticMystic
Copy link
Owner

@HananoshikaYomaru I've added support for this in the latest update (hasn't been released yet as of writing this). Please let me know if it works for you

@Cammagno
Copy link

Cammagno commented Apr 17, 2022

now that there is a way to specify a (different) prev-next order in hierarchy notes,
what about setting it to consider by default that the following item in a list (at the same level) is next to the previous one?

e.g.:

- [[1]]
  - [[1.1]]
    - [[1.1.1]]
    - [[1.1.2]]
    - [[1.1.3]]
  - [[1.2]]

1.2 is next of 1.1
1.1.3 is next of 1.1.2 which is next of 1.1.1

@adzcai
Copy link

adzcai commented Jul 10, 2023

I'd also like this feature! I believe it was also requested in #392

@jiajiala
Copy link

`- [[xx]]

  • [[dd]]
    • [[dd~]]
    • [[dd~x]]
  • [[oo]]`

Structures like this should be recognizable by nature
oo is next of dd

@SkepticMystic
Copy link
Owner

The original FR is implemented as requested. You can override the default field using - <field> [[note]].
I'm working on the related issue, and will track progress there.

Thank you to @adzcai for your PR. Unfortunately the timing didn't work with my rewrite to v4, but I appreciate your effort nonetheless!

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 a pull request may close this issue.

5 participants