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