add "keywords" alias for tags to be compatible with pandoc and zettlr

This commit is contained in:
Alexander Gabriel
2021-04-19 10:12:57 +02:00
committed by Vishesh Handa
parent f61aa06f07
commit df568d8ad5
2 changed files with 2 additions and 0 deletions

View File

@ -212,6 +212,7 @@ class NoteSerializer implements NoteSerializerInterface {
var tagKeyOptions = [
"tags",
"categories",
"keywords",
];
for (var possibleKey in tagKeyOptions) {
var tags = data.props[possibleKey];

View File

@ -145,6 +145,7 @@ class _NoteMetadataSettingsScreenState
options: [
"tags",
"categories",
"keywords",
],
currentOption: settings.yamlTagsKey,
onChange: (String newVal) {