Closed ikashnitsky closed 4 years ago
For now I resorted to deleting the repo and forking it again ¯\_(ツ)_/¯
I just had a very first quick glance at it and it looks good. One minor suggestion for the manual page which I type up later. For an example run, any odd document plus an explicit YAML header argument document_date
and maybe date_subtitle
?
(As for changing names of existing options: not great. Published "APIs" for users and all that....)
I will take silence from @coatless as absence of concerns and merge this :) Thanks for the new feature, being able to set both optionally is nice.
@eddelbuettel sorry, saw the earlier PR that was closed out. Missed this. That said, this looks good! Thanks @ikashnitsky!
Started from scratch in response to the recent discussion in #63
Discussion part Maybe there should be a bit more consistency between
date_subtitle
anddocument_date
. In my view their behaviour can be a bit confusing since both default to\today
. I'd suggest to renamedate_subtitle
intosubtitle
orinfoline
– just drop date from default in this line. The date of the document can stay only in the footer – freely specified as text with the newdocument_date
YAML param or resolving to\today
by default. What do you think?