@@ -4949,12 +4949,15 @@ Inline and regular footnotes may be mixed freely.
4949#### Extension: `citations` ####
4949#### Extension: `citations` ####
4951Markdown citations go inside square brackets and are separated
4951Markdown citations go inside square brackets and are separated
4952−by semicolons. Each citation must have a key, composed of '@' +
4952+by semicolons. Each citation must have a key and may optionally
4953−the citation identifier from the database, and may optionally
4954−have a prefix, a locator, and a suffix. The citation key must
4953+have a prefix, a locator, and a suffix. The citation key
4954+consists of `@` plus the citation identifier, possibly
4955+enclosed in curly braces. If the identifier starts
4955−begin with a letter, digit, or `_`, and may contain
4956+with a letter, digit, or `_`, followed by zero or more
4956alphanumerics, `_`, and internal punctuation characters
4957alphanumerics, `_`, and internal punctuation characters
4958+(`:.#$%&-+?<>~/`), then the curly braces may be omitted.
4959+Identifiers may not contain whitespace characters or unbalanced
4957−(`:.#$%&-+?<>~/`). Here are some examples:
4960+curly braces. Here are some examples:
4959 Blah blah [see @doe99, pp. 33-35; also @smith04, chap. 1].
4962 Blah blah [see @doe99, pp. 33-35; also @smith04, chap. 1].
@@ -4962,6 +4965,8 @@ alphanumerics, `_`, and internal punctuation characters
4963 Blah blah [@smith04; @doe99].
4966 Blah blah [@smith04; @doe99].
4968+ Blah blah [@{https://example.com/bib?name=foobar&date=2000}, p. 33].
4965`pandoc` detects locator terms in the [CSL locale files].
4970`pandoc` detects locator terms in the [CSL locale files].
4966Either abbreviated or unabbreviated forms are accepted. In the `en-US`
4971Either abbreviated or unabbreviated forms are accepted. In the `en-US`
4967locale, locator terms can be written in either singular or plural forms,
4972locale, locator terms can be written in either singular or plural forms,