b7e274c937
Add FileName option in Note title settings
...
This doesn't do anything right now. It just shows the option.
2021-02-12 15:32:10 +01:00
5280917e7a
Minor refactor
2021-02-09 12:00:52 +01:00
f75e119995
Make Settings take the folderName as a parameter
2020-10-23 02:29:48 +02:00
9499cea164
Remove Settings global
...
Stop it being a singleton. This means it needs to be passed around a
lot. This sucks, but it's how it should be. I shouldn't be using a
global variable to get around this.
This is needed as Settings will soon become repo specific when we
support multiple repos.
This breaks saving the settings in a file, that feature was toggled off
anyway. It needs to be thought over again.
2020-10-09 00:59:19 +02:00
2668d14510
Replace test with simpler test
...
Also lets not auto convert old notes title format.
2020-08-19 11:40:50 +02:00
8f2bb557da
YAML tags: Let it be a string seperated by spaces and have a #
...
In general we try to follow the same format as specified in the input
note.
2020-08-19 10:41:52 +02:00
9380f3cc06
Allow YAML tags to be a string
2020-08-19 10:12:07 +02:00
9859aa6106
Allow custom metadata to be specifiec for any note
...
This way we can add 'draft: true' to all new notes.
Fixes #168
2020-08-18 10:47:26 +02:00
cd9ae57a71
Fix tests
2020-08-10 09:59:20 +02:00
9c01b8a931
NoteSerializer: Avoid using Settings.instance
2020-08-09 01:50:52 +02:00
4a97d03bd8
Title Codec: Support empty starting lines in the body
2020-07-29 15:25:17 +02:00
417f0414f2
Setting: Note metadata change subtitle
2020-07-29 15:13:37 +02:00
41447027f2
Allow 'title' saving to be configured
...
We now allow it be to either saved as the H1 or in the YAML metadata.
I'm not sure what the default should be. Still deciding.
Fixes #112
2020-07-28 17:26:42 +02:00
9d00fdac06
Use import_sorter
...
flutter pub run import_sorter:main --no-comments
The code feels much cleaner
2020-07-24 12:43:28 +02:00
b9c7fed6dc
Add emjoi support
...
Only supported for the body and title of notes.
Fixes #62
2020-02-15 02:06:48 +01:00