Org Mode in Hakyll

creation date: 2017-11-25, latest update: 2017-11-26

Testing Pandoc's emacs-org file conversion to html, based on this page.

This is the end of post itself. Everything below is just to test how Pandoc handles org files.

This is H1

There is paragraph under h1

H2

H3

Some basic test

This is bold, italic, code, verbatim and strike text.

List

Other style

Other style

  1. Bullet
  2. Another bullet
    1. child
      1. deep

Style * isn't supported.

Links

http://orgmode.org/

Check List [1/3] [33%]

Heading and has special class however <ul> and <li> are plain.

Task List

TODO some to-do

DONE done to-do

Items are added with special class.

Tables

number description
1 looooong long name
5 name

<tr> has even and odd classes.

Source Code

Emacs Lisp:

(defun negate (x)
    "Negate the value of x."
    (- x))
(print
    (negate 10))
-10

There are interesting classes like sourceCode and example. Also there html5 attributes prefixed with rundoc-.

Haskell:

factorial :: Int -> Int
factorial 0 = 1
factorial n = n * factorial (n - 1)

LaTeX

LaTeX characters are wrapped in <em> and Math inside <span class="math inline">.

ℋℯ𝓁𝓁ℴ!

NOTE: There is standard LaTeX embeded above which is skipped during compilation to HTML.

This is using https://www.mathjax.org/


$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$

Deadline

DEADLINE: <2016-12-20 Tue>

Tagged

Tags are not visible in render

Block Quote

Org mode is amazing. So is Hakyll & Pandoc.

Image

http://media.riffsy.com/images/f8534774b678ad1932b379a03460680b/raw

Images has to have extension like:

then it can be loaded even from other origin..

Description List

Frodo
The hobbit ringbearer
Aragorn
The human ranger, true kind of Gondor
Gandalf
The Grey Wizard

creddits to https://www.reddit.com/user/nihilmancer

Footnotes

This has some1 foot note.


  1. The link is: http://orgmode.org