56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
<endfold id='1'></endfold id='1'><beginfold id='1'></beginfold id='1'>* Heading
|
|
<beginfold id='2'></beginfold id='2'>:PROPERTIES:
|
|
:property: test
|
|
<endfold id='2'>:END:</endfold id='2'>
|
|
|
|
Regular *bold* /italic/ _underline_ +strike-through+ =verbatim= ~code~ text.
|
|
|
|
Highlight https://invent.kde.org/frameworks/syntax-highlighting [[kde.org]] links.
|
|
|
|
# This is a comment.
|
|
|
|
<endfold id='1'></endfold id='1'><beginfold id='1'></beginfold id='1'>** TODO [#B] Heading [1/3]
|
|
|
|
+ [X] First item
|
|
+ [-] Second item
|
|
- [X] Sub-item
|
|
- [ ] Sub-item 2
|
|
|
|
|
|
1. Number list
|
|
2. [ ] Number list with checkbox
|
|
|
|
#+NAME: showcase-block
|
|
<beginfold id='3'>#+BEGIN_BLOCK</beginfold id='3'>
|
|
Inside a block
|
|
<endfold id='3'>#+END_BLOCK</endfold id='3'>
|
|
|
|
<beginfold id='3'>#+BEGIN_SRC</beginfold id='3'><beginfold id='4'> rust</beginfold id='4'>
|
|
<beginfold id='5'>{</beginfold id='5'>
|
|
let a = 1;
|
|
let mut b = &a;
|
|
<beginfold id='5'>{</beginfold id='5'>
|
|
let c = 2;
|
|
b = &c;
|
|
<endfold id='5'>}</endfold id='5'>
|
|
// Attempting to use `b` here will error.
|
|
<endfold id='5'>}</endfold id='5'>
|
|
<endfold id='3'>#+END_SRC</endfold id='3'>
|
|
|
|
<beginfold id='3'>#+BEGIN_SRC</beginfold id='3'> sh
|
|
echo "This is shell script syntax highlighting!"
|
|
# comment
|
|
# this should not change the syntax highlighting to C language: c
|
|
exec ls -la
|
|
<endfold id='3'>#+END_SRC</endfold id='3'>
|
|
|
|
<beginfold id='3'>#+BEGIN_SRC</beginfold id='3'><beginfold id='4'> py</beginfold id='4'>
|
|
import bla
|
|
|
|
def main<beginfold id='6'>(</beginfold id='6'><endfold id='6'>)</endfold id='6'>:
|
|
print<beginfold id='6'>(</beginfold id='6'>"hello world!"<endfold id='6'>)</endfold id='6'>
|
|
|
|
main<beginfold id='6'>(</beginfold id='6'><endfold id='6'>)</endfold id='6'>
|
|
|
|
<endfold id='3'>#+END_SRC</endfold id='3'>
|