implement skipTags method

This commit is contained in:
yggverse 2024-04-05 07:03:47 +03:00
parent 9ec48ba944
commit 75685f3737
2 changed files with 104 additions and 0 deletions

View file

@ -96,6 +96,25 @@ var_dump(
);
```
#### Body::skipTags
Strip gemini tags from Gemini document
```
var_dump(
$body->skipTags() // strip all tags
);
var_dump(
$body->skipTags(
[ // 1- and 2- level headers only
"##",
"###"
]
)
);
```
### Link
Inline links parser.