Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pandoc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
templates
pandoc
Commits
8acff403
Verified
Commit
8acff403
authored
6 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
moves markdown cheat sheet to methods and image to discussion
parent
f5be6e9c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
chapter-1-introduction.md
+6
-125
6 additions, 125 deletions
chapter-1-introduction.md
chapter-2-methods.md
+130
-0
130 additions, 0 deletions
chapter-2-methods.md
chapter-4-discussion.md
+3
-0
3 additions, 0 deletions
chapter-4-discussion.md
with
139 additions
and
125 deletions
chapter-1-introduction.md
+
6
−
125
View file @
8acff403
Introduction
============
This introduction serves as a Markdown Cheat Sheet. The header above is a first
level header.
This document is a template for how to use
**pandoc**
to write texts. You can
find a (
**pandoc**
-flavored) Markdown Cheat Sheet in the
**Methods**
chapter.
The
**Results**
and
**Discussion**
chapters include useful ways on how to
include external files into the document.
Header Level
------------
See the
`README.md`
file for more information on how to build this document.
This is a second level header.
### Third Level Header
You can also just use the hashes syntax instead of the underlines with dashes
or equals signs. Add more hashes for deeper nesting.
Paragraphs
----------
To add a paragraph simply write some text and then add two newlines to separate
this paragraph from another one.
Like this. Note that it is useful to use hard line wrapping. The alternative,
soft wrapping, is when your editor wraps the lines only visually. Consider
using your editor to automatically re-wrap paragraphs for you.
Emphasis
--------
You can emphasize like this:
-
*italics*
or _italics_
-
**bold**
or __bold__
-
~~strike-through~~
-
`verbatim`
Quoting
-------
> This is a block quote.
>
> And another paragraph.
Lists
-----
-
list
-
are
-
very
-
simple
1.
ordered
1.
is also
1.
possible
-
this is a list item
with another paragraph
Hyperlinks
----------
You can find the complete
**pandoc**
Markdown documentation
[
here
](
https://pandoc.org/MANUAL.html#pandocs-markdown
)
.
You can also structure this a bit more
[
differently
][
pandoc
]
and provide the
list of links later or at the end of the file.
[
pandoc
]:
https://pandoc.org/MANUAL.html#pandocs-markdown
Footnotes
---------
You can footnotes to your text like this.[^1]
[
^1
]:
This
looks just like hyperlinks!
Bibliography
------------
This one is often cited [see @WatsonCrick1953].
Images
------

Syntax Highlighting
-------------------
This is a verbatim text block, also called fenced code block:
```
This is a so-called fenced block.
Everything inside will be translated verbatim.
No **emphasis** works here.
A fixed-width font is used to display these blocks.
```
This code block has no syntax highlighting. To enable syntax highlighting, add
the language to the starting fence:
```
r
# you can also add code blocks with syntax highlighting
# this is an R code snippet
# specify the language at the starting fence
# using fread is much faster
library
(
data.table
)
table
<-
fread
(
'example.csv'
)
# than using read.csv
table
<-
read.csv
(
'example.csv'
)
```
Tables
------
See the
**Results**
chapter below for some examples.
LaTeX if you need it
--------------------
As you can see, Markdown is very simple. If you need more advanced
type-setting, you can always fall back to using
\L
aTeX. You can use inline
formulas like $a^2 + b^2 = c^2$. You can also use them standalone:
$$a^2 + b^2 = c^2$$
You can do the same with tables and pretty much else.
> May the source be with you!
This diff is collapsed.
Click to expand it.
chapter-2-methods.md
+
130
−
0
View file @
8acff403
Methods
=======
This chapter shows how to use Markdown. The header above is a first level
header.
Header Level
------------
This is a second level header.
### Third Level Header
You can also just use the hashes syntax instead of the underlines with dashes
or equals signs. Add more hashes for deeper nesting.
Paragraphs
----------
To add a paragraph simply write some text and then add two newlines to separate
this paragraph from another one.
Like this. Note that it is useful to use hard line wrapping. The alternative,
soft wrapping, is when your editor wraps the lines only visually. Consider
using your editor to automatically re-wrap paragraphs for you.
Emphasis
--------
You can emphasize like this:
-
*italics*
or _italics_
-
**bold**
or __bold__
-
~~strike-through~~
-
`verbatim`
Quoting
-------
> This is a block quote.
>
> And another paragraph.
Lists
-----
-
list
-
are
-
very
-
simple
1.
ordered
1.
is also
1.
possible
-
this is a list item
with another paragraph
Hyperlinks
----------
You can find the complete
**pandoc**
Markdown documentation
[
here
](
https://pandoc.org/MANUAL.html#pandocs-markdown
)
.
You can also structure this a bit more
[
differently
][
pandoc
]
and provide the
list of links later or at the end of the file.
[
pandoc
]:
https://pandoc.org/MANUAL.html#pandocs-markdown
Footnotes
---------
You can add footnotes to your text like this.[^1]
[
^1
]:
This
looks just like hyperlinks!
Bibliography
------------
This one is often cited [see @WatsonCrick1953].
Images
------
See the
**Discussion**
chapter below (in the final PDF) or the
`chapter-4-discussion.md`
file for some examples.
Syntax Highlighting
-------------------
This is a verbatim text block, also called fenced code block:
```
This is a so-called fenced block.
Everything inside will be translated verbatim.
No **emphasis** works here.
A fixed-width font is used to display these blocks.
```
This code block has no syntax highlighting. To enable syntax highlighting, add
the language to the starting fence:
```
r
# you can also add code blocks with syntax highlighting
# this is an R code snippet
# specify the language at the starting fence
# using fread is much faster
library
(
data.table
)
table
<-
fread
(
'example.csv'
)
# than using read.csv
table
<-
read.csv
(
'example.csv'
)
```
Tables
------
See the
**Results**
chapter below (in the final PDF) or the
`chapter-3-results.md`
file for some examples.
LaTeX if you need it
--------------------
As you can see, Markdown is very simple. If you need more advanced
type-setting, you can always fall back to using
\L
aTeX. You can use inline
formulas like $a^2 + b^2 = c^2$. You can also use them standalone:
$$a^2 + b^2 = c^2$$
You can do the same with tables and pretty much else.
This diff is collapsed.
Click to expand it.
chapter-4-discussion.md
+
3
−
0
View file @
8acff403
Discussion
==========

This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment