Skip to content
Discussion options

You must be logged in to vote

Thanks, yep I got it working now. In case someone comes across this post in the future:

Lesson 1

The custom format (format-c in my case) definition in _extension.yml needs to compile properly before we try to embed the sub-filter. So first embed the filter with quarto add path/to/filter/ --embed format-c and only then add filters: code into _extensions.yml for format-c. i.e. don't get ahead of yourself

Lesson 2

The custom format yml should say:

contributes:
  format:
    html:

Note html not format-c or format-c-html.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@david-hodge
Comment options

@david-hodge
Comment options

@mcanouil
Comment options

mcanouil Oct 1, 2025
Collaborator

@david-hodge
Comment options

Answer selected by david-hodge
@mcanouil
Comment options

mcanouil Oct 1, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
extensions relates to Quarto extensions mechanism
2 participants