jupyter notebook
. You'll see R appearing in the list of kernels when you create a new notebook. install.packages()
or devtools::install_github
(to install packages from GitHub). You just have to make sure to add the new package to the correct R library used by Jupyter:%R
magic command.errors = TRUE
in the chunk options, just like this:!
’ to signal that you're working in Bash, like you would do when you would work with Jupyter. .Rmd
file. But when you save a notebook, an .nb.html
file is created alongside it. This HTML file is an associated file that includes a copy of the R Markdown source code and the generated output. .Rmd
file on GitHub or your other versioning system, or you can also include the .nb.html
file.Markdown
, originally invented by John Gruber. Of course, over such a long period of time, a huge amount of developments have taken place, that have created the possibilities of modern Markdown applications. In this document the following topics are covered:.doc
, or .odt
and code documents, such as .js
, .cpp
or .py
. Both groups of documents contain human readable text, but there was one simple, yet huge difference: While JavaScript files or C++ files contained plain text (i.e., only the text that you would see when you open such a file), word processor documents contained a lot more stuff. Word processor documents always hold information about the page size (e.g., A4 or letter), how different blocks should be formatted (e.g., the font of headings or how much blockquotes are indented). If you open a Word/Office document on your PC right now, you can see what I mean: You immediately see what is a heading based on the font size and font weight of its text.Heading 1
format from some menu, in Markdown you would simply type # some text
, where the hashtag-symbol tells you immediately: 'This is a first level heading!'LaTeX
commands. These commands are correctly interpreted when you convert to PDF. These are omitted when you convert to DOCX or ODT. And they are retained when you convert to HTML. Of course, you can at any position use plain HTML code as well.# Heading text
— yields a heading of first order## Heading text
— yields a heading of second order### Heading text
— yields a heading of third order#### Heading text
— yields a heading of fourth order##### Heading text
— yields a heading of fifth order###### Heading text
— yields a heading of sixth ordermonospaced
(code) text.**your text**
— yields bold text_your text_
— yields italic text-
, a *
or a +
character. If you would like to, you can mix these symbols!1.
in front of them.[This text will appear in your final document](http://this-is-your-actual-link.tld)
Zettlr will automatically convert this syntax to a clickable link (follow the link target by clicking on it while holding down the ALT
or Ctrl
key) for the ease of access (and to shorten those rather long links).C:Usersuser-namePicturesmy-image.jpg
../img/my-image.png
..
tells Zettlr to look for the image in the parent directory (i.e., to traverse up one directory). If you store your documents in a cloud and access them on different devices, you would naturally use relative image paths, because the absolute paths will definitely differ (especially if you work with two different operating systems).Cmd/Ctrl+K
for links and Cmd/Ctrl+Shift+I
for images. If you have a valid path in your clipboard, it will even automatically insert it for you, making your life easy. The best way to insert a link, for instance, would therefore be to first copy the link to your clipboard, then select the text you want to link and third press Cmd/Ctrl+K
. Then the selected text will become the displayed link text and the link from your clipboard will be used as the link target.[^x]
. The x
stands for a unique identifier. Basically, you can use anything you want, as long as this identifier is not used by a second footnote as well. But normally, you will want to stick with ascending numbers. (Also: These numbers don't have to be in order; as long as you export your Markdown document, Pandoc will automatically re-number the footnotes correctly. So if you decide to delete a footnote later on, don't worry that the numbers won't neatly match up in your document anymore.)[^x]: Your reference text.
As you can see, the identifier is a replica of your reference that appears in the text, only now it is followed by a colon. It is common sense that you put your references in a list at the very end of your document. Yet, this jumping back and forth between the reference text and your footnote reference is cumbersome, and therefore Zettlr tries to ease your life. Move your mouse over a footnote reference to see the footnote text. Click it while holding down Cmd
or Ctrl
to edit the footnote. Press Shift+Return
to save your changes.c
)c#
; csharp
; cs
)c++
; cpp
)clojure
)clisp
; commonlisp
)css
)elm
)f#
; fsharp
)go
)haskell
; hs
)html
)java
)javascript
; js
; node
)json
)julia
; jl
)kotlin
; kt
)less
)markdown
; md
)objective-c
; objectivec
, objc
)php
)python
; py
)r
)ruby
; rb
)rust
; rs
)scala
)scheme
)shell
; sh
; bash
)sparql
)sql
)swift
)systemverilog
; sv
)tcl
)turtle
; ttl
)typescript
; ts
)verilog
; v
)vhdl
; vhd
)vb.net
; vb
; visualbasic
)xml
)yaml
; yml
)<iframe src='https://example.com'></iframe>
elements$
) or fenced ($$
) blocks: $x/y$
or