(format "<a href=\"%s\">%s</a>"
href (or (org-string-nw-p desc) href)))))
+(defun shtarkov.net-local ()
+ (interactive)
+ (unless (string-equal (buffer-name) "shtarkov.net.org")
+ (user-error "Must be visiting the proper file."))
+ (let ((default-directory (concat default-directory "public/")))
+ (async-shell-command "python3 -m http.server" "*local shtarkov.net*"))
+ (browse-url "http://localhost:8000/"))
+
(defun shtarkov.net-build-and-deploy ()
(interactive)
(unless (string-equal (buffer-name) "shtarkov.net.org")