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

replacing content for export #1353

Open
brookisme opened this issue Jun 22, 2024 · 1 comment
Open

replacing content for export #1353

brookisme opened this issue Jun 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@brookisme
Copy link

I'd like to be able to replace content for exports. I am particularly interested in replacing interactive charts for export but I see no reason to restrict it to this use case.

The problem:

Currently placeholder: can be used to replace interactive content however one also needs to replace the caption - for the interactive chart one needs directions on how to use it, and for the static figure on needs to be able to describe the figure.

Proposal

Proposed Syntax:

:::{figure} #nb.county_map
:label: fig.county_map
:export: web

My interactive caption
:::

:::{figure} http://url.to/my_static/image
:label: fig.county_map
:export: pdf+tex

My Static caption
:::
@brookisme brookisme added the enhancement New feature or request label Jun 22, 2024
@agoose77
Copy link
Contributor

Maybe a duplicate of #1280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants