emacs/var/elfeed/db/data/9a/9aa5e3e588217b36195aa96ed2fcdda14847c6df
2022-01-03 12:49:32 -06:00

1 line
988 B
Plaintext

<!-- SC_OFF --><div class="md"><p>I&#39;ve looked around a bit and haven&#39;t seen any examples of how you might differentiate different types of org link visually, perhaps with a font-lock; specifically differentiating the protocol (not the link content)</p> <p>For example, [[id:some-guid][Link Name]] would be a different color than [[file+emacs:file-path][My File]]. </p> <p>Has anyone tried to do this before? </p> <p>Just to clarify, the idea is not to apply different styles when publishing, but rather in-buffer. </p> <p>(Bonus: how would you hook into a theme palette when specifying color?)</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/rdcdr"> /u/rdcdr </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/qs5m8c/is_it_possible_to_style_different_types_of_org/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/qs5m8c/is_it_possible_to_style_different_types_of_org/">[comments]</a></span>