From: Ihor Radchenko <yantar92@posteo.net>
To: Norwid Behrnd <nbehrnd@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode code fence for markdown
Date: Sat, 26 Nov 2022 06:48:17 +0000 [thread overview]
Message-ID: <874jumky8e.fsf@localhost> (raw)
In-Reply-To: <20221125204848.72322cc8@debian>
Norwid Behrnd <nbehrnd@yahoo.com> writes:
> I seek a similar fence to document a pattern in Markdown. An example would be
> a nested list such as
>
> ```markdown
> * Item 1
> * Item 2
> - Item 2a
> + Item 2a1
> - Item 2b
> * Item 3
> ```
>
> Contrasting to my anticipation, neither `C-c C-, s` followed by a tentative
> «md», nor «markdown» yield a box which opens by `C-c '`. Neither table 1, nor
> 2 on worg's documentation[1] mentions markdown.
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
Note that you need to escape the stars as they would be recognized as
Org headings otherwise.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2022-11-26 6:48 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 [this message]
2022-11-26 17:10 ` Norwid Behrnd
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=874jumky8e.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=nbehrnd@yahoo.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).