I find that the first of these link descriptions is not
displayed struck in
emacs, while the last line is struck. However, when the buffer
is exported,
for example to a pdf, the link description is struck.
I suspect this is yet another instance of the org-mode
fontification issue
discussed in this thread [1]. In short, there is a limitation in
the current
regexp-based parsing approach that org-mode uses which causes
fontification to
not work properly when formatting delimiters are placed next to
one another.
Another example of this issues would be nested bold and
italics. The following:
/*bold italic*/
is only fontified as italic, even though it exports correctly as
bold and
italic. However this text:
/some *bold* italic text/
is fontified correctly. The difference between the two is that
the first example
has the bold and italic delimiters next to one another, while
the latter has
some text between the delimiters.
The reason the export works correctly is because the org-export
framework uses
the newer org element parser, instead of relying on simple
regular expressions.
[1]:
https://lists.gnu.org/archive/html/emacs-orgmode/2025-02/msg00156.html
Thanks,
Rohit Patnaik
Indeed! Adding a space before the first "+" mark and another after
the second one makes the link description appear struck.
Is there a way to set emacs org-mode to use that newer element
parser? The space workaround is good enough for me, though not
really elegant.
Thank you!
-- Gooksin