[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to hide square brackets around [[url][links]]?
From: |
Ihor Radchenko |
Subject: |
Re: How to hide square brackets around [[url][links]]? |
Date: |
Fri, 22 Sep 2023 08:49:25 +0000 |
William Denton <wtd@pobox.com> writes:
> Sometimes when searching with Swiper, the display of (some) links is changed
> and
> instead of seeing the anchor text formatted as a link I see the full raw
> [[URL][anchor text]].
>
> How can I make this go back to showing just the anchor text? I've tried
> toggling visible-mode and using org-toggle-link-display but neither work, so
> I
> have to C-x C-v and reload the file. Should these commands be reformatting
> all
> the links in the buffer, and the fact they don't work is a sign of the bug?
For isearch compatibility, Org has to convert back-and-forth between
overlays and text properties. If `org-toggle-link-display' does not
work, we most likely have some isearch overlays leftover and not
converted back.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>