diff --git a/README.md b/README.md index 18702f7..cf68cfa 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,10 @@ This should generally be an alright default but is here to be changed for exampl --- -The plugin contains a configuration sub-category of `color_mapping`: Here, you can define meaning for your highlight/annotation colors. For example, if you always highlight the main arguments and findings in orange and always highlight things you have to follow up on in blue, you can assign the meanings 'important' and 'todo' to them respectively as follows: +The plugin contains a configuration sub-category of `tags`: Here, you can define meaning for your highlight/annotation colors. For example, if you always highlight the main arguments and findings in orange and always highlight things you have to follow up on in blue, you can assign the meanings 'important' and 'todo' to them respectively as follows: ```ini -[[[color_mapping]]] +[[[tags]]] orange = "important" blue = "todo" ``` diff --git a/extract/extract.py b/extract/extract.py index 676ce46..47e9d36 100644 --- a/extract/extract.py +++ b/extract/extract.py @@ -136,7 +136,7 @@ class ExtractPlugin(PapersPlugin): "formatting", "{%quote_container> {quote} %}[{page}]{%note_container{newline}Note: {note} %}{%tag_container #{tag}%}", ) - self.color_mapping = settings.get("color_mapping", {}) + self.color_mapping = settings.get("tags", {}) def update_parser(self, subparsers, _): """Allow the usage of the pubs extract subcommand"""