Skip to content

Commit 785f75e

Browse files
committed
docs(project): clean up Org cheat sheet
1 parent caa579c commit 785f75e

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

documentation/OrgCheatSheet.org

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ If you are reading this file on GitHub or Codeberg: not all Org features may be
66
supported here. See HTML export for this file:
77
https://mmaulwurff.github.io/doom-toolbox/documentation/OrgCheatSheet.html
88

9-
Formatting: *bold* _underlined_ ~monospace~ +strikethrough+ /italics/ */_+combined+_/*
10-
11-
Paragraphs are separated by an empty line. Links: [[https://orgmode.org/quickstart.html][Org mode quickstart]].
9+
Paragraphs are separated by an empty line. Links: [[https://orgmode.org/quickstart.html][Org mode quickstart]]. Formatting:
10+
*bold* _underlined_ ~monospace~ +strikethrough+ /italics/ */_+combined+_/*.
1211

1312
Unordered lists:
1413
- one
@@ -18,14 +17,14 @@ Ordered lists:
1817
1. one
1918
2. two
2019

21-
Code block example. ~#+begin_src~ starts a code block. ~#+end_src~ ends it.
22-
The code inside this block will be put into ~main.c~ file when tangled.
20+
Code block are between ~#+begin_src~ and ~#+end_src~. The code inside this block will
21+
be put into ~main.c~ file when tangled.
2322
#+begin_src c :tangle main.c
2423
int main() { return 0; }
2524
#+end_src
2625

27-
Macro example. When exported or tangled, the following blocks are automatically put
28-
inside this block:
26+
Macro. When exported or tangled, the following blocks are automatically put inside
27+
this block:
2928
#+begin_src c :noweb yes
3029
// <<text-to-insert-here-name>>
3130
#+end_src
@@ -43,8 +42,7 @@ SPDX-License-Identifier: CC0-1.0
4342
*** Third level heading
4443

4544
-----
46-
4745
This block puts this .org file into the exported HTML page verbatim for comparison.
4846
#+begin_src elisp :exports both
49-
(print (org-file-contents "OrgCheatSheet.org"))
47+
(buffer-string)
5048
#+end_src

0 commit comments

Comments
 (0)