[2022-06-11 Sat 10:05]

Posted
Categories
note
Uses
emacs
Tags
workflow

Got Org Babel playing nice with TypeScript thanks to ob-typescript. It’s a wild Saturday morning here.

an Emacs Org file showing output of executed typescript block

That required a few more lines in my config, but not too many.

(use-package ob-typescript)
(use-package org
;; ...
:config
(org-babel-do-load-languages
'org-babel-load-languages
'((typescript . t))))

I also followed my own advice and added Tide for TypeScript support in Emacs. Just copied and pasted from all the links, so config’s a bit of a mess.

Oh hey that’s right I still need to take my ADHD meds. I’ll go do that now.