diff options
Diffstat (limited to 'syntax/flashcard.lang')
-rw-r--r-- | syntax/flashcard.lang | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/syntax/flashcard.lang b/syntax/flashcard.lang new file mode 100644 index 0000000..267f5b2 --- /dev/null +++ b/syntax/flashcard.lang @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<language id="flashcard" _name="Flashcard" version="2.0" _section="Markup"> + <metadata> + <property name="globs">*.fcard</property> + </metadata> + + <styles> + <style id="card_front" _name="card header" map-to="def:type" /> + </styles> + <definitions> + <context id="flashcard"> + <include> + <context id="card_front" style-ref="card_front"> + <start>CARD:</start> + <end>$</end> + </context> + </include> + </context> + </definitions> +</language> |