Change naming of color_mapping to tag configuration
This commit is contained in:
parent
1ab43a2a0e
commit
ac711ce108
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
```
|
||||
|
|
|
@ -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"""
|
||||
|
|
Loading…
Reference in a new issue