|
| From: | Max Nikulin |
| Subject: | Re: Inline markup: How does org identify nested code/verbatim? |
| Date: | Mon, 30 Jan 2023 09:29:12 +0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 30/01/2023 01:20, c.buhtz wrote:
Please let me add the nested-regex-approach.
You should look up for any markup starting at first. org-element parser uses "first wins" approach. Notice the following:
/italics ~code/ verbatim~
is exported as
<p>
<i>italics ~code</i> verbatim~</p>
Notice that closing italics marker cancels recognizing of code snippet.
| [Prev in Thread] | Current Thread | [Next in Thread] |