mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-18 12:39:39 +03:00
chore(@bbob/parser): update readme
This commit is contained in:
committed by
GitHub
parent
a82af8003c
commit
5e4aec422d
@@ -1,15 +1,20 @@
|
||||
# @bbob/parser
|
||||
[](https://packagephobia.now.sh/result?p=@bbob/parser)
|
||||
|
||||
Parses BBCode and returns AST Tree looks like
|
||||
|
||||
|
||||
`[url=]hello world![/url]`
|
||||
to
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
tag: 'url',
|
||||
attrs: {
|
||||
url: 'https://github.com/JiLiZART/bbob/tree/master/packages/bbob-parser'
|
||||
"tag": "url",
|
||||
"attrs": {
|
||||
"url": "https://github.com/JiLiZART/bbob/tree/master/packages/bbob-parser"
|
||||
},
|
||||
content: ['hello', ' ', 'world!']
|
||||
content: ["hello", " ", "world!"]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user