Other help with emacs org-structure-template-alist

In emacs org mode it is possible create structural blocks within documention which can be converted to program code using something like:


These can be further enhanced to suit personal situations as per https://youtube.com/clip/Ugkx14WKKjDA2fS-R8kKA8TXOf8tlaygfRNH?si=bwnrBZdFh5h_WgW1
for example:

Code:
(after! org
 (require 'org-tempo))
;;Babel template
(add-to-list 'org-structure-template-alist
        '("g" "#+NAME: fileName ?<n#+BEGIN_SRC groovy :exports code :results output :tangle ddirectory/fileName.groovy \n\n#+END_SRC"))

I can't get this Babbel template working.

It is supposed to get invoked using '<gTAB', but it doesn't work for me. '<sTAB' works ok, so I've obviously defined it wrongly.
 
Back
Top