You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get code highlighting in HTML AND PDF I have to include the code file with different path:
`
::: {.content-visible when-format="html"}
```{.c include="../code/test.c"}
```
:::
::: {.content-visible when-format="pdf"}
```{.c include="./code/test.c"}
```
:::
`
On this way I get the code highlighting in html and pdf.
I attached the complete test project. GBSSG_Skripte_030_Physik.zip
Quarto Version: 1.2.334 with installed include-code-files extension.
Thank you very much for your help
regards
Mike
The text was updated successfully, but these errors were encountered:
I found the same issue when rendering HTML and MS.
I have to hard code the absolute path in include-code-filters.lua in order to make it work in both formats:
I figures out some more details and according to your request from here quarto-dev/quarto-cli#4340 (comment) I will open this issue:
To get code highlighting in HTML AND PDF I have to include the code file with different path:
`
::: {.content-visible when-format="html"}
```{.c include="../code/test.c"}
```
:::
::: {.content-visible when-format="pdf"}
```{.c include="./code/test.c"}
```
:::
`
On this way I get the code highlighting in html and pdf.
I attached the complete test project.
GBSSG_Skripte_030_Physik.zip
Quarto Version: 1.2.334 with installed include-code-files extension.
Thank you very much for your help
regards
Mike
The text was updated successfully, but these errors were encountered: