Custom Markdown Features.md
... ...
@@ -46,3 +46,33 @@ __underline__
46 46
47 47
## Tags spec (WIP)
48 48
Tag body regexp: `\w+(\.\w+)*:?`
49
+- simple tags
50
+ - `pitch_accent`
51
+ - `kanji`
52
+- tags with namespaces
53
+ - `status.draft`
54
+ - `status.finished`
55
+- tags with parameters
56
+ - `date_published:`
57
+ - `author:`
58
+ - `language:pl`
59
+
60
+- aliases
61
+ - `language.polish -> language:pl`
62
+ - `color.red -> colour.red`
63
+
64
+- parameters -- can be anything depending on the tag
65
+ - `release_date:2005` -- released in 2005
66
+ - `release_date:<2000` -- released before 2000
67
+ - `release_date:>=2010` -- released in 2010 or later
68
+
69
+- operators
70
+ - space " " or comma "," -- AND clause
71
+ - `status.finished language:pl` or `status.finished, language.pl` -- finished artilces in Polish
72
+ - pipe "|" -- OR clause
73
+ - `status.draft | status.finished` -- both draft and finished articles
74
+ - exclamation mark "!" -- NOT clause
75
+ - `!language.polish kanji` -- articles about kanji not written in Polish
76
+ - square brackets "[]" -- iteration
77
+ - `release_date:[>2000 <=2005]` -- articles released after 2000 up to 2005
78
+ - `status.[draft | finished]` -- both draft and finished articles
... ...
\ No newline at end of file