Move samples from samples branch to master branch
Originally-authored-on: 2020-10-26
This commit is contained in:
5
samples/links.org
Normal file
5
samples/links.org
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[[https://google.com]]
|
||||||
|
|
||||||
|
[[https://google.com][Google]]
|
||||||
|
|
||||||
|
Hello [[world]] foo.
|
||||||
52
samples/sample1.org
Normal file
52
samples/sample1.org
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
#+TITLE: Org-mode sample 1
|
||||||
|
|
||||||
|
This is some sample text showing off the org-mode syntax for *bold*, /italic/,
|
||||||
|
_underlined_ and +strike-through+ text.
|
||||||
|
|
||||||
|
Org-mode also has support for single line and block comments.
|
||||||
|
|
||||||
|
# This is a single-line comment; denoted by the # at the beginning of the line.
|
||||||
|
|
||||||
|
#+BEGIN_COMMENT
|
||||||
|
This is a block comment, which is denoted through th use of the delimiters
|
||||||
|
found above and below.
|
||||||
|
#+END_COMMENT
|
||||||
|
|
||||||
|
_this is underline text
|
||||||
|
this is more_
|
||||||
|
|
||||||
|
~verbatim~
|
||||||
|
|
||||||
|
: verbatim
|
||||||
|
|
||||||
|
asasdf ** __
|
||||||
|
_hello world_ something __ _hello_
|
||||||
|
|
||||||
|
_hello world_ _ _ __
|
||||||
|
|
||||||
|
=monospace=
|
||||||
|
|
||||||
|
#+BEGIN_SRC file-type
|
||||||
|
this is a code block
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+BEGIN_EXAMPLE
|
||||||
|
some example text
|
||||||
|
#+END_EXAMPLE
|
||||||
|
|
||||||
|
#+SOME_OPTION: This is an org-mode option
|
||||||
|
|
||||||
|
Active date:
|
||||||
|
<2019-03-02 23:44>
|
||||||
|
Inactive date:
|
||||||
|
[2019-03-02 23:44]
|
||||||
|
|
||||||
|
[[https://google.com]]
|
||||||
|
[[https://google.com][Google]]
|
||||||
|
|
||||||
|
* Heading 1
|
||||||
|
** Heading 2
|
||||||
|
*** Heading 3 :tag:
|
||||||
|
**** TODO DONE NEXT DOING Heading 4
|
||||||
|
|
||||||
|
# vim: set spell :
|
||||||
83
samples/sample2.org
Normal file
83
samples/sample2.org
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
#+TITLE: Hello world
|
||||||
|
|
||||||
|
[[hello world][something]] <-- this is a link
|
||||||
|
|
||||||
|
*bold*
|
||||||
|
|
||||||
|
/italic/
|
||||||
|
|
||||||
|
+strikethrough+
|
||||||
|
|
||||||
|
_underline_
|
||||||
|
|
||||||
|
/aasdf *sdfasdf* sadfasdf/
|
||||||
|
|
||||||
|
#+BEGIN_COMMENT
|
||||||
|
hello world this is a comment block
|
||||||
|
#+END_COMMENT
|
||||||
|
|
||||||
|
# comment
|
||||||
|
|
||||||
|
1. Foo bar bz baz this is a /not so/ very long line of text in this vim 8.2
|
||||||
|
buffer.
|
||||||
|
2. Hello world.
|
||||||
|
1. Foo
|
||||||
|
2. Bar
|
||||||
|
|
||||||
|
- foo
|
||||||
|
- bar
|
||||||
|
|
||||||
|
- This is *foo*
|
||||||
|
- A nested listsdf
|
||||||
|
+ Using different asdfasd
|
||||||
|
+ delimiters /fee/
|
||||||
|
|
||||||
|
+ Foo bar bz baz this is a /not so/ very long line of text in this vim 8.2 buffer.
|
||||||
|
|
||||||
|
+ [ ] This is a checkbox.
|
||||||
|
+ [ ] Nested checkbox.
|
||||||
|
+ [X] This is a checked checkbox with really long text to test how wrapping
|
||||||
|
works.
|
||||||
|
+ [ ] Something asdf asdf asdf adfs dsf asdf sadf sadf sadf saf sdf asdf sdf
|
||||||
|
asdf sadf
|
||||||
|
|
||||||
|
# * foo not a list item
|
||||||
|
# * Is a list item
|
||||||
|
|
||||||
|
|
||||||
|
| Table | Column 1 |
|
||||||
|
|-------+----------|
|
||||||
|
| item | _foo_ bar |
|
||||||
|
|
||||||
|
<2003-09-16 Tue 12:00>--<2003-09-16 Tue 12:00>
|
||||||
|
<2003-09-16 Tue>--<2003-09-16 Tue>
|
||||||
|
[2003-09-16 Tue]
|
||||||
|
[2003-09-16 Tue 12:00]--[2003-09-16 Tue 12:00]
|
||||||
|
<2003-09-16 Tue>
|
||||||
|
<2003-09-16 Sáb>
|
||||||
|
<2003-09-16 Tue 12:00-12:30>
|
||||||
|
|
||||||
|
#+asdasdsdfasdf: asdfasd
|
||||||
|
|
||||||
|
~verbatim~
|
||||||
|
: verbatim
|
||||||
|
|
||||||
|
=monospace=
|
||||||
|
|
||||||
|
#+BEGIN_SRC
|
||||||
|
asdfasdfasdf
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
* Hello world
|
||||||
|
** Foo bar
|
||||||
|
*** Something :something_else:
|
||||||
|
|
||||||
|
******** asdfasdf
|
||||||
|
|
||||||
|
hello world
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
**** Hello world
|
||||||
|
|
||||||
|
something
|
||||||
45
samples/sample3.org
Normal file
45
samples/sample3.org
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
#+TITLE: This is a title
|
||||||
|
#+Author: Foo bar
|
||||||
|
|
||||||
|
* Heading 1
|
||||||
|
|
||||||
|
This is *bold* text.
|
||||||
|
This is /italic/ text.
|
||||||
|
This is _underlined_ text.
|
||||||
|
This is +strikethrough+ text.
|
||||||
|
This is ~monospace~ text.
|
||||||
|
This is =verbatim= text.
|
||||||
|
|
||||||
|
Link to [[https://www.orgmode.org][Org mode]] website.
|
||||||
|
|
||||||
|
Get Org.vim from here: [[https://github.com/axvr/org.vim]]
|
||||||
|
|
||||||
|
# Comment
|
||||||
|
|
||||||
|
: Verbatim
|
||||||
|
|
||||||
|
#+BEGIN_SRC lisp
|
||||||
|
(if (> 1 2)
|
||||||
|
(print "True")
|
||||||
|
(print "False"))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+BEGIN_COMMENT
|
||||||
|
This is a comment block.
|
||||||
|
#+END_COMMENT
|
||||||
|
|
||||||
|
- Foo.
|
||||||
|
- Bar.
|
||||||
|
+ Biz.
|
||||||
|
1. Hello.
|
||||||
|
2. World.
|
||||||
|
+ Baz.
|
||||||
|
1) Org,
|
||||||
|
2) Mode.
|
||||||
|
|
||||||
|
Time stamps: [2020-03-01] <2020-02-29>
|
||||||
|
|
||||||
|
** TODO Heading 2
|
||||||
|
*** Heading 3 :heading:tags:
|
||||||
|
**** Heading 4
|
||||||
|
and so on...
|
||||||
36
samples/tex.org
Normal file
36
samples/tex.org
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
#+TITLE: Experiment with TeX in Org mode
|
||||||
|
#+OPTIONS: tex:t
|
||||||
|
|
||||||
|
Hello $\alpha$.
|
||||||
|
|
||||||
|
$$\alpha$$
|
||||||
|
|
||||||
|
* Foo $\alpha$
|
||||||
|
|
||||||
|
*foo $\alpha$ bar*
|
||||||
|
|
||||||
|
\neg
|
||||||
|
|
||||||
|
a \begin{equation} % arbitrary environments,
|
||||||
|
x=\sqrt{b} % even tables, figures
|
||||||
|
\end{equation} % etc
|
||||||
|
|
||||||
|
\begin{equation} % arbitrary environments,
|
||||||
|
x=\sqrt{b} % even tables, figures
|
||||||
|
\end{equation} % etc
|
||||||
|
|
||||||
|
\begin{equation} % arbitrary environments,
|
||||||
|
x=\sqrt{b} % even tables, figures
|
||||||
|
\end{equation} % etc
|
||||||
|
|
||||||
|
\begin[asdf]{equation2} % arbitrary environments,
|
||||||
|
x=\sqrt{b} % even tables, figures
|
||||||
|
\end{equation2} % etc
|
||||||
|
|
||||||
|
If $a^2=b$ and \( b=2 \), then the solution must be
|
||||||
|
either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
|
||||||
|
|
||||||
|
$$
|
||||||
|
|
||||||
|
a+=\alpha
|
||||||
|
$$
|
||||||
46
samples/unusual.org
Normal file
46
samples/unusual.org
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
Hello /world/ foo/bar/asdf biz/baz//buz/
|
||||||
|
|
||||||
|
~foo~
|
||||||
|
|
||||||
|
*hello*
|
||||||
|
/_asdf/
|
||||||
|
a/foo/
|
||||||
|
-/foo/
|
||||||
|
#/foo/
|
||||||
|
@/foo/
|
||||||
|
:/foo/
|
||||||
|
_/foo/_
|
||||||
|
+/foo/+
|
||||||
|
3/foo/
|
||||||
|
£/foo/
|
||||||
|
;/foo/
|
||||||
|
,/foo/
|
||||||
|
./foo/
|
||||||
|
*hello*
|
||||||
|
|
||||||
|
/asdföasdf/
|
||||||
|
/öasdf/
|
||||||
|
|
||||||
|
hello /foo
|
||||||
|
bar/
|
||||||
|
|
||||||
|
*Foo. Bar.*
|
||||||
|
|
||||||
|
Biz
|
||||||
|
|
||||||
|
|
||||||
|
Org mode will match unconditionally from first =*= (must be preceded by [- '"(] ) to first one with [ \n\r-'")[}] on the right side.
|
||||||
|
|
||||||
|
|
||||||
|
*Hello
|
||||||
|
asdf world*
|
||||||
|
|
||||||
|
Hello 123468-qwertyuiop[]\aasdfgghjjk;/.,mzxcg!@#$%^&*(*Foo=\\\\]][][[[*asdf]* [asdf*
|
||||||
|
|
||||||
|
Bar
|
||||||
|
|
||||||
|
*Helloa sdf world
|
||||||
|
asdf ** dasf
|
||||||
|
Hello 123468-qwertyuiop[]\aasdfgghjjk;'"/.,mzxcg!@#$%^&*(*Foo=\\\\]][ _asd_ [[*asdf]"**[a*sdf*/
|
||||||
|
|
||||||
|
Bar
|
||||||
Reference in New Issue
Block a user