- Item 1 - Item 2 + Depth 2 + Depth 2 * Third * Third
Show one by one:
Show one by one: #+ATTR_HTML: :class build - Item 1 - Item 2 - Item 3
Show one by one:
Show one by one: #+ATTR_HTML: :class build fade - Item 1 - Item 2 - Item 3
1. First 2. Second 3. Third - Item - Item
#+ATTR_HTML: :class build - Build me - Build me #+ATTR_HTML: :class build + Build me + Build me * No build * No build
This slide has :ARTICLE: smaller
property, so has smaller content.
:PROPERTIES: :ARTICLE: smaller :END:
This slide has :ARTICLE: larger
property, so has larger content.
:PROPERTIES: :ARTICLE: larger :END:
This slide has :ARTICLE: large
property, so has large content.
:PROPERTIES: :ARTICLE: larger :END:
A source block looks like this:
(def hello-world () (message "hello world!"))
<s
in a newline, then press [TAB]
to expand to #+BEGIN_SRC ... #+END_SRC
.
emacs-lisp
).
#+BEGIN_SRC emacs-lisp (def hello-world () (message "hello world!")) #+END_SRC
h
to highlight the code.
<b> ... </b>
in source block.
(defun org-ioslide-quote-block (quote-block contents info) (let* ((parent (org-export-get-parent-headline quote-block)) (slide-prop (org-element-property :SLIDE parent)) (--make-sign (function (lambda (string) (replace-regexp-in-string "^ *\\(ȁ[34];\\)\\(.+\\)\\(<br */>\\|\n\\)" "<span class='alignright'>\\1\\2</span>\\3" string))))) (if (and slide-prop (string-match "segue" slide-prop)) (format "<q>\n%s</q>" (funcall --make-sign contents)) (format "<blockquote>\n%s</blockquote>" (save-match-data (replace-regexp-in-string "</span>\n</p>" "</span><br />\n</p>" (funcall --make-sign contents)))))))
Type <q
in a newline, then press [TAB]
to expand to a quote block (Use \\
to break line forcely.):
一個人因為講實話而成為英雄,換句話說是整個社會都在說謊。
一人は真実を言うだけからヒーローになる。換言すれば、この社会は全部が嘘している。
If a person is treated as a hero for saying truth, that is the whole society are lying.
– 柯文哲 Wen Jei, Ko. (2014)
#+BEGIN_QUOTE 一個人因為講實話而成為英雄,換句話說是整個社會都在說謊。\\ 一人は真実を言うだけからヒーローになる。換言すれば、この社会は全部が嘘 している。\\ If a person is treated as a hero for saying truth, that is the whole society are lying.\\ -- 柯文哲 Wen Jei, Ko. (2014) #+END_QUOTE
Verse block is similar with quote's, but it will keeps line break. Take a poem as example:
眾里尋他千百度
驀然回首
那人卻在
燈火闌珊處
– 辛棄疾〈青玉案〉
#+BEGIN_VERSE 眾里尋他千百度 驀然回首 那人卻在 燈火闌珊處 -- 辛棄疾〈青玉案〉 #+END_VERSE
#+BEGIN_CENTER #+ATTR_HTML: :width 400px [[file:images/sky.jpg]] #+END_CENTER
Text is in white.
:PROPERTIES: :FILL: images/sky.jpg :TITLE: white :SLIDE: white :END:
Add a *
prefix to highlight item. e.g. * Highlight Item
Title1 | Title2 | Title2 |
---|---|---|
Item1 | Highlight Item | 11 |
Item2 | Shiroshime Kanata | 25 |
Item3 | Test | 56 |
| Title1 | Title2 | Title2 | |--------+-------------------+--------| | Item1 | * Highlight Item | 11 | | Item2 | Shiroshime Kanata | * 25 | | Item3 | Test | 56 |
Use C-c C-x f
to create footnotes [fn:N]
, which will be placed under a slide:
Jump between footnotes with
C-c C-c
on[fn:N]
.
* Title This is content text.[fn:1] ... * Footnotes [fn:1] Footnote is in here!
org-ioslide
uses MathJax to render math formula:
$$\int_0^\infty e^{-x^2} dx=\frac{\sqrt{\pi}}{2}$$
$$\int_0^\infty e^{-x^2} dx=\frac{\sqrt{\pi}}{2}$$
By default, MathJax is installed and enabled.
If you don't need this, just add #+USE_MATHJAX: false
in your slide file to shrink slide size.
p
to display speaker note.
#+ATTR_HTML: :class note
before a QUOTE block, and its contents will be converted into speaker note:
#+ATTR_HTML: :class note #+BEGIN_QUOTE This is the note area for presenter. - Item 1 - Item 2 A [[https://github.com/][link]] to Github! #+END_QUOTE
Segue ([`segwe]) page is passing page.
:SLIDE: segue dark quote :ASIDE: right bottom :ARTICLE: flexbox vleft auto-fadein
Text content of Segue page will appear here.
This is what a normal QUOTE block looks like, which under a segue slide.
The second paragraph. – Name Sign
h
highlights code snippets
p
toggles speaker notes (if they're on the current slide)
f
toggles fullscreen viewing
w
toggles widescreen
o
toggles overview mode
ESC
toggles off these goodies
Available properties applied separatly on each slide pages:
:SLIDE: dark segue [thank-you-slide] :ASIDE: [left right] [top bottom] :ARTICLE: flexbox vleft auto-fadein [smaller/larger/large]
Available options applied on the whole slide:
# Appear in cover-slide: #+TITLE: Org-IO Slide Demo & Example #+SUBTITLE: Here Is Subtitle #+COMPANY: Company Name # Appear in thank-you-slide: #+GOOGLE_PLUS: https://plus.google.com/YOUR_ACCOUNT #+WWW: http://your.blog.io/ #+GITHUB: http://github.com/YOUR_ACCOUNT #+TWITTER: USER_NAME # Appear under each slide: #+FAVICON: images/emacs-icon.png #+ICON: images/org-icon.png #+HASHTAG: Hash tag appears in here # Google Analytics #+ANALYTICS: UA-42122243-1
Use or disable JS packages.
# Highlight code blocks with Prettify.js #+USE_PRETTIFY: true # Display math formula with MathJax.js # MathJax is a little fat (~5 MB), set it `false` if no need to shrink the # size of slide file #+USE_MATHJAX: true # Build list animation #+USE_BUILDS: true
:SLIDE: thank-you-slide segue :ASIDE: right :ARTICLE: flexbox vleft auto-fadein
Both
thank-you-slide
andsegue
are necessary!
Thank You ˊ・ω・ˋ