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

[BUG] Only one subtag per file is represented as deck #691

Closed
phylome opened this issue May 30, 2023 · 4 comments
Closed

[BUG] Only one subtag per file is represented as deck #691

phylome opened this issue May 30, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@phylome
Copy link

phylome commented May 30, 2023

Describe the bug
When defining subtags in a file to represent flashcards in different decks, only one, namely the first in the file, is represented as a card deck. The others don't appear.

To Reproduce
Steps to reproduce the behavior:

  1. Create a file Unit 5 with the following content:
# Vocab - the football match

#English/Unit-5/Vocab

gewinnen:::to win
verlieren:::to lose

# Grammar - modal verbs

#English/Unit-5/Grammar

must::to have to
may::to be allowed to
  1. Issue command Select a deck to cram or Review flashcards
  2. The following deck hierarchy appears:
  • English
    • Unit-5
      • Vocab

Grammar is missing.

Expected behavior
Two decks will appear with the following hierarchy

  • English
    • Unit-5
      • Grammar
      • Vocab

Versions (please complete the following information):

  • OS: Linux Ubuntu 20.04
  • Obsidian version: 1.3.4
  • Plugin version: 1.10.1

Additional context
Add any other context about the problem here (e.g. the markdown producing the error).

@phylome phylome added the bug Something isn't working label May 30, 2023
@sam-messina
Copy link

sam-messina commented Aug 24, 2023

is there any workaround for this? seems like there should be a simple way to separate with some kind of < end-tag > line, so that you can keep multiple decks in the same file

@Lucas256-cmd
Copy link

I have the same problem. I thought a tag was valid until the next tag or next heading but it is valid for the whole file I think.

@ronzulu
Copy link
Collaborator

ronzulu commented Jan 12, 2024

Hi all, I have completed the update but would appreciate beta testing and feedback before I finalise the PR.

The draft PR together with the updated code is available at:
#834

Cheers
Ronny

@ronzulu
Copy link
Collaborator

ronzulu commented Mar 19, 2024

Released into 1.12.0

@ronzulu ronzulu closed this as completed Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants