Markdown
For a bare minimum of the Markdown
syntax, that turns out to be a maximum at the same time, check the Examples on WikiPedia
Markdown
article.
We are going to get practice with Markdown
first using an online editor, like StackEdit or dillinger, before translating a Markdown
file into other formats (docx
, html
, …) using either the online pandoc
server, or using pandoc
installed on your own computer (see the installation instructions).
As an exercise, you can take the first few paragraphs of this web page, make a Markdow
version and convert it to docx
, html
or whatever you want / like.
Git
and GitLab
We will then demonstrate the very basic of Git
through GitLab
. Having an account on gitlab.com (that’s free for the basic version) or on the GitLab
server of your institution will be a plus but not an absolute necessity. More specifically we will:
project
.README.md
file with GitLab
editor.Markdown
file you created previously as a new file to the project.commit
your changes.R
and Python
We will end by reproducing a “famous” graphic of William Playfair (one of the creators of modern quantitative data representation) showing together the wheat price and the workers’ weekly salary in England between 1565 and 1821. Two different ways of constructing a “dynamic document / numerical lab book” implementing this task are going to be illustrated:
R
, RMarkdown
and RStudio
: the source file is available as well as the result.Python
and jupyter
: the “painful to read” ipynb file and the “nice to read” Markdown
version are available.Again having R
, RMarkdown
and RStudio
or Python
and jupyter
will be a plus, but by no mean a necessity, the whole point being to give a basic illustration of what actual numerical lab books are.