forked from mirrors/org-mode
doc/org-manual.org: Enhance examples
* doc/org-manual.org (Link Abbreviations): Enhance examples.
This commit is contained in:
parent
678f4d4b35
commit
a846152e4d
|
@ -3516,12 +3516,11 @@ replacement text. Here is an example:
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-link-abbrev-alist
|
(setq org-link-abbrev-alist
|
||||||
'(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
|
'(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
|
||||||
("url-to-ja" . "http://translate.google.fr/translate?sl=en&tl=ja&u=%h")
|
("Nu Html Checker" . "https://validator.w3.org/nu/?doc=%h")
|
||||||
("google" . "http://www.google.com/search?q=")
|
("duckduckgo" . "https://duckduckgo.com/?q=%s")
|
||||||
("gmap" . "http://maps.google.com/maps?q=%s")
|
("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1")
|
||||||
("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1")
|
("ads" . "https://ui.adsabs.harvard.edu/search/q=%20author%3A\"%s\"")))
|
||||||
("ads" . "https://ui.adsabs.harvard.edu/search/q=%20author%3A\"%s\"")))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
If the replacement text contains the string =%s=, it is replaced with
|
If the replacement text contains the string =%s=, it is replaced with
|
||||||
|
|
Loading…
Reference in New Issue