Comments (2)
Thanks for the speedy response. Understood re Lua filters, but, I would argue that the ridiculously useful macros that (for example) pp makes easily available shouldn't be overlooked (even though the documentation is hard work!) And they're useable without learning any Lua, or dealing with the Pandoc AST, which is a big advantage for casual hackers like me.
from panwriter.
Thanks for the feedback!
You can already use pandoc filters, it's not exactly a pre-processor, but arguably something better: you can transform the document AST. See: http://pandoc.org/lua-filters.html, for example place the filter in the section "Replacing placeholders with their metadata value" in ~/.pandoc/filters/meta-vars.lua
.
Then in PanWriter:
---
output:
html:
lua-filter: meta-vars.lua
---
my doc...
from panwriter.
Related Issues (20)
- Takes over DOCX default without asking HOT 4
- Feature Requests HOT 1
- Export problem with AppImage 0.8.4 on Linux Slackware HOT 14
- Preview: image width in units other than px are not converted HOT 2
- Linux AppImage: ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. HOT 4
- White screen on launch HOT 6
- If anybody has time to try to add [markdown-it-highlightjs](https://www.npmjs.com/package/markdown-it-highlightjs) to [markdown-it-pandoc](https://github.com/mb21/markdown-it-pandoc/) without breaking attributes, that would be welcome!
- TOC? HOT 2
- Fonts are ignored in PDF HOT 7
- defaults.yaml in PanWriterUserData partially ignored HOT 1
- Does not compile HOT 2
- Markdown Table Formatting HOT 1
- Feature request: do not force to auto update the application (Mac) HOT 2
- ICML as a target export format HOT 2
- windows 7 HOT 1
- Export to reveal.js HOT 2
- DEV ISSUE: npm ERR! No workspaces found: HOT 4
- Please could we have an Arm Linux package? HOT 4
- default.yaml in "...AppData\Local\PanWriterUserData" is not used HOT 4
- Switch off default styles if your own styles are defined in the metadata. HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panwriter.