diff options
Diffstat (limited to 'pandoc/defaults/pandoc-plot.yml')
| -rw-r--r-- | pandoc/defaults/pandoc-plot.yml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/pandoc/defaults/pandoc-plot.yml b/pandoc/defaults/pandoc-plot.yml new file mode 100644 index 00000000..f94954e2 --- /dev/null +++ b/pandoc/defaults/pandoc-plot.yml @@ -0,0 +1,57 @@ +# Dereived from the example configuration. Everything in this file is optional. +# Please refer to the documentation to know about the parameters herein. +# +# The `executable` parameter for all toolkits can be either the +# executable name (if it is present on the PATH), or +# the full path to the executable. +# E.g.: +# executable: python3 +# executable: "C:\Python37\Scripts\python.exe" + +# The following parameters affect all toolkits +# Directory where to save the plots. The path can be relative to pandoc-plot's +# current working directory, or absolute. +directory: .build/plots/ + +# Whether or not to include a link to the source script in the caption. +# Particularly useful for HTML output. +source: false + +# When `strict: false`, pandoc-plot will leave code blocks untouched if a plot +# could not be generated. This could happen if, for example, a toolkit is not +# installed. If you want pandoc-plot to fail instead, use `strict: true`. +strict: false + +# Default density of figures in dots per inches (DPI). +# This can be changed in the document specifically as well. +dpi: 300 + +# Default format in which to save the figures. This can be specified +# individually as well. +format: PDF + +# Logging configuration +logging: + # Possible verbosity values: debug, error, warning, info, silent + verbosity: warning + # If the filepath below is not present, then pandoc-plot will log to stderr + # Otherwise, log messages will be appended to the filepath. + # filepath: path/to/file.txt + +# The possible parameters for the Matplotlib toolkit +matplotlib: + # preamble: matplotlib.py + tight_bbox: false + transparent: false + executable: python + command_line_arguments: + +# The possible parameters for the graphviz toolkit +graphviz: + # preamble: graphviz.dot + executable: dot + command_line_arguments: + +mermaid: + executable: mmdc + command_line_arguments: --pdfFit -s 5 --backgroundColor=transparent |
