[Emacs] Add typescript babel support

This commit is contained in:
Kat Huang 2023-08-14 04:02:29 +00:00
parent 42d009bb64
commit aee5f25ff4

View File

@ -3153,7 +3153,7 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
(setq org-global-properties (setq org-global-properties
'(quote (("Effort_ALL" . "0:15 0:30 0:45 1:00 2:00 3:00 4:00 5:00 6:00 0:00") '(quote (("Effort_ALL" . "0:15 0:30 0:45 1:00 2:00 3:00 4:00 5:00 6:00 0:00")
("STYLE_ALL" . "habit")))) ("STYLE_ALL" . "habit"))))
;; Record changes to todo states ;; Record changes to todo states
(setq org-todo-keywords (setq org-todo-keywords
'((sequence "IDEA(i!)" "RESEARCH(r!)" "TODO(t!)" "NEXT(n!)" '((sequence "IDEA(i!)" "RESEARCH(r!)" "TODO(t!)" "NEXT(n!)"
"STARTED(s!)" "WAIT(w!)" "BACKLOG(b!)" "|" "STARTED(s!)" "WAIT(w!)" "BACKLOG(b!)" "|"
@ -3185,8 +3185,15 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
(ruby . t) (ruby . t)
(octave . t) (octave . t)
(plantuml . t) (plantuml . t)
(js . t)
,@added-modes)))) ,@added-modes))))
(use-package ob-typescript
:config
(progn
(org-babel-do-load-languages
'org-babel-load-languages '((typescript . t)))))
(setq org-log-into-drawer t (setq org-log-into-drawer t
org-log-reschedule t org-log-reschedule t
org-log-redeadline t org-log-redeadline t