implement 'extension-map' option (#318)

This commit is contained in:
Mike Fährmann
2020-10-31 22:42:42 +01:00
parent 98a4d86a01
commit e3480bc8de
2 changed files with 29 additions and 1 deletions

View File

@@ -183,6 +183,25 @@ Description
escaped with backslashes, e.g. ``"\\[\\]"``
extractor.*.extension-map
-------------------------
Type
``object``
Default
``null``
Example
.. code:: json
{
"jpeg": "jpg",
"jpe" : "jpg",
"jfif": "jpg",
"jif" : "jpg",
"jfi" : "jpg"
}
Description
A JSON ``object`` mapping filename extensions to alternatives.
extractor.*.skip
----------------
Type