her.esy.fun/src/demo.org

220 lines
6.2 KiB
Org Mode
Raw Normal View History

2019-07-11 22:26:33 +00:00
#+TITLE: This is the title
#+AUTHOR: Yann Esposito
2019-07-29 22:10:54 +00:00
#+EMAIL: yann@esposito.host
2019-07-11 22:26:33 +00:00
#+KEYWORDS: programming
#+DESCRIPTION: css demonstration
#+OPTIONS: H:5
2019-07-22 22:59:15 +00:00
#+OPTIONS: auto-id:t
2019-07-11 22:26:33 +00:00
* Level 1 in org-mode
2019-07-22 22:59:15 +00:00
:PROPERTIES:
:CUSTOM_ID: level-1-in-org-mode-e308
:END:
2019-07-11 22:26:33 +00:00
This is a text I write so we can test many different details of a web page.
The text can be *bold*, /italic/, +strikethrough+ or =keyword=.
Here is a [[file:index.html][link to another page]].
There should be whitespace between paragraphs.
Mulitples lines
in the source
code should
be set as a single
paragraph.
But if I use a double space
There should be a forced newline.
** Level 2
2019-07-22 22:59:15 +00:00
:PROPERTIES:
:CUSTOM_ID: level-2-85fc
:END:
2019-07-11 22:26:33 +00:00
There should be whitespace between paragraphs.
GitHub is a code hosting platform for version control and collaboration.
It lets you and others work together on projects from anywhere.
*** Level 3
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: level-3
:END:
2019-07-11 22:26:33 +00:00
#+begin_quote
This is a blockquote following a header.
When something is important enough, you do it even if the odds are not in your
favor.
#+end_quote
**** Level 4
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: level-4
:END:
2019-07-11 22:26:33 +00:00
#+begin_src javascript
// Javascript code with syntax highlighting.
var fun = function lang(l) {
dateformat.i18n = require('./lang/' + l)
return true;
}
#+end_src
#+begin_src ruby
# Ruby code with syntax highlighting
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
end
#+end_src
#+begin_src clojure
(defn clj-fn
"A clojure function with syntax highlighting"
[arg]
(clojure.pprint/pprint arg))
#+end_src
#+begin_src haskell
-- main hello world
main :: IO ()
main = do
putStrLn "What is your name?"
name <- getLine
putStrLn $ "Hello " <> name <> "!"
#+end_src
***** Level 5
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: level-5
:END:
2019-07-11 22:26:33 +00:00
- this is an unordered list following a header.
2019-08-15 15:56:29 +00:00
- this is an unordered list following a header. This time with quite a long
text that should goes to the line. Let's write a bit more text with some
=code= here, just to be sure that it use many lines.
2019-07-11 22:26:33 +00:00
- this is an unordered list following a header.
2019-08-15 15:56:29 +00:00
1. this is an ordered list.
2. this is an ordered list that will use many lines. I will fill it with a bit
of random text. Also I will but some =code= inside it, with /italic/ and *bold*
text just to check the line-height.
2019-07-11 22:26:33 +00:00
- sub unordered
- sub sub unordered
2019-08-15 15:56:29 +00:00
- Ok, Haxx0r ipsum concurrently malloc leet new injection bin epoch daemon
system Leslie Lamport shell spoof. Finally boolean continue mutex endif
its a feature gobble packet public irc race condition grep ifdef Im
compiling. Try catch bar bytes Im sorry Dave, Im afraid I cant do
that pragma win sql gnu kilo deadlock blob try catch exception Donald
Knuth brute force.
2019-07-11 22:26:33 +00:00
- unordered
1. ordered again
2. yep :)
3. this is an ordered list following a header.
1. sub ordered
2. second
1. sub sub ordered
2. still
3. here
4. this is an ordered list following a header.
| head1 | head two |
|-----------+---------------------------|
| Sir Robin | the not so brave |
| Lancelot | search the =holy= *graal* |
| Galaad | the /pure/ |
| Zoot | Just =Zoot= |
Bad too wide table...
| head1 | head two | head3 | head4 | head5 | head 6 | head7 |
|-----------+---------------------------+-----------------------+--------------------+-------------------------------------------------+--------+---------------------------------------|
| Sir Robin | the not so brave | very big content here | super long content | What could I say, I like trying to break things | n/a | superlongwordthatcouldnotfitcorrectly |
| Lancelot | search the =holy= *graal* | | | | | |
| Galaad | the /pure/ | | | | | |
| Zoot | Just =Zoot= | | | | | |
There's a horizontal rule below this
------
*** Here is an unordered list:
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: here-is-an-unordered-list-
:END:
2019-07-11 22:26:33 +00:00
- level 1 item
- level 2 item
- level 2 item
- level 2 item
- level 3 item
- level 3 item
- level 1 item
- level 2 item
- level 3 item
- level 3 item
- level 2 item
- level 2 item
- level 1 item
- level 2 item
- level 2 item
- level 2 item
2019-07-14 08:26:15 +00:00
**** Image test
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: image-test
:END:
2019-07-14 08:26:15 +00:00
an image:
#+CAPTION: Testing include an image
#+NAME: fig:test-image
#+ATTR_HTML: The Experiment
2019-07-28 16:44:25 +00:00
[[../img/a.png]]
2019-07-14 08:26:15 +00:00
We could try inline image
2019-07-28 16:44:25 +00:00
[[../img/a.png]]
2019-07-14 08:26:15 +00:00
just to check.
2019-07-28 16:44:25 +00:00
- [[../img/a.png]] item with img
- [[../img/a.png]] item with img
- [[../img/a.png]] item with img
- [[../img/a.png]] item with img
2019-07-14 08:26:15 +00:00
2019-07-11 22:26:33 +00:00
***** TODO todo
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: todo
:END:
2019-07-11 22:26:33 +00:00
****** IN-PROGRESS in-progress
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: in-progress
:END:
2019-07-11 22:26:33 +00:00
******* IN-REVIEW in-review
2019-07-28 16:44:25 +00:00
:PROPERTIES:
:CUSTOM_ID: in-review
:END:
2019-07-11 22:26:33 +00:00
****** HOLD on hold state
2019-07-29 22:10:54 +00:00
:PROPERTIES:
:CUSTOM_ID: on-hold-state
:END:
2019-07-11 22:26:33 +00:00
- State "HOLD" from "IN-REVIEW" [2019-07-09 Tue 13:44] \\
some reason
****** WAITING waiting status
2019-08-15 15:56:29 +00:00
:PROPERTIES:
:CUSTOM_ID: waiting-status
:END:
2019-07-11 22:26:33 +00:00
- State "WAITING" from [2019-07-09 Tue 13:44] \\
waitin for someone
****** DONE done status
2019-08-15 15:56:29 +00:00
:PROPERTIES:
:CUSTOM_ID: done-status
:END:
2019-07-11 22:26:33 +00:00
****** CANCELED canceled status
CLOSED: [2019-07-09 Tue 13:45]
2019-08-15 15:56:29 +00:00
:PROPERTIES:
:CUSTOM_ID: canceled-status
:END:
2019-07-11 22:26:33 +00:00
- State "CANCELED" from [2019-07-09 Tue 13:45] \\
cancel reason