contrib/ol-man.el: Add markdown support to org-man export

* contrib/lisp/ol-man.el (org-man-export): Format markdown links.
This commit is contained in:
Jb DOYON 2020-06-14 21:19:20 +01:00 committed by Kyle Meyer
parent 945f495b94
commit 2fa1dc34be
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ PATH should be a topic that can be thrown at the man command."
((eq format 'latex) (format "\\href{%s}{%s}" path desc))
((eq format 'texinfo) (format "@uref{%s,%s}" path desc))
((eq format 'ascii) (format "%s (%s)" desc path))
((eq format 'md) (format "[%s](%s)" desc path))
(t path))))
(provide 'ol-man)