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

Supporting nested tags #571

Open
daetanbhuck opened this issue Apr 14, 2024 · 2 comments
Open

Supporting nested tags #571

daetanbhuck opened this issue Apr 14, 2024 · 2 comments

Comments

@daetanbhuck
Copy link

Hello, I'm using nested tags and Obsidian_to_Anki only captures the first part of the tag. Would you please add nested tag support?

Desired behavior: Nested Obsidian tag becomes nested Anki tag. For example: #patent/21/10 becomes patent::21::10 in Anki.

The issue: #patent/21/10 becomes the tag patent and the "/21/10" is appended to the end of the card field.

Here are two examples:

  1. an apparatus described by function is anticipated or obvious when::the function of an apparatus is inherent in the prior art is #patent/21/14
  • Front: an apparatus described by function is anticipated or obvious when
  • Back: the function of an apparatus is inherent in the prior art is /21/14
  • Tag: patent
  • Desired tag: patent::21::14
  1. Q: a material or article worked upon by an apparatus
    A: does not impart patentability #patent/21/15
  • Front: a material or article worked upon by an apparatus
  • Back: does not impart patentability /21/15
  • Tag: patent
  • Desired tag: patent::21::15
@daetanbhuck
Copy link
Author

Also, using Anki-style tags in Obsidian has the same problem. The tag is patent and the "::21::14" is added to the card field.

@envico801
Copy link

envico801 commented Apr 16, 2024

Hi, in #551 we were discussing a very similar problem, @panAtGitHub created a PR, #566 fixes this, it's all explained in the comments.

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