emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Inline markup: How does org identify nested code/verbatim?
Date: Mon, 30 Jan 2023 09:29:12 +0700	[thread overview]
Message-ID: <tr7a1o$862$1@ciao.gmane.io> (raw)
In-Reply-To: <4P4fjw6Xy3z9rxN@submission02.posteo.de>

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.



  reply	other threads:[~2023-01-30  2:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29 18:05 Inline markup: How does org identify nested code/verbatim? c.buhtz
2023-01-29 18:20 ` c.buhtz
2023-01-30  2:29   ` Max Nikulin [this message]
2023-01-30 14:56 ` Ihor Radchenko
2023-01-30 23:36   ` Tom Gillespie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='tr7a1o$862$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).