Change description format

Descriptions must now be prefixed by a '#' symbol instead of indented.
This commit is contained in:
Joscha 2021-11-19 00:48:12 +01:00
parent 76eed7f30d
commit d7c843ed86
3 changed files with 24 additions and 27 deletions

View file

@ -213,7 +213,7 @@ pub struct Task {
pub until: Option<NaiveDate>,
pub except: Vec<NaiveDate>,
pub done: Vec<Done>,
pub desc: Option<String>,
pub desc: Vec<String>,
}
#[derive(Debug)]
@ -223,7 +223,7 @@ pub struct Note {
pub from: Option<NaiveDate>,
pub until: Option<NaiveDate>,
pub except: Vec<NaiveDate>,
pub desc: Option<String>,
pub desc: Vec<String>,
}
#[derive(Debug)]
@ -236,7 +236,7 @@ pub struct BirthdaySpec {
pub struct Birthday {
pub title: String,
pub when: BirthdaySpec,
pub desc: Option<String>,
pub desc: Vec<String>,
}
#[derive(Debug)]