102 lines
2.3 KiB
Markdown
102 lines
2.3 KiB
Markdown
|
|
<pre style="max-height: 100px;">
|
|
|
|
### Header
|
|
|
|
<div align="center">...body...text...</div>
|
|
|
|
<div align="center">...body...text...</div>
|
|
|
|
<div align="center">...body...text...</div>
|
|
|
|
<div align="center">...body...text...</div>
|
|
|
|
<div align="center">...body...text...</div>
|
|
|
|
<div align="center">...body...text...</div>
|
|
|
|
<div align="center">...body...text...</div>
|
|
|
|
</pre>
|
|
|
|
<pre style="max-height: 100px;">
|
|
<code>## [1] 1 2 3 4 5 6 7 8 9 10
|
|
## [11] 11 12 13 14 15 16 17 18 19 20
|
|
## ... ...</code>
|
|
</pre>
|
|
|
|
|
|
```{r, include=FALSE}
|
|
options(width = 60)
|
|
local({
|
|
hook_output <- knitr::knit_hooks$get('output')
|
|
knitr::knit_hooks$set(output = function(x, options) {
|
|
if (!is.null(options$max.height)) options$attr.output <- c(
|
|
options$attr.output,
|
|
sprintf('style="max-height: %s;"', options$max.height)
|
|
)
|
|
hook_output(x, options)
|
|
})
|
|
})
|
|
```
|
|
|
|
# Heading 1
|
|
Regular text.
|
|
**Bold text.** *Italic text.* ***Both: bold and italic.***
|
|
|
|
A line (horizontal ruler) using underscores:
|
|
___
|
|
|
|
<s>Strike through</s> NB. using `~~deleted text~~` doesn't work in Freeplane (Java html/css renderer)
|
|
|
|
E.g. ~~deleted text~~
|
|
|
|
<u>Underlined text</u>
|
|
|
|
## Heading 2
|
|
> A quote, line 1.
|
|
> Line 2 of the quote (will be joined with line 1).
|
|
>> A quote within a quote
|
|
|
|
### Heading 3
|
|
Sample text with `an in-line piece of code`.
|
|
|
|
```groovy
|
|
// a Groovy code example - as a block of code
|
|
def name = 'Freeplane User'
|
|
"Hello, ${name}!"
|
|
"Hello2, ${name2}!"
|
|
```
|
|
|
|
Another example of a block of code
|
|
introduced as indented Markdown (with a tab or 4 spaces)
|
|
|
|
> An example of a quote
|
|
> containing a block of code
|
|
> At least 5 spaces need to be used
|
|
> And it continues as a regular quote
|
|
|
|
#### Heading 4
|
|
A table
|
|
|
|
| # | Language | [Pangram](https://en.wikipedia.org/wiki/Pangram) |
|
|
|--|--|--|
|
|
| 1 | English | The quick brown fox jumps over the lazy dog |
|
|
| 2 | French | Portez ce vieux whisky au juge blond qui fume |
|
|
| 3 | German | Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich |
|
|
| 4 | Italian | Pranzo d'acqua fa volti sghembi |
|
|
| 5 | Spanish | Benjamín pidió una bebida de kiwi y fresa. Noé, sin vergüenza, la más exquisita champaña del menú |
|
|
|
|
##### Heading 5
|
|
A list of items
|
|
|
|
* Item 1
|
|
* Item 2
|
|
* Item 3
|
|
|
|
###### Heading 6
|
|
A numbered list
|
|
|
|
1. Item A
|
|
2. Item B
|
|
3. Item C |