emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Verbatim content (inline-special-block)
Date: Thu, 11 Apr 2024 18:03:03 +0700	[thread overview]
Message-ID: <3ada6078-6c03-447c-9e32-32ca0967cac3@gmail.com> (raw)
In-Reply-To: <0f1351e2-cb5e-4b65-9faf-c6e78f15c975@gmail.com>

Ihor Radchenko. Re: Experimental public branch for inline special
blocks. Tue, 09 Apr 2024 08:52:38 +0000.
https://list.orgmode.org/875xwqj4tl.fsf@localhost

>     - We should be able to define special markup for code, where the
>       contents is not parsed. Something like
> 
>       @code{ unlike =code=, we can have leading and trailing spaces }
>       @code{ @foo{is not interpreted inside}}

I think, it should be controlled by some optional parameter like

     @kbd[:verbatim t]{ unlike =code=, ... }

Certainly parsing of normal Org markup should be suppressed,
however I am less sure concerning @markup{}. In the following example 
text inside @param{} may be emphasized:

     @code{def calculate(@param{expr}, @param{env})}

"@" inside such object may be escaped as @{@}. An alternatively is a 
parameter like :parse that can have values like "markup", "custom", 
"verbatim". This case "verbatim" disabled parsing of @objects().


  reply	other threads:[~2024-04-11 11:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11 10:49 inline-special-block: part2 Max Nikulin
2024-04-11 11:03 ` Max Nikulin [this message]
2024-04-11 12:58   ` Verbatim content (inline-special-block) Ihor Radchenko
2024-04-12 10:55     ` Max Nikulin
2024-04-12 17:53       ` Ihor Radchenko
2024-04-11 11:08 ` Link to the repository (Re: inline-special-block: part2) Max Nikulin

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=3ada6078-6c03-447c-9e32-32ca0967cac3@gmail.com \
    --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).