Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chanyon/minimd-zig

simple markdown parser
https://github.com/chanyon/minimd-zig

markdown markdown-parser markdown-zig zig zig-package ziglang

Last synced: about 2 months ago
JSON representation

simple markdown parser

Awesome Lists containing this project

README

        

### simple-markdown-parse
---
### Markdown Grammar
- headline
```
# heading1 =>


## heading2 =>


### heading3 =>


#### heading4 =>


##### heading5 =>

###### heading6 =>

```
- paragraph
```
hello world

hello world


```
- strong
```
**test** => test
*test* => test
***test*** => test
__hello__ => test
```
- blockquote
```
> hello =>
hello

> hello
>
>> world
=>

hello
world


```
- separation line
```
--- =>

```
- link
```
[link](https://github.com/) => link
=> https://github.com
```
- image
```
![img](/assets/img/philly-magic-garden.jpg)
=> img

[![image](/assets/img/ship.jpg)](https://github.com/Chanyon)
=> image"
```
- delete line
```
~~test~~ =>

test


hello~~test~~world =>

hellotestworld


```
- code
```
`test` => test
`` `test` `` => `test`
=```
{
"width": "100px",
"height": "100px",
"fontSize": "16px",
"color": "#ccc",
}
=```
=>

{
"width": "100px",
"height": "100px",
"fontSize": "16px",
"color": "#ccc",
}

```

- footnote
```
test[^1]
[^1]: ooooo
=>

test[1]



[^1]: ooo



```
- task list
```
- [ ] task one
- [x] task two
```
- table
```
| Syntax | Description | Test |
| :---------- | ----------: | :-----: |
| Header | Title | will |
| Paragraph | Text | why |
```

- unordered list
```
- test
- test2
- test3
- test4
- test5
- test6
```
- ordered list
```
1. test
1. test2
1. test3
2. test4
2. test5
3. test6
```
- escape characters
```
\[\]
\
\*test\* \! \# \~ \-
\_ test \_ \(\)
```

### DONE
- [x] 无序列表
- [x] 有序列表
- [x] 表格语法
- [x] 内嵌HTML
- [x] 脚注(footnote)
- [x] task list
- [x] 转义字符
- [x] html tag inline style
- [X] 代码块高亮 \```c ```
- [x] 标题目录