Include the contents of a source file (.py, .c, etc...) inside a codeblock. #4077
Answered
by
cderv
Adam-Antios
asked this question in
Q&A
-
It would be very useful to be able to include the contents of a source file using the command
directly into a code block in order to be rendered as code, with proper formatting and code highlighting. |
Beta Was this translation helpful? Give feedback.
Answered by
cderv
Jan 24, 2023
Replies: 1 comment 1 reply
-
I believe this can be done today using this extension https://github.com/quarto-ext/include-code-files that you can add to your project Did you try already ? Also related feature request: #2314 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cderv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this can be done today using this extension https://github.com/quarto-ext/include-code-files that you can add to your project
Did you try already ?
Also related feature request: #2314