Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lvncelot
on Dec 14, 2023
|
parent
|
context
|
favorite
| on:
Cog: Use Python in your source files to generate p...
Oh wow that looks really neat. I'm using Pandoc a lot anyways, so this might fit nicely into my workload. Thanks for sharing!
shoeffner
on Dec 14, 2023
[–]
Pandoc even poses codeblock execution as an exercise in their custom-filter documentation:
https://pandoc.org/filters.html
The python package panflute is also really nice if you don't want to play around with haskell or the AST JSON directly.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: