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

Concatenate headings in order of level for Header paragraph style #575

Open
gruberjonas opened this issue Apr 20, 2024 · 1 comment
Open

Comments

@gruberjonas
Copy link

gruberjonas commented Apr 20, 2024

I want to propose an option for handling header levels slightly different in paragraph style. Or inculde a new style alltogether probably.

Basically if you have a document with this text:

filename.md

Heading 1

Heading 2

Some Text

and generate a card from it using the "header paragraph style", it would result in the following card:

Front:
filename - Heading 1 - Heading 2
Back:
Some Text

That would make it more convenient to work with header levels imo (depending on usecase). It would also prevent duplicate cards, if you use the same header in different document.
Also, the delimiter (" - ") could be anything really. Bonus points for option to choose one! And removing the file extension. ;)

Best and a nice weekend,
Jonas

@gruberjonas
Copy link
Author

Just realised I can simply use the context for that!!

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

1 participant