From f2d8306f1fffa5fa9eef1f5a5f3b02b6669ad29b Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 15 Sep 2023 09:28:12 +0200 Subject: [PATCH] Add README section on fallback formatter config --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 4490196..52331d5 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,19 @@ title-chars = -1 This will ensure that a maximum of 4 words will be placed in the ref, but they do not have a maximum character length, so will always be fully written out (the default behavior if no title length options are provided). +### Fallback formatter + +For anything that is not a reference, use this formatter. +Basically, put the formatter you had before switching to bbt here: + +```cfg +[plugins.bbt-formatter] +fallback = jinja2 +``` + +Can be any of the installed papis formatters, including custom ones +(though usually it will be `python`, which is also the default setting). + --- For now this plugin is a rather simple adaption from [this](https://github.com/hrdl-github/papis/commit/b9b9c6eaa3de159e1b210174ef49e90a89271eb8) commit,