Fixed issues with new lines in markdown (in case if date_string or location isn't provided)

This commit is contained in:
Konstantin Alekseev 2024-05-14 15:22:12 +04:00
parent a6e45e72f7
commit 9ed8237e6d
3 changed files with 12 additions and 10 deletions

View File

@ -1,9 +1,9 @@
## <<entry.institution>>, ((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>> ## <<entry.institution>>, ((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>
((* if entry.date_string *))- <<entry.date_string>> ((* endif *)) ((* if entry.date_string *))- <<entry.date_string>>
((* endif *))
((* if entry.location *))- <<entry.location>> ((* endif *)) ((* if entry.location *))- <<entry.location>>
((* endif *))
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
- <<item>> - <<item>>
((* endfor *)) ((* endfor *))

View File

@ -1,9 +1,9 @@
## <<entry.company>>, <<entry.position>> ## <<entry.company>>, <<entry.position>>
((* if entry.date_string *))- <<entry.date_string>> ((* endif *)) ((* if entry.date_string *))- <<entry.date_string>>
((* endif *))
((* if entry.location *))- <<entry.location>> ((* endif *)) ((* if entry.location *))- <<entry.location>>
((* endif *))
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
- <<item>> - <<item>>
((* endfor *)) ((* endfor *))

View File

@ -1,7 +1,9 @@
## <<entry.name>> ## <<entry.name>>
((* if entry.date_string *))- <<entry.date_string>> ((* endif *)) ((* if entry.date_string *))- <<entry.date_string>>
((* if entry.location *))- <<entry.location>> ((* endif *)) ((* endif *))
((* if entry.location *))- <<entry.location>>
((* endif *))
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
- <<item>> - <<item>>
((* endfor *)) ((* endfor *))