开发者

How to open http://XYZ from my *own* tag in org-mode?

When I have ([abc] or [[abc]] or *abc ... ) in org-mode text, how can I link that to a command http://prosseek/wiki.php/abc?action=edit?

开发者_运维问答I want to edit my own wiki page from simple org-mode link. The simple way would be manually input [[http://prosseek/wiki.php/abc?action=edit][abc]], but I want to generate the first http part automatically.


This is the code snippet you're looking for:

(setq org-link-abbrev-alist
 '(
   ("mine" . "http://prosseek/wiki.php/%s?action=edit")
))

This will let [[mine:abc]] to jump to your link.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜