...
1# -*- org -*-
2#+title: Single Post with TOML front matter
3#+author:
4#+date: 2017-07-20
5#+options: creator:t toc:2
6
7#+hugo_base_dir: ../../
8#+hugo_categories: cat1 cat2
9#+hugo_menu: :menu "foo" :weight 10 :parent main :identifier single-toml
10#+description: Some description for this post.
11
12This is a single post. You do not need to set the =EXPORT_FILE_NAME=
13property in here. But then you also lose the tag and property
14inheritance Org awesomeness.
15
16line one \\
17line two
18
19*bold* /italics/ =verbatim= ~code~ +strikethrough+ _underline_
20* First heading in this post
21This is a under first heading. <2018-07-27 Fri>
22** COMMENT comment header
23** TODO something
24** DONE anything
25CLOSED: [2018-08-01 Wed 16:17]
26
27{{{n}}} abc {{{n(,10)}}} def {{{n(x,5)}}}
28* Second heading in this post
29- unordered list item 1
30- unordered list item 2
31- Desc1 :: Description list item 1
32- Desc2 :: Description list item 2
33
341. ordered list item 1
352. ordered list item 2
36
37
381) ordered list item 1
392) ordered list item 2
403) [@20] asdf
41
42
43- *bold*
44- /italics/
45- =verbatim=
46- ~code~
47- +strikethrough+
48- _underline_
49
50#+begin_comment
51this is a
52comment
53#+end_comment
54
55- 09 :: asdf
56- 09 :: asdf
57** Checkbox lists :checkbox:list:
58- [ ] asdf
59- [X] def
60* Dates
61** deadline
62DEADLINE: <2018-07-31 Tue>
63something
64** scheduled
65SCHEDULED: <2018-07-31 Tue>
66something
67* Blocks
68#+BEGIN_QUOTE
69quote
70block
71#+END_QUOTE
72
73#+begin_example
74example
75block
76#+end_example
77
78#+begin_src emacs-lisp
79(message "hello")
80#+end_src
81
82#+begin_details
83#+begin_summary
84Why is this in *green*?
85#+end_summary
86You will learn that later below in [[#details-css][CSS]] section.
87#+end_details
88
89#+begin_export html
90<style>
91.my-table th,
92.my-table td {
93 padding: 20px;
94 text-align: left;
95}
96</style>
97#+end_export
98
99- {{{latex}}}
100- {{{xetex}}}
101#+caption: Declaring Constants
102#+name: code__decl_constants
103#+begin_src systemverilog
104const bit [7:0] R_CHARACTER = 8'b000_11100; // The /K28.0/ character
105const bit [7:0] A_CHARACTER = 8'b011_11100; // The /K28.3/ character
106const bit [7:0] Q_CHARACTER = 8'b100_11100; // The /K28.4/ character
107#+end_src
108Check out code snippet [[code__decl_constants]].
109* Links :some_tag:
110:properties:
111:CUSTOM_ID: links
112:end:
113- [[file:post-yaml.org]]
114- [[file:post-yaml.org][Post exported with YAML front-matter]].
115- <<target>>
116* Tables
117:PROPERTIES:
118:CUSTOM_ID: tables
119:END:
120| a | b |
121| c | d |
122
123|---+---|
124| a | b |
125|---+---|
126| c | d |
127|---+---|
128
129Some text [fn:2]
130
131#+BEGIN: aggregate :table "original" :cols "Color count()"
132| Color | count() |
133|-------+---------|
134| Red | 7 |
135| Blue | 7 |
136#+END:
137* Footnotes
138
139[fn:2] footnote 2
140[fn:1] For more detail, check out the Org manual [[http://orgmode.org/
141manual/Footnotes.html][page for footnotes]].
142* Local Variables :ARCHIVE:
143# Local Variables:
144# org-link-file-path-type: relative
145# End:
View as plain text