Skip to content

Commit

Permalink
knitr-minimal-rhtml.org: export-block syntax is updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
chasberry committed Jan 22, 2016
1 parent 45bb3b3 commit b128dcc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions knitr-minimal-rhtml.org
Expand Up @@ -31,20 +31,20 @@ should translate it back to Rhtml.

* A minimal knitr example in HTML

#+BEGIN_HTML
#+BEGIN_EXPORT HTML
<!DOCTYPE html>
<head>
<title>A minimal knitr example in HTML</title>
</head>
#+END_HTML
#+END_EXPORT

#+BEGIN_SRC R
opts_chunk$set(fig.width=5, fig.height=5, fig.path='ex-out-')
#+END_SRC

#+BEGIN_HTML
#+BEGIN_EXPORT HTML
<body>
#+END_HTML
#+END_EXPORT

This is a minimal example which shows *knitr*
working with HTML
Expand Down Expand Up @@ -102,6 +102,6 @@ Errors, messages and warnings can be put into ~div~'s
Well, everything seems to be working. Let's ask R what is the
value of \pi? Of course it is src_R{pi}.

#+BEGIN_HTML
#+BEGIN_EXPORT HTML
</body>
#+END_HTML
#+END_EXPORT

0 comments on commit b128dcc

Please sign in to comment.