Skip to content

Commit

Permalink
closes #164
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart committed Jun 4, 2019
1 parent 733c62b commit 551498a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docs/src/man/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ Most of what is presented here is also shown in that example.
* [Local vs global](#Local-vs-global-1)
* [Hyper-references](#Hyper-references-1)
* [Code insertions](#Code-insertions-1)
* [Folder structure](#Folder-structure-1)
* [Code](#Code-1)
* [Plain-text output](#Plain-text-output-1)
* [Plot output](#Plot-output-1)
* [Slicing up](#Slicing-up-1)
* [On-the-fly evaluation](#On-the-fly-evaluation-1)
* [More on paths](#More-on-paths-1)
* [Inserting the output](#Inserting-the-output-1)
* [Hiding lines](#Hiding-lines-1)
* [Separate evaluation](#Separate-evaluation-1)
* [Inserting code](#Inserting-code-1)
* [Plain-text output](#Plain-text-output-1)
* [Plot output](#Plot-output-1)
* [Slicing up](#Slicing-up-1)
* [Page variables](#Page-variables-1)
* [Local page variables](#Local-page-variables-1)
* [Default variables](#Default-variables-1)
Expand Down Expand Up @@ -503,7 +507,7 @@ In order to insert the code of a script and have it highlighted you can use

or `\input{code:julia}{scripts/script1.jl}`. This will insert the content of the file `assets/scripts/script1.jl` (see also the section earlier on paths) into a block that will be highlighted as julia code.

### Plain-text output
#### Plain-text output

In order to insert the plain-text output of a script, you can use

Expand All @@ -513,7 +517,7 @@ In order to insert the plain-text output of a script, you can use

or `\input{output:plain}{scripts/script1.jl}`. This will insert the content of the file `assets/scripts/script1.out` into a non-highlighted code-block.

### Plot output
#### Plot output

In order to insert a plot generated by a script, you can use

Expand Down

0 comments on commit 551498a

Please sign in to comment.