Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix link to source document for gfm example #204

Merged
merged 2 commits into from

2 participants

@mnel

The link for the gfm example was out-of-date.

_posts/2011-12-03-minimal.md
@@ -61,7 +61,7 @@ Two main differences among different file formats are: they use different syntax
- Rnw source: [knitr-minimal.Rnw](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal.Rnw)
- PDF output: [knitr-minimal.pdf](https://github.com/downloads/yihui/knitr/knitr-minimal.pdf)
- GFM
- - md source: [knitr-minimal\_knit\_.md](https://github.com/yihui/knitr/raw/master/inst/examples/knitr-minimal_knit_.md)
+ - md source: [knitr-minimal.Rmd](https://raw.github.com/yihui/knitr/master/inst/examples/knitr-minimal.Rmd)
- 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)
- HTML
- html source: [knitr-minimal\_knit\_.html](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal_knit_.html)
@yihui Owner
yihui added a note

I'm just greedy -- could you please fix the link of the HTML file as well? it should be .Rhtml now; and also .Rtex below

thanks :smile:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@mnel

Done. :)

@yihui yihui merged commit 63cdff0 into yihui:gh-pages
@yihui
Owner

great! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 17, 2012
  1. @mnel
  2. @mnel
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 _posts/2011-12-03-minimal.md
View
8 _posts/2011-12-03-minimal.md
@@ -61,20 +61,20 @@ Two main differences among different file formats are: they use different syntax
- Rnw source: [knitr-minimal.Rnw](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal.Rnw)
- PDF output: [knitr-minimal.pdf](https://github.com/downloads/yihui/knitr/knitr-minimal.pdf)
- GFM
- - md source: [knitr-minimal\_knit\_.md](https://github.com/yihui/knitr/raw/master/inst/examples/knitr-minimal_knit_.md)
+ - md source: [knitr-minimal.Rmd](https://raw.github.com/yihui/knitr/master/inst/examples/knitr-minimal.Rmd)
- 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)
- HTML
- - html source: [knitr-minimal\_knit\_.html](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal_knit_.html)
+ - html source: [knitr-minimal.Rhtml](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal.Rhtml)
- output: [knitr-minimal.html](https://github.com/downloads/yihui/knitr/knitr-minimal.html)
- LaTeX
- - tex source: [knitr-latex\_knit\_.tex](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-latex_knit_.tex)
+ - tex source: [knitr-latex.Rtex](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-latex.Rtex)
Except the GFM demo, you can directly use `knit()` to knit the input file, e.g.,
{% highlight r %}
library(knitr)
knit('knitr-minimal.Rnw')
-knit('knitr-minimal_knit_.html')
+knit('knitr-minimal.Rhtml')
{% endhighlight %}
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.
Something went wrong with that request. Please try again.