Add support for timestamps

This commit is contained in:
Niklas Fasching 2019-01-06 20:50:10 +01:00
parent bd33e8885e
commit 63fef04fb3
9 changed files with 121 additions and 1 deletions

View file

@ -81,7 +81,7 @@ func New() *Configuration {
DefaultSettings: map[string]string{
"TODO": "TODO | DONE",
"EXCLUDE_TAGS": "noexport",
"OPTIONS": "toc:t e:t f:t pri:t todo:t tags:t",
"OPTIONS": "toc:t <:t e:t f:t pri:t todo:t tags:t",
},
Log: log.New(os.Stderr, "go-org: ", 0),
}
@ -166,6 +166,7 @@ func (d *Document) Get(key string) string {
// GetOption returns the value associated to the export option key
// Currently supported options:
// - < (export timestamps)
// - e (export org entities)
// - f (export footnotes)
// - toc (export table of content)