added url form explanation

This commit is contained in:
Evan Misshula 2014-11-27 13:44:09 -05:00
parent 2380fd7bc2
commit cff0c9f962
1 changed files with 13 additions and 3 deletions

View File

@ -89,10 +89,20 @@ $ git clone https://github.com/yjwen/org-reveal.git
(setq org-reveal-root "file:///d:/reveal.js")
#+END_SRC
*IMPORTANT*: the absolute path to Reveal.js should be in URL form,
"file:///path_to_reveal.js", as illustrated above.
"file:///path_to_reveal.js", as illustrated above. By setting
option =REVEAL_ROOT=, the location is only affected within the Org
file.
By setting option =REVEAL_ROOT=, the location is only affected
within the Org file.
** Url form for file location
For example if you cloned this repository to your home directory,
this file in Mac OS X would be reffered to as
"file:///Users/username/org-reveal/readme.org". This file in
Ubuntu would be "file:///home/username/org-reveal/readme.org" and
in Windows this file would be
"file:///c:/Users/username/org-reveal/readme.org". For more detail
on this standart please refer to
[[http://en.wikipedia.org/wiki/File_URI_scheme]]
#+BEGIN_SRC org
,#+REVEAL_ROOT: file:///d:/reveal.js