emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org syntax inside verbatim/literal blocks
@ 2019-08-09 19:02 Štěpán Němec
  2019-08-09 20:39 ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Štěpán Němec @ 2019-08-09 19:02 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-17 14:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 19:02 Org syntax inside verbatim/literal blocks Štěpán Němec
2019-08-09 20:39 ` 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

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).