Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chanyon/minimd-zig
- Owner: Chanyon
- License: mpl-2.0
- Created: 2023-04-05T14:34:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T12:48:42.000Z (4 months ago)
- Last Synced: 2024-09-17T12:03:51.529Z (4 months ago)
- Topics: markdown, markdown-parser, markdown-zig, zig, zig-package, ziglang
- Language: Zig
- Homepage:
- Size: 114 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
=>helloworld
```
- separation line
```
--- =>
```
- link
```
[link](https://github.com/) => link
=> https://github.com
```
- image
```
![img](/assets/img/philly-magic-garden.jpg)
=>[![image](/assets/img/ship.jpg)](https://github.com/Chanyon)
=> "
```
- 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] 标题目录