Obsidian_to_Anki
Obsidian_to_Anki copied to clipboard
Custom Regex Request: Header title as front and back with table conversion and other multi-line fields
This is the markdown format that a note would have before being converted:
TARGET DECK: French Vocabulary
FILE TAGS: IrVerb
START
Fr-conj
### faire - to do
| | |
| ---- | --- |
| Je | {fais} |
| Tu | {fais}|
| Il | {fait}|
| Nous | {faisons}|
| Vous | {faites}|
| Ils | {font}|
**Notes:** This is an irregular verb
yes it is
**Picture:** picture
**Examples:** exomple
**Synonyms:** synonyms!!
END
(It would be great if I don't have to have the curly brackets in the table, but it is tolerable.)
How the flashcard's fields would look like:
Currently, I am using https://regex101.com/r/HhUlKu/1 but obsidian to Anki just puts everything into 1 field. Furthermore, this regex doesn't ignore the table formatting and doesn't convert it into lines. (The bolding in this link is a little different, but this doesn't matter too much.)
It would be great if help could be offered for this regex.
Thanks!