Christoffer Stjernlöf <a...@xkqr.org> writes:

> The variables opening-re and closing-re in
> org-element--parse-generic-emphasis are hard-coded, and this is not what
> is expected by the user who has modified the value of
> org-emphasis-regexp-components.

This variable only affects fontification.
The Org markup is not customizeable for emphasis.
We will likely obsolete and remove this variable in the future.

> Background and details:
>
> One convenient trick to apply emphasis to parts of a word is to separate
> that part with zero-width non-breaking spaces. This allows us to draw
> attention to puns like "the ex_cite_ment one feels when one's work is
> getting cited" by underlining the "cite" part of the word
> "excitement".[1]

> Org doesn't support this out of the box but by adding the zero-width
> non-breaking space to org-emphasis-regexp-components we can get this to
> work.

I just tried, and ex​*cite*​ment works just fine.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to