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

No replacement when inside a callout #1

Closed
francojc opened this issue May 30, 2023 · 2 comments
Closed

No replacement when inside a callout #1

francojc opened this issue May 30, 2023 · 2 comments

Comments

@francojc
Copy link

I have an issue with search-replace inside of callouts.

In the _quarto.yml I have:

filters:
  - search-replace
search-replace:
  +hello: "Hello world"

In a .qmd document the replacement works outside of the callout, but not inside.


## +hello <!-- returns: "Hello world" -->

::: {.callout}

## +hello <!-- returns: "+hello" -->

...Callout text...

:::

Is there a workaround for this issue?

@ute
Copy link
Owner

ute commented May 31, 2023

Thank you for reporting this issue and for the mwe, @francojc 👍 Which version of quarto are you using?

It affects both header and text within a callout, at least in quarto 1.3 :-/

I don't know any workaround, but it is a good issue for a next version :-)

@ute ute added good first issue Good for newcomers and removed good first issue Good for newcomers labels May 31, 2023
@ute
Copy link
Owner

ute commented May 31, 2023

@francojc : The issue is fixed, for quarto 1.3.

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

No branches or pull requests

2 participants