If you don’t see these code-blocks with proper syntax highlighting, check this out. Also, some verbatim
.
These examples should cover most of font-lock colors.
;; So much syntax
;;;###autoload
(defun babel-is-scuffed ()
"Docstring stolen from URL `http://xahlee.info/emacs/emacs/inline_doc.tml'.
Also see \\[erase-buffer]"
[1 2 -3])
(erase-buffer)
// So much syntax
#include <stdio.h>
struct useless_struct {
int hello;
};
useless_label:
int main() {
printf("Hello, world!");
return -1 + 1;
}
-- So much syntax
::useless_label::
if true then
local useless_variable<const> = -1 * 1
print(useless_variable, "Hello, world!", {1, 2, 3})
local function useless_function()
end
useless_function()
goto useless_label
end
- A list
- is used to list things
- not to separate sentences
- Pears
- Favorite fruit!
- Apples
- Cheap pears knockoff
- Bananas
- Meh…
- Plums
- 2nd fav fruit prob
- Strawberry
- They are delicious when bathed in chocolate
- Tangerines
- Better than oranges really
- I
- HATE
- ITEMS
- WITH
- MULTIPLE
- WORDS
- This is just the same as before
- Still, pretty cool, right?
- This syntax is pretty cool too
- I love the versatility of org-mode
Use C-c C-c
to toggle a checkbox
- [ ] Uninstalled Emacs?
- [-] Are we cool yet? [1/2]
- [X] Using org-mode?
- [ ] Not procrastinating?
- [-] The same as before [50%]
- [X] Using org-mode?
- [ ] Not procrastinating?
Some dare call me an anarchist… But I’m actually a fascist
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
- State “DONE” from “TODO” [2024-03-10 dom]
<2024-03-10 dom +1y>
I wish it was on [2024-03-09 sáb]…
<2024-03-12 mar>–<2024-03-19 mar>
<%%(diary-aniversary 3 10 2008)>
To be or not to be, wait… is that a question? —Jorge Luis Borges
I
hate\
MONDAYS!!
This is a footnote[fn:: Oh. really?!], this is another footnote[fn:sillyname: You must be kidding me man…] and this is the same footnote as before[fn:sillyname]… So cool!
There’s sooo many things you can do.
C-c }
(org-table-toggle-coordinate-overlays
) to show the table coordinatesC-u C-c *
to recalculate the table values
A | B | C | D | E |
---|---|---|---|---|
1 | 2 | 3 | 4 | 10 |
4 | 2 | 2 | 2 | 10 |
5 | 6 | 3 | 1 | 15 |
9 | 83 | 31 | 351 | 474 |
19 | 93 | 39 | 358 | 511 |
You should see the :=1
highlighted:
:=1 |
{{{n}}}. Yup!
{{{n}}}. Macros are a thing in org-mode
{{{n}}}. {{{n}}}
in particular acts as a counter
<<Heh…>> Heh…
- Time since using org-mode
Do C-c C-e
or M-x org-export-dispatch
and yeah. Pretty cool, right?…
C-c C-x C-c
(org-columns
) on the heading above. Then q
on it, or M-x org-columns-quit
on it
- Try org’s folding
- Just press
TAB
! - Use the region
- (Select literally anything)
- Try doing citations
- Do not try it (I will not elaborate on this.)