aboutsummaryrefslogtreecommitdiff
path: root/doc/custom-writers.md
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-10-24 18:46:42 +0200
committerGitHub <[email protected]>2022-10-24 09:46:42 -0700
commit79d6b45566c237b1caf6e9a2cb74861c071e84e8 (patch)
tree29269aee2dad5e8f34a69d7b9b42681dfa98fe60 /doc/custom-writers.md
parent400d4e1387d9bc26a3c2a58e2a6c34cde80d2018 (diff)
Remove sample.lua from data files (#8397)
The file is kept around in the pandoc-lua-engine test-suite. Closes: #8356
Diffstat (limited to 'doc/custom-writers.md')
-rw-r--r--doc/custom-writers.md25
1 files changed, 0 insertions, 25 deletions
diff --git a/doc/custom-writers.md b/doc/custom-writers.md
index 0cedec7d7..1d90ea722 100644
--- a/doc/custom-writers.md
+++ b/doc/custom-writers.md
@@ -197,31 +197,6 @@ function Para(s)
end
```
-The best way to go about creating a classic custom writer is to
-modify the example that comes with pandoc. To get the example,
-you can do
-
-```
-pandoc --print-default-data-file sample.lua > sample.lua
-```
-
-## A custom HTML writer
-
-`sample.lua` is a full-features HTML writer, with explanatory
-comments. To use it, just use the path to the custom writer as
-the writer name:
-
-```
-pandoc -t sample.lua myfile.md
-```
-
-`sample.lua` defines all the functions needed by any custom
-writer, so you can design your own custom writer by modifying
-the functions in `sample.lua` according to your needs.
-
-``` {.lua include="sample.lua"}
-```
-
## Template variables
New template variables can be added, or existing ones