내부링크 - Internal Links

[2024-11-22 Fri 12:09] 아. 이건 프롯 닷파일을 확인하라. 매뉴얼 작성할 때도 유용하다. 아무렴.

Use :: [[https://orgmode.org/manual/Internal-Links.html][Internal Links (The Org Manual)]]
   1) 헤딩 이름으로 이동 -- 쉽지만, 이름 바뀌면 불가
      [[*[[*TEST][TEST]]] ]
   2) CUSTOMID
      [[#TEST] ]

링크 색상 구분 문제 org-link

오그롬 : 디노트 : url 이랑 구분이 안간다.

/home/junghan/sync/man/dotsamples/vanilla/novoid-dotfiles-uomf/config.org

| | | |------------|--------------------------------------------------------------------------| | 2021-01-11 | moved commands to my-set-linkcolors and defined 3 categories of colors |

 
(progn
  (setq my-linkcolor-org "wheat3")
  (setq my-linkcolor-file "MediumSeaGreen")
  (setq my-linkcolor-web "MediumSeaGreen")
 
  (defun my-set-linkcolors ()
    "Defines the colors of various link colors"
    (interactive)
 
    ;; Org links --------------------------------------------------------------------------
    ;; (org-link-set-parameters "id" :face `(:bold t :underline t))
    ;; (org-link-set-parameters "contact" :face `(:foreground ,my-linkcolor-org :bold t :underline t))
 
    ;; File links --------------------------------------------------------------------------
    ;; (org-link-set-parameters "file" :face `(:foreground ,my-linkcolor-file :slant 'italic))
    ;; (org-link-set-parameters "pdf" :face `(:foreground ,my-linkcolor-file :underline t))
    ;; (org-link-set-parameters "ISO" :face `(:foreground ,my-linkcolor-file :underline t))
 
    ;; Web links --------------------------------------------------------------------------
    (org-link-set-parameters "http" :face `(:foreground ,my-linkcolor-web :underline t))
    (org-link-set-parameters "https" :face `(:foreground ,my-linkcolor-web :underline t))
    )
  )

Doom-Emacs : Built-in custom link types

This module defines a number of custom link types in +org-init-custom-links-h. They are (with examples):

 
;; +org-init-custom-links-h
;; (pushnew! org-link-abbrev-alist
;;           '("github"      . "https://github.com/%s")
;;           '("youtube"     . "https://youtube.com/watch?v=%s")
;;           '("google"      . "https://google.com/search?q=")
;;           '("gimages"     . "https://google.com/images?q=%s")
;;           '("gmap"        . "https://maps.google.com/maps?q=%s")
;;           '("kagi"        . "https://kagi.com/search?q=%s")
;;           '("duckduckgo"  . "https://duckduckgo.com/?q=%s")
;;           '("wikipedia"   . "https://en.wikipedia.org/wiki/%s")
;;           '("wolfram"     . "https://wolframalpha.com/input/?i=%s")
;;           '("doom-repo"   . "https://github.com/doomemacs/doomemacs/%s")
;;           `("emacsdir"    . ,(doom-path doom-emacs-dir "%s"))
;;           `("doomdir"     . ,(doom-path doom-user-dir "%s")))
 

Related-Notes

References