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

Cardmeta improvements #248

Open
asinghvi17 opened this issue Jun 20, 2024 · 0 comments
Open

Cardmeta improvements #248

asinghvi17 opened this issue Jun 20, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@asinghvi17
Copy link
Member

asinghvi17 commented Jun 20, 2024

Documenter pipeline to move cardmeta blocks

Add a Documenter.jl pipeline to move cardmeta blocks down to the end of the page, unless the block specifies otherwise.

This would be a kwarg force=true.

In general this would have to happen at the very initial stages, before even TrackHeadings, and if we're parsing the cardmeta block anyway then we may as well add the heading if it exists. If there is a specified title then it's easy, if not then we can just rely on autocomplete in any case.

SVG support

What it says on the tin. We may want to refactor cover to hold the actual figure, and show lazily.

Auto title detection

If no title is detected, fall back to the page name.

Indicate backend and image type preference for figure blocks.

  • This would be injected into the page meta at parse time in the initial Documenter pipeline.
  • The figure block can check page.meta for defaults, we can use Arrow namespacing like MAKIE:Backend, MAKIE:Type, MAKIE:screen_kws.
@asinghvi17 asinghvi17 added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 20, 2024
@asinghvi17 asinghvi17 changed the title Add a Documenter.jl pipeline to move cardmeta blocks down to the end of the page, unless the block specifies otherwise Cardmeta improvements Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant