Created
November 26, 2010 20:03
-
-
Save hannes-brt/717163 to your computer and use it in GitHub Desktop.
Turns a math expression in Latex-format into a png to be used in a markdown document
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Turn region into Latex-picture | |
(defun latex-picture (start end) | |
(interactive "r") | |
(let ((hex-string (url-hexify-string | |
(filter-buffer-substring start end)))) | |
(delete-region start end) | |
(insert (concat "")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment