2
0
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:
Nikolay Kostyurin
2018-07-06 00:33:49 +02:00
parent e1e9874642
commit 12144415cc
6 changed files with 144 additions and 18 deletions
+15 -2
View File
@@ -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!']
}
]
```