Generalise heading comments

This commit is contained in:
Veronica Berglyd Olsen
2025-04-06 19:13:37 +02:00
parent c5afeda726
commit edc19187f0
5 changed files with 24 additions and 16 deletions
+2
View File
@@ -31,12 +31,14 @@ MODIFIERS = {
"short": nwComment.SHORT,
"note": nwComment.NOTE,
"footnote": nwComment.FOOTNOTE,
"story": nwComment.STORY,
}
KEY_REQ = {
"synopsis": 0, # Key not allowed
"short": 0, # Key not allowed
"note": 1, # Key optional
"footnote": 2, # Key required
"story": 2, # Key required
}