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

Snippet execution (and replacement) #11

Closed
ghbrown opened this issue Sep 17, 2024 · 2 comments · Fixed by mfontanini/presenterm#371
Closed

Snippet execution (and replacement) #11

ghbrown opened this issue Sep 17, 2024 · 2 comments · Fixed by mfontanini/presenterm#371

Comments

@ghbrown
Copy link

ghbrown commented Sep 17, 2024

+exec and +exec_replace don't seem to work when exporting using the following command:

presenterm --enable-snippet-execution-replace --image-protocol kitty-local --export-pdf presentation/presentation.md

+exec blocks do not have the corresponding output, while +exec_replace blocks turn into

<code block containing code to be executed>
snippet execution is disabled

Otherwise the PDF looks good, and other blocks like latex +render are also fine.
I would have expected to see an issue about this here already, so perhaps I'm making a mistake.

@mfontanini
Copy link
Owner

Thanks for the report! This is fixed in mfontanini/presenterm#371. I'm in the process of rewriting the PDF generation so it doesn't need presenterm-export anymore and as an added bonus issues like this one won't happen anymore.

@ghbrown
Copy link
Author

ghbrown commented Sep 18, 2024

Thanks for the quick fix. Very exciting about built-in export functionality!

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

Successfully merging a pull request may close this issue.

2 participants