unidoc: Unite all Markdown.
Install & Usage
$ cargo install unidoc
$ cat example.md | unidoc
$ unidoc -i example.md -o output.md
$ unidoc --help # for more detail
Syntax
Text
*emphasis*
_emphasis_
**strong**
__strong__
***Emphasis and Strong***
~~deleted~~

[text](link)
`inline code`
Headings
# h1
## h2
...
###### h6
List
- one
- two
- three
- any bullet is ok
+ plus
* astersk
1. ordered with numbers
2. hgoehoge
a. with alphabets
a. hogehoge
- task list
- [ ] not yet
- [x] already done
Paragraph, Quoting
Text blocks separated with empty lines are paragraphs.
this is paragraph1.
this is paragraph1.
this is paragraph1.
this is paragraph2. this is paragraph2.
this is paragraph2.
> This is quoted. This is quoted.
> This is quoted.
Code block
```
def code():
return code
```
```python
def code():
return code
```
Table
| A | B | C | D |
|---|:--| :----:| --: |
| a | b | c | d |
| 1 | 2 | 3 | 4 |
Hr
---
Extended Syntax
Import Another Markdown
@(./relative/another.md)
Hyperlink
This is inline hyperlink: [[http://example.com]].