all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Norwid Behrnd <nbehrnd@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-mode code fence for markdown
Date: Sat, 26 Nov 2022 18:10:15 +0100	[thread overview]
Message-ID: <20221126181015.62398c11@debian> (raw)
In-Reply-To: <874jumky8e.fsf@localhost>

Ihor Radchenko <yantar92@posteo.net> wrote:

> 
> It should, if you have markdown-mode installed.
> 
> Try
> 
> #+begin_src markdown :tangle yes
> ,* Item 1
> ,* Item 2
>   - Item 2a
>     + Item 2a1
>   - Item 2b
> ,* Item 3
> #+end_src

Affirmative, after installing elpa-markdown-mode (example in Linux Debian's
synaptic), the box opens as anticipated.  The text's markup indications for
e.g., text in bold, italic equally work as does joining snippets via tangle
(C-c C-v t).

> Note that you need to escape the stars as they would be recognized as
> Org headings otherwise.

Similar to org-mode (self)reporting about org-mode, i.e.

```org
  #+begin_src org
,* level one
,** level two
,** level two
  #+end_src
```

the escaping comma equally is added on the fly when closing the box (C-c ') for
a box about markdown, too.  The handy promotion/demotion of headers, or entries
of a list (M-left, M-right) which equally is available in an open box about
orgmode however is absent for an open box about markdown (M-up/M-down is
absent for both); however, this is not perceived as a constraint.

Thank you, the issue is resolved.

Norwid


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20221125204848.72322cc8.ref@debian>
2022-11-25 19:48 ` org-mode code fence for markdown Norwid Behrnd
2022-11-26  6:48   ` Ihor Radchenko
2022-11-26 17:10     ` Norwid Behrnd [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221126181015.62398c11@debian \
    --to=nbehrnd@yahoo.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.