summaryrefslogtreecommitdiff
path: root/meta/styletest/src.md
diff options
context:
space:
mode:
Diffstat (limited to 'meta/styletest/src.md')
-rwxr-xr-xmeta/styletest/src.md30
1 files changed, 20 insertions, 10 deletions
diff --git a/meta/styletest/src.md b/meta/styletest/src.md
index 4da9599..bc2a781 100755
--- a/meta/styletest/src.md
+++ b/meta/styletest/src.md
@@ -73,25 +73,35 @@ Within one stem; And dreadfully distinct | against the dark, a tall white founta
- [Chicago-like](https://www.scribbr.com/chicago-style/citation-examples/)
```
-citation = author-field ' ' title-field (' ' date-field)? (' ' medium-field)? (' ' note '.')*
+citation
+ = author-field ' ' title-field (' ' date-field)? (' ' medium-field)? (' ' note '.')*
-author-field = (author | author-pair | author-list) '.'
+author-field
+ = (author | author-pair | author-list) '.'
-author-pair = author ' & ' author
+author-pair
+ = author ' & ' author
-author-list = author (', ' author)+
+author-list
+ = author (', ' author)+
-title-field = '“' title '.”'
+title-field
+ = '“' title '.”'
-date-field = year ('-' month '-' day)? '.'
+date-field
+ = year ('-' month '-' day)? '.'
-year = [0-9]{4} /* 0000-9999 */
+year
+ = [0-9]{4} /* 0000-9999 */
-month = [0-9]{2} /* 01-12 */
+month
+ = [0-9]{2} /* 01-12 */
-day = [0-9]{2} /* 01-31 */
+day
+ = [0-9]{2} /* 01-31 */
-medium-field = medium (', ' details)? '.'
+medium-field
+ = medium (', ' details)? '.'
```
Values of `author`, `title`, `medium`, `details`, and `note` are specific to the works they describe.