mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-03 22:25:53 +00:00
Previously we added semicolons after inline commands not followed by spaces, but mainly this was to deal with one issue: the presence of a semicolon after an inline command, which would be swallowed as a command separator (#9252). This commits adopts an approach that should avoid so many superfluous semicolons: it escapes semicolons that might come right after a command. See #11196.
20 lines
356 B
Markdown
20 lines
356 B
Markdown
```
|
|
% pandoc -t typst
|
|
@something2024 says blah.
|
|
|
|
Here is a sentence [@something2024].
|
|
|
|
With supplement [@something2024, p. 3].
|
|
|
|
And just the year [-@something2024].
|
|
^D
|
|
#cite(<something2024>, form: "prose") says blah.
|
|
|
|
Here is a sentence @something2024.
|
|
|
|
With supplement @something2024[p.~3].
|
|
|
|
And just the year (#cite(<something2024>, form: "year")).
|
|
|
|
```
|