You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emanote definitely should support lua filters so that users can include these filters in their notebook along with .md and .tpl files.
You should be able to apply these filters on per-note or per-folder basis via specifying them in .yml files. Just like you can specify a .tpl template.
We can call Text.Pandoc.Filter.Lua.apply in the patch function, but this is not enough, because updating the filters themselves won't trigger the re-patching of all Pandoc documents.
Alternatively, we can apply the filter during the rendering stage - but apply is an IO action, and this will be expensive. It still won't solve the problem of automatically updating dependent docs (like backlinks).
That gave me an idea that we should include https://github.com/pandoc/lua-filters by default in the 'default' layer. EDIT: But this can only be done after adding a mechanism to exclude folders from being copied over to the static site.
Emanote definitely should support lua filters so that users can include these filters in their notebook along with .md and .tpl files.
You should be able to apply these filters on per-note or per-folder basis via specifying them in .yml files. Just like you can specify a .tpl template.
Originally posted by @srid in #250 (comment)
The text was updated successfully, but these errors were encountered: