diff options
author | Jb DOYON <jb@jiby.tech> | 2020-06-14 21:19:20 +0100 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-06-22 23:58:32 -0400 |
commit | 2fa1dc34bef8937aa5c193f3178af1d633ebaafc (patch) | |
tree | 802d016a242039efc35fc35643379a9d8a83a2f3 | |
parent | 945f495b942f60c3b15a38202847e49aaff757d5 (diff) | |
download | org-mode-2fa1dc34bef8937aa5c193f3178af1d633ebaafc.tar.gz |
contrib/ol-man.el: Add markdown support to org-man export
* contrib/lisp/ol-man.el (org-man-export): Format markdown links.
-rw-r--r-- | contrib/lisp/ol-man.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/lisp/ol-man.el b/contrib/lisp/ol-man.el index 580556a..5cb7e01 100644 --- a/contrib/lisp/ol-man.el +++ b/contrib/lisp/ol-man.el @@ -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) |