emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org syntax inside verbatim/literal blocks


From: Nicolas Goaziou
Subject: Re: [O] Org syntax inside verbatim/literal blocks
Date: Fri, 09 Aug 2019 22:39:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hello,

Štěpán Němec <address@hidden> writes:

> 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

This is expected. Headlines bind stronger than example blocks.

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

See "Literal Examples" section, fourth footnote.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]