mirror of https://github.com/yjwen/org-reveal.git
added url form explanation
This commit is contained in:
parent
2380fd7bc2
commit
cff0c9f962
16
Readme.org
16
Readme.org
|
@ -89,10 +89,20 @@ $ git clone https://github.com/yjwen/org-reveal.git
|
||||||
(setq org-reveal-root "file:///d:/reveal.js")
|
(setq org-reveal-root "file:///d:/reveal.js")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*IMPORTANT*: the absolute path to Reveal.js should be in URL form,
|
*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
|
** Url form for file location
|
||||||
within the Org file.
|
|
||||||
|
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
|
#+BEGIN_SRC org
|
||||||
,#+REVEAL_ROOT: file:///d:/reveal.js
|
,#+REVEAL_ROOT: file:///d:/reveal.js
|
||||||
|
|
Loading…
Reference in New Issue