mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Add display format option to config file. (#1050)
* Add display format option to config file. * Add tests. * Fix `black` error. * Change nested if to top level.
This commit is contained in:
parent
05d0a0cc83
commit
8c2de0e6d7
5 changed files with 67 additions and 2 deletions
19
features/data/configs/format_md.yaml
Normal file
19
features/data/configs/format_md.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
colors:
|
||||
body: none
|
||||
date: none
|
||||
tags: none
|
||||
title: none
|
||||
default_hour: 9
|
||||
default_minute: 0
|
||||
display_format: markdown
|
||||
editor: ''
|
||||
encrypt: false
|
||||
highlight: true
|
||||
indent_character: '|'
|
||||
journals:
|
||||
default: features/journals/simple.journal
|
||||
linewrap: 80
|
||||
tagsymbols: '@'
|
||||
template: false
|
||||
timeformat: '%Y-%m-%d %H:%M'
|
||||
version: v2.4.5
|
19
features/data/configs/format_text.yaml
Normal file
19
features/data/configs/format_text.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
colors:
|
||||
body: none
|
||||
date: none
|
||||
tags: none
|
||||
title: none
|
||||
default_hour: 9
|
||||
default_minute: 0
|
||||
display_format: text
|
||||
editor: ''
|
||||
encrypt: false
|
||||
highlight: true
|
||||
indent_character: '|'
|
||||
journals:
|
||||
default: features/journals/simple.journal
|
||||
linewrap: 80
|
||||
tagsymbols: '@'
|
||||
template: false
|
||||
timeformat: '%Y-%m-%d %H:%M'
|
||||
version: v2.4.5
|
Loading…
Add table
Add a link
Reference in a new issue