mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-20 20:00:33 +03:00
quoted bbcode params support, support escape backslash
This commit is contained in:
@@ -1,2 +1,15 @@
|
||||
# bbob-parser
|
||||
Fast BB Code parser written in pure javascript, no dependencies
|
||||
# @bbob/parser
|
||||
|
||||
Parses BBCode and returns AST Tree looks like
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
tag: 'url',
|
||||
attrs: {
|
||||
url: 'https://github.com/JiLiZART/bbob/tree/master/packages/bbob-parser'
|
||||
},
|
||||
content: ['hello', ' ', 'world!']
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user