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

Implement "Cardblock"-Syntax Parsing #4

Closed
CallMeCrazYN opened this issue Jun 23, 2023 · 0 comments
Closed

Implement "Cardblock"-Syntax Parsing #4

CallMeCrazYN opened this issue Jun 23, 2023 · 0 comments
Assignees

Comments

@CallMeCrazYN
Copy link
Collaborator

To define a card with this syntax one simply has 3(or 2) Syntax-Elements that wrap around the different sections of the card.

Card Begin: Identifies the beginning
p.e.: {card}

Card Separator: "Flips" the card over. Identifies the next card side
p.e.: ----
Card End: Ends the card.
p.e.: {end}

(i would prefer the Separator and end to be the same element.
so the second occurence of the separator would stop the card)

To create a valid card with this syntax, 2 options exist:

Option 1:

{card} 

Question/Front of Card

----

Answer/Backside

----

Option 2:

{card}

Question/Front of Card

----

Answer/Backside

{card}
.....
...
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