Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
example of source code with language specification
Browse files Browse the repository at this point in the history
  • Loading branch information
NelleV committed Sep 25, 2017
1 parent c8f64df commit 519fcb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ A few areas of reST have been restricted or modified:

* Triple-backticks blocks with optional language header for source code blocks (from GitHub-flavored Markdown)

```{r}
x<-seq(1, 10)
```

### Other features

* The dollarmath sphinx extension is built-in, supporting LaTeX math between single-dollar signs for inline math. For displayed math, using `.. math::` is still recommended, as it isn't that much more typing and it allows for additional information such as labels to be passed.
Expand Down

0 comments on commit 519fcb8

Please sign in to comment.