emacs-orgmode
[Top][All Lists]
Advanced

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

Re: org-mode code fence for markdown


From: Norwid Behrnd
Subject: Re: org-mode code fence for markdown
Date: Sat, 26 Nov 2022 18:10:15 +0100

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 via email to

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