mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 01:02:14 +08:00
add "keywords" alias for tags to be compatible with pandoc and zettlr
This commit is contained in:

committed by
Vishesh Handa

parent
f61aa06f07
commit
df568d8ad5
@ -212,6 +212,7 @@ class NoteSerializer implements NoteSerializerInterface {
|
||||
var tagKeyOptions = [
|
||||
"tags",
|
||||
"categories",
|
||||
"keywords",
|
||||
];
|
||||
for (var possibleKey in tagKeyOptions) {
|
||||
var tags = data.props[possibleKey];
|
||||
|
@ -145,6 +145,7 @@ class _NoteMetadataSettingsScreenState
|
||||
options: [
|
||||
"tags",
|
||||
"categories",
|
||||
"keywords",
|
||||
],
|
||||
currentOption: settings.yamlTagsKey,
|
||||
onChange: (String newVal) {
|
||||
|
Reference in New Issue
Block a user