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 1a5a65e commit 4d7d150
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions knitr-minimal-rhtml.org
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,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 @@ -100,6 +100,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 4d7d150

Please sign in to comment.