8e9b23982c
Add support for a simpler filename format
...
Also make this the default when one doesn't have a title.
This is important as now the filename is far more visible with the new
standard view.
2020-03-05 19:14:27 +01:00
0d5793d097
strip_markdown: Use a handbuilt stripper
...
It's not perfect, but it runs faster at about 35 us vs 650 us.
2020-02-17 15:51:37 +01:00
ec959ebbed
Add a helper file to resolve merge conflicts
...
I'm not sure how to integrate this into our merging code.
2020-01-27 23:28:13 +01:00
14e7f344d1
Add an explicit serializer from Note -> NoteData
...
This is so that we can start configuring what the yaml metadata keys
should be called, and not have them hardcoded.
This also allows the note.created to be null. Earlier we were always
setting it to some value. That's doesn't seem right.
2020-01-01 19:29:57 +01:00
bc6f7c1b8f
Note: Load the modified tag properly
2019-12-14 12:05:52 +01:00
ad6d47ef0f
Fix dateTime to string with timezone
...
We should just use the 'timezone' dart package and not handle this
ourselves as we're probably fucking it up in other places.
This fixes #42
2019-12-09 01:56:46 +01:00
464b7512e9
Move Note and NoteFolder class into a core folder
2019-12-04 14:18:11 +01:00
3fd801b4a1
Fix "Value not in range: -1" error
...
Fixes #4
2019-05-29 17:34:47 +02:00
ad2e4ac9b1
Rename markdownToPlainText -> stripMarkdownFormatting
...
It better reflects what the function actually does
2019-05-13 22:57:49 +02:00
f2af5c9c75
Improve markdown to text conversion
...
Use a proper markdown parser to convert the text. This way more of the
formatting is correctly removed.
2019-05-13 22:36:32 +02:00