From: "Štěpán Němec" <stepnem@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org syntax inside verbatim/literal blocks
Date: Fri, 09 Aug 2019 21:02:41 +0200 [thread overview]
Message-ID: <87tvaqduwe.fsf_-_@gmail.com> (raw)
I notice that even inside example blocks, some strings are still parsed
as Org syntax, e.g. the asterisk becomes a bogus heading:
#+begin_example
* _____
\| @ \
|_____/
/\ /\
#+end_example
When I enclose the text in a region and use
`org-insert-structure-template' to surround it with begin and end lines,
a comma is prepended to the asterisk automatically (doc string of
`org-escape-code-in-region' uses the word "append", which is usually
used in the sense of "add to the end", though).
But all I could find in the manual regarding "verbatim", "escaping" etc.
are sections 12.2 and 16.3, neither of which mentions comma.
I'd prefer if there were some kind of a _real_ verbatim block without
need for escaping anything, but failing that, could this matter be
clarified in the documentation?
Thanks,
Štěpán
next reply other threads:[~2019-08-09 19:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-09 19:02 Štěpán Němec [this message]
2019-08-09 20:39 ` Org syntax inside verbatim/literal blocks Nicolas Goaziou
2019-08-09 21:02 ` Štěpán Němec
2019-08-15 8:13 ` Nicolas Goaziou
2019-08-15 10:16 ` Štěpán Němec
2019-08-17 13:24 ` Nicolas Goaziou
2019-08-17 14:00 ` Štěpán Němec
2019-08-17 14:36 ` Nicolas Goaziou
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=87tvaqduwe.fsf_-_@gmail.com \
--to=stepnem@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).