mirror of https://github.com/yjwen/org-reveal.git
Replace haskell code with e-lisp.
As haskell is not that popular..
This commit is contained in:
parent
dfcf21fe45
commit
696613edef
11
Readme.org
11
Readme.org
|
@ -584,10 +584,13 @@ can have one optional ~%s~ to be replaced by ~reveal-root~.
|
||||||
To Use your Emacs theme, please make sure ~htmlize.el~ is
|
To Use your Emacs theme, please make sure ~htmlize.el~ is
|
||||||
installed. Then no more setup is necessary.
|
installed. Then no more setup is necessary.
|
||||||
|
|
||||||
Below is an example. Codes are copied from [[http://www.haskell.org/haskellwiki/The_Fibonacci_sequence][Haskell Wiki]].
|
Below is an example of highlighted lisp code from org-reveal.
|
||||||
#+BEGIN_SRC haskell
|
#+BEGIN_SRC lisp
|
||||||
fibs = 0 : 1 : next fibs
|
(defun org-reveal--read-file (file)
|
||||||
where next (a : t@(b:_)) = (a+b) : next t
|
"Return the content of file"
|
||||||
|
(with-temp-buffer
|
||||||
|
(insert-file-contents-literally file)
|
||||||
|
(buffer-string)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
If you saw odd indentation, please set variable =org-html-indent=
|
If you saw odd indentation, please set variable =org-html-indent=
|
||||||
|
|
Loading…
Reference in New Issue