Add `auto` value for the block parameter in quote: `quote(block: auto)`
Description
Add an auto value to the block parameter of the quote function (i.e., quote(block: auto)).
The existing boolean values for the block parameter do not efficiently cover works that use both quotation formats, which are common in several style guides (such as APA, MLA, Chicago, ABNT, etc.). To follow these styles seamlessly without having to explicitly specify whether each citation is a block quote or not, I suggest adding a new value to the parameter: quote(block: auto), which could even become the default value.
With this value, the decision to use block: true or block: false would be determined by the context. If the quotation is placed inline within a paragraph containing other text, it would be treated as an inline quote. On the other hand, if the quotation is isolated, block formatting would be applied automatically.
Ex.
This is a regular sentence containing #quote[a short inline quotation] inside it.
#quote[
And this is a sentence that is shown in its own block.
]
[!NOTE] It would not be possible to style
quote.with(block: auto)directly because this value would internally collapse into a boolean value (trueorfalse) based on the context.
Related: #8715
Use Case
Avoid repeating the block parameter for every individual citation when documents mix both inline and block quotation formats (as required by styles like APA, MLA, or ABNT).
Source: typst/typst