mirror of
https://github.com/ldericher/autodoc.git
synced 2025-12-06 15:43:01 +00:00
Extended simple markdown file
This commit is contained in:
parent
2772ea8663
commit
df8e428ee2
1 changed files with 33 additions and 3 deletions
|
|
@ -1,6 +1,36 @@
|
|||
# Really simple document
|
||||
|
||||
Boring content. Don't even read me!
|
||||
First, have some items:
|
||||
|
||||
Another line, why are you still reading?
|
||||
Seriously?!
|
||||
- item 1
|
||||
- item 2
|
||||
- Another
|
||||
|
||||
Behold, for there is jumbled mess ahead!
|
||||
|
||||
1. This is
|
||||
3. weirdly numbered
|
||||
9. but pandoc doesn't care
|
||||
2. it just works™
|
||||
|
||||
With the default HTML template, this does not translate: \textsl{Have some \LaTeX, too!}
|
||||
Some math is fine with HTML: $x=5$, some other is not: $\sqrt{x}=2$.
|
||||
However, both of these are fixable!
|
||||
|
||||
Code blocks? Sure!
|
||||
|
||||
while (energy <= 0.42) {
|
||||
drinkCoffee();
|
||||
}
|
||||
|
||||
Need syntax? Here you go!
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("Hello World!\n");
|
||||
}
|
||||
```
|
||||
|
||||
For more awesome stuff, visit the pandoc manual: <https://pandoc.org/MANUAL.html#pandocs-markdown>
|
||||
|
|
|
|||
Loading…
Reference in a new issue