From: Norwid Behrnd <nbehrnd@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: org-mode code fence for markdown
Date: Fri, 25 Nov 2022 20:48:48 +0100 [thread overview]
Message-ID: <20221125204848.72322cc8@debian> (raw)
In-Reply-To: 20221125204848.72322cc8.ref@debian
Dear list,
based on previous experience to fence small snippets of code in org-mode e.g.,
for Fortran in a pattern like
```org
* example Fortran (not FORTRAN 77)
#+begin_src f90 :tangle echo.f90
program test
implicit none
write (*, '(A)') "Fortran"
end program test
#+end_src
```
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.
Is there a special key (similar to f90 for contemporary Fortran) /to tangle/
selected, individually fenced snippets of .md stored in one .org file into one
.md file which wasn't yet added to these tables? Or -- given subtle
differences in the dialects e.g., by Gruber, GitHub, Pandoc -- is there too
little benefit for such an additional bridge, perhaps especially whole .org
documents may be rewritten into any of the three forms of .md by pandoc, and
`C-c C-e` equally may be configured to export a buffer of running Emacs
org-mode to .md?
Norwid
[1] https://orgmode.org/worg/org-contrib/babel/languages/index.html
next parent reply other threads:[~2022-11-25 19:50 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 ` Norwid Behrnd [this message]
2022-11-26 6:48 ` org-mode code fence for markdown Ihor Radchenko
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=20221125204848.72322cc8@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 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).