                 (kill-process (get-process pname))
                 (message "Server stopped.")))))
 
+
 (provide 'org-wiki)
 ;;; org-wiki.el ends here

                      (action . ,callback)
                      ))))

;; ================= User Commands ================= ;;;
;;
;; @SECTION: User commands

Note: This function is synchronous and blocks Emacs. If Emacs is stuck
type C-g to cancel the download."
  (interactive)
  (org-wiki--asset-download-hof
   (lambda (pagename output-file)
     (insert (format "[[wiki-asset-sys:%s;%s][%s]]"
                     pagename output-file output-file)))))

(defun org-wiki-asset-download-insert2 ()
  "Download a file from a URL in the clibpoard and inserts a link file:<page>/<asset-file>.
Note: This function is synchronous and blocks Emacs. If Emacs is frozen type C-g 
to cancel the download."
  (interactive)
  (org-wiki--asset-download-hof
   (lambda (pagename output-file)
     (insert (format "file:%s/%s" pagename output-file )))))

(defun org-wiki-helm ()
  "Browser the wiki files using helm."
