emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabio Natali <me@fabionatali.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Allowed characters/formatting in Org text blocks
Date: Sun, 26 Jun 2022 12:09:15 +0100	[thread overview]
Message-ID: <Yrg+W9Rs8TYjSplY@localhost> (raw)
In-Reply-To: <8735fsuv1t.fsf@localhost>

On 2022-06-26 08:29:02 +0800, Ihor Radchenko <yantar92@gmail.com> wrote:
[...]
> You need to escape "*" and "#+" at the beginning of line inside code
> blocks using comma: ",*", ",#+".

Hi Ihor,

Thanks for getting back to me!

I see, and yes, the documentation is pretty clear in that regard, you're
right. Escaping leading =*= and =#+= is perfectly possible in my case
and this completely solves my issue.

By the way, I've just tried with comment blocks, and I see that this
works the same way there too.

Incidentally and FWIW, this is a bit counter-intuitive to me. I'd have
expected everything withing a comment or literal block to be treated as
content until the ending statement, =#+end_comment= or =#+end_src=
respectively. I suppose that this makes sense in the larger scheme of
Org things though?

Thanks again, best wishes,

Fabio.


  reply	other threads:[~2022-06-26 11:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26  0:12 Allowed characters/formatting in Org text blocks Fabio Natali
2022-06-26  0:29 ` Ihor Radchenko
2022-06-26 11:09   ` Fabio Natali [this message]
2022-06-26 11:39     ` Ihor Radchenko
2022-06-26 17:31       ` Fabio Natali

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=Yrg+W9Rs8TYjSplY@localhost \
    --to=me@fabionatali.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /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).