You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a wiki link such as [[foo|bar]] and I run markdown-toggle-markup-hiding, only bar should be shown.
This works for inline markdown links as well as reference links, but not for wiki links. I have the value of markdown-enable-wiki-links set to t.
Actual Behavior
Running the command markdown-toggle-markup-hiding has no effect on the display of the wiki link. The entire link is shown both before and after enabling markup hiding: [[foo|bar]]
Steps to Reproduce
Enable wiki links: (setq markdown-enable-wiki-links t)
Run the command markdown-insert-wiki-link. This will insert a pair of nested square brackets: [[]]
Type "foo|bar" inside of the square brackets so you now have [[foo|bar]]
Run the command markdown-toggle-markup-hiding. The displayed text doesn't change. Run the command again and it still doesn't change.
Backtrace
There is no error
Software Versions
markdown version 2.7-alpha
Emacs: 29.4
OS: Fedora 40
Examples:
Additional Information
As I was looking through the code trying to better understand what's been happening I notice that wiki links seem to be handled much differently than inline markdown links and reference links, even for image links. The other link types seem to be routed through much the same code, but wiki links have their own separate code path. Can you help me understand why this is?
The text was updated successfully, but these errors were encountered:
Expected Behavior
If I have a wiki link such as
[[foo|bar]]
and I runmarkdown-toggle-markup-hiding
, onlybar
should be shown.This works for inline markdown links as well as reference links, but not for wiki links. I have the value of
markdown-enable-wiki-links
set tot
.Actual Behavior
Running the command
markdown-toggle-markup-hiding
has no effect on the display of the wiki link. The entire link is shown both before and after enabling markup hiding:[[foo|bar]]
Steps to Reproduce
(setq markdown-enable-wiki-links t)
markdown-insert-wiki-link
. This will insert a pair of nested square brackets:[[]]
[[foo|bar]]
markdown-toggle-markup-hiding
. The displayed text doesn't change. Run the command again and it still doesn't change.Backtrace
There is no error
Software Versions
markdown version 2.7-alpha
Emacs: 29.4
OS: Fedora 40
Examples:
Additional Information
As I was looking through the code trying to better understand what's been happening I notice that wiki links seem to be handled much differently than inline markdown links and reference links, even for image links. The other link types seem to be routed through much the same code, but wiki links have their own separate code path. Can you help me understand why this is?
The text was updated successfully, but these errors were encountered: