From 696613edef0fe17a9c53146f79933fe7c4101100 Mon Sep 17 00:00:00 2001 From: Yujie Wen Date: Wed, 7 Aug 2019 23:50:20 +0800 Subject: [PATCH] Replace haskell code with e-lisp. As haskell is not that popular.. --- Readme.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Readme.org b/Readme.org index fcd7898..7da9bab 100644 --- a/Readme.org +++ b/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 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]]. - #+BEGIN_SRC haskell - fibs = 0 : 1 : next fibs - where next (a : t@(b:_)) = (a+b) : next t + Below is an example of highlighted lisp code from org-reveal. + #+BEGIN_SRC lisp + (defun org-reveal--read-file (file) + "Return the content of file" + (with-temp-buffer + (insert-file-contents-literally file) + (buffer-string))) #+END_SRC If you saw odd indentation, please set variable =org-html-indent=