-
|
I am trying to recreate a lot of functionality inside Hugo's templating language, for example:
Other things like wordcount have been emulated using a filter that assigns metadata after running, however to implement the above it would be nice to have a way to write a custom Lua pipe. Is there a way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
See jgm/doctemplates#28 A big obstacle is that the doctemplates library is independent of pandoc and doesn't know about pandoc's Lua subsystem (with its ability to marshall between pandoc and Lua types). |
Beta Was this translation helpful? Give feedback.
See jgm/doctemplates#28
though this is for pipes written in Haskell.
A big obstacle is that the doctemplates library is independent of pandoc and doesn't know about pandoc's Lua subsystem (with its ability to marshall between pandoc and Lua types).