doc: Add section store/tagging

This commit is contained in:
Matthias Beyer 2016-02-04 13:51:46 +01:00
parent fa5d1553dd
commit b4d88c72bf

13
doc/src/02020-tagging.md Normal file
View file

@ -0,0 +1,13 @@
## Tagging entries {#sec:thestore:tagging}
A store entry MAY be tagged. A tag is a String which matches the
regular expression in @lst:tagging:regex
```{#lst:tagging:regex .numberLines caption="Regular Expression for Tags"}
/^[a-zA-Z]([a-zA-Z0-9_-]*)$/
```
Tags MUST BE stored in the header section "imag" in the key "tags" as an Array
of Strings.
The tags MUST BE sorted in alphabetical order.