summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-06-10 08:39:55 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-06-10 08:40:27 -0700
commit30d802fe38c71dc783a1eb9c212c0fdf02d0b9db (patch)
tree59e70ce271f73cc55b3af2a1996678de0b9e5ccc
parent42cbc71bbc19c444d0acf9cb0709dfe568539dbd (diff)
MANUAL: note that custom readers/writers will...
be sought in the readers/writers subdirectory of the user data directory if not found relative to the working directory. Documents #8112.
-rw-r--r--MANUAL.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 30e46d765..44946813d 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -6967,6 +6967,10 @@ Lua script in place of the input or output format. For example:
pandoc -t data/sample.lua
pandoc -f my_custom_markup_language.lua -t latex -s
+If the script is not found relative to the working directory,
+it will be sought in the `readers` or `writers` subdirectory
+of the user data directory (see `--data-dir`).
+
A custom reader is a Lua script that defines one function,
Reader, which takes a string as input and returns a Pandoc
AST. See the [Lua filters documentation] for documentation