flashcards-obsidian
flashcards-obsidian copied to clipboard
YAML Frontmatter too gets inserted in the front.
NOTE: Do you have the last version of the plugin? If not that's probably the problem
Describe the bug When a heading is just after the YAML frontmatter, the YAML gets inserted in the front of the card
To Reproduce
- Steps to reproduce the behavior:
- Create YAML Frontmatter
- Write a heading with
#card
just after the --- with no empty line - Generate flashcards.
Expected behavior
Only the heading with #card
is supposed to be in the front of the card
The Note
---
tags: study, science, chem
academic_year: 2023-24
date: March 24, 2023
cards-deck: Science::Chemistry::Chemical Reactions and Equations
---
# What are the factors of determining chemical change? #card
## Factors
- Change of State
- Change of Colour
- Evolution of a Gas
- Change in Temperature.
Additional context If we add an empty line just after the YAML, the problem gets resolved and only the heading is added.
Thank you for taking the time to report the issue and help me to make the project better! 🙂