Turn on Org-mode in temp buffer
This commit is contained in:
parent
620d904d28
commit
5fb4b60026
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ DECK is used when the action is note creation."
|
|||
(defun anki-editor--generate-html (contents)
|
||||
"Convert CONTENTS to HTML."
|
||||
(with-temp-buffer
|
||||
(org-mode)
|
||||
(insert contents)
|
||||
(setq anki-editor--replacement-records nil)
|
||||
(anki-editor--replace-latex)
|
||||
|
|
Loading…
Reference in a new issue