reddit / emacs

Org-mode org-mode source blocks

wasag · 2022-03-10 12:01
Is it possible to have org-mode source blocks in org-mode? I want to make notes about the header options in org-mode in org-mode.
organic-bookworm · 2022-03-10 12:24
See [Literal Examples (The Org Manual)](https://orgmode.org/manual/Literal-Examples.html#Literal-Examples) Here's an Org source block with Org source block: #+BEGIN_SRC org ,#+NAME: example ,#+BEGIN_SRC org example ,#+END_SRC #+END_SRC
wasag · 2022-03-10 12:37
Nice. Thanks.
data_dan_ · 2022-03-10 13:47
Also, if you do `org-edit-special` (`<C-c '>`) in the org source block, and then write in normal org syntax, the commas will be automatically added wherever needed. I wrote a thing about this that goes into some more detail: https://djliden.github.io/posts/20220208-org-source.html
wasag · 2022-03-10 16:01
Hm. Also nice.