Skip to content
This repository
Browse code

Merge pull request #204 from mnel/patch-1

Fix link to source document for gfm example
  • Loading branch information...
commit 63cdff0b6313d5cd1f3d177e2712f5b97c639537 2 parents c9e777c + 2d6db16
Yihui Xie authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 _posts/2011-12-03-minimal.md
8 _posts/2011-12-03-minimal.md
Source Rendered
@@ -61,20 +61,20 @@ Two main differences among different file formats are: they use different syntax
61 61 - Rnw source: [knitr-minimal.Rnw](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal.Rnw)
62 62 - PDF output: [knitr-minimal.pdf](https://github.com/downloads/yihui/knitr/knitr-minimal.pdf)
63 63 - GFM
64   - - md source: [knitr-minimal\_knit\_.md](https://github.com/yihui/knitr/raw/master/inst/examples/knitr-minimal_knit_.md)
  64 + - md source: [knitr-minimal.Rmd](https://raw.github.com/yihui/knitr/master/inst/examples/knitr-minimal.Rmd)
65 65 - output: [knitr-minimal.md](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal.md) (GitHub does the job of parsing the md file to HTML)
66 66 - HTML
67   - - html source: [knitr-minimal\_knit\_.html](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal_knit_.html)
  67 + - html source: [knitr-minimal.Rhtml](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal.Rhtml)
68 68 - output: [knitr-minimal.html](https://github.com/downloads/yihui/knitr/knitr-minimal.html)
69 69 - LaTeX
70   - - tex source: [knitr-latex\_knit\_.tex](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-latex_knit_.tex)
  70 + - tex source: [knitr-latex.Rtex](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-latex.Rtex)
71 71
72 72 Except the GFM demo, you can directly use `knit()` to knit the input file, e.g.,
73 73
74 74 {% highlight r %}
75 75 library(knitr)
76 76 knit('knitr-minimal.Rnw')
77   -knit('knitr-minimal_knit_.html')
  77 +knit('knitr-minimal.Rhtml')
78 78 {% endhighlight %}
79 79
80 80 The instructions on how to knit the GFM demo are in the md file. Note for the HTML demo, you need to install the **rgl** package to get the snapshot in the output.

0 comments on commit 63cdff0

Please sign in to comment.
Something went wrong with that request. Please try again.