akashpal21

joined 11 months ago
 

Hello, I have a problem where I want to configure the org-roam-dailes-capture-templates to include in the options the ability to automatically insert \n:t. But due to syntaxical purpose that is read as if I want to have a line break in the template itself. Is there any other way to enable that option without using "/n:t" ?

My current org-roam-dailies-capture-templates look as such:

(setq org-roam-dailies-capture-templates
      '(("d" "default" entry
	 "* %?"
	 :target (file+head "%<%Y-%m-%d>.org"
			    "#+title: %<%d-%m-%Y>\n#+options: author:nil, date:nil, toc:nil, num:5, H:5, \n:t, html-postamble:nil\n"))))

What it ends up doing is the following:

#+title: %currentdate
#+options: author:nil, date:nil, toc:nil, num:5, H:5,
:t, html-postamble:nil

What I want it to do is the following:

#+title: %currentdate
#+options: author:nil, date:nil, toc:nil, num:5, H:5, \n:t, html-postamble:nil

2nd Question: How to also make sure that the #+options line is also included when I open a new node and not only in the dailies page? I am very new to Emacs in general, so thank you for your patience if my question is dead simple and I am unable to figure out very simple things. Appreciate any help.