Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document using modifiers to use same type of output format with variants #7371

Open
cderv opened this issue Oct 26, 2023 · 0 comments
Open
Assignees
Labels
documentation Doc improvements & quarto-web triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone.
Milestone

Comments

@cderv
Copy link
Collaborator

cderv commented Oct 26, 2023

Is this a new currently undocumented feature or is this described somewhere in the documentation?

I would say this is an undocumented feature for now. We do handle specifically unknown Pandoc's extension as modifiers to differentiate format

// Format strings are of the form:
// baseName+<variants | modifiers>-<variants>[<extension>]
// Where modifiers and variants can be in any order
// and basename must start the string and extension must end the string
export const parseFormatString = (formatStr: string): FormatDescriptor => {
// acm-pdf+foo
// gfm-raw_html
// acm-2023-pdf+foobar
// pdf
// acm
// acm-gfm-raw_html <-- not allowed

It is related to this one that works now better on 1.4

as reference from past discussion to document better

We should probably document this better indeed.

Originally posted by @cderv in #7325 (comment)

@cderv cderv added the documentation Doc improvements & quarto-web label Oct 26, 2023
@cscheid cscheid added this to the v1.4 milestone Nov 30, 2023
@cwickham cwickham modified the milestones: v1.4, v1.5 Jan 16, 2024
andrewheiss added a commit to andrewheiss/mountainous-mackerel that referenced this issue Apr 18, 2024
Use pandoc extension modifiers to make different versions of the PDFs instead of profiles (quarto-dev/quarto-cli#7371)
@cwickham cwickham added the triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone. label Jun 24, 2024
@cderv cderv modified the milestones: v1.5, v1.6 Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Doc improvements & quarto-web triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone.
Projects
None yet
Development

No branches or pull requests

3 participants