summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flashcard.lang21
1 files changed, 21 insertions, 0 deletions
diff --git a/flashcard.lang b/flashcard.lang
new file mode 100644
index 0000000..dd113b4
--- /dev/null
+++ b/flashcard.lang
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<language id="flashcard" _name="Flashcard" version="2.0" _section="Markup">
+ <metadata>
+ <property name="mimetypes">text/plain</property>
+ <property name="globs">*.</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>