I use org-mode mostly (by far) directly within Emacs (as opposed to as a mark-up to be ultimately viewed through, say, a web browser or a PDF viewer). Therefore, I'm interested in ways to "hide"1 as much of the org-mode mark-up as possible.
In particular,
is there a way to hide org-mode target specs, of the form
<<target>>
?
I'm primarily interested in solutions that can be applied selectively (e.g. only target specs that match a particular regular expression get hidden), but a solution that hides all targets of this form would be OK too.
More generally, I'd be interested in ways to hide arbitrary org-mode mark-up.
1 By "hide" I mean whatever the process is that accounts for the "invisibility" (in an Emacs org-mode buffer) of the leading [[#target][
and trailing ]]
(for example) in the hyperlink spec [[#target][here]]
. This form of hiding should be contrasted with what happens with the leading stars of a heading when org-hide-leading-stars
is non-nil. In the latter case, the stars are still being displayed, albeit in a color that approximates the window's background color. They still take up space on the screen. This is not what I'm referring to by "hiding" in this post.
<<fancy term here>>fancy term here
since everything including the angle braces get hidden. Additionally, is it possible to hide just the outer two angle braces but show the third one if it exists? I'd like to distinguish regular targets from radio targets. – kshenoy Mar 19 '17 at 21:04