mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-11 18:02:26 +03:00
chore(release): publish v2.9.0 (#170)
* chore: update readme to latest API * chore: release 2.9.0
This commit is contained in:
@@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.9.0](https://github.com/JiLiZART/bbob/compare/v2.8.3...v2.9.0) (2023-01-29)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
|
||||
@@ -1,2 +1,17 @@
|
||||
#@bbob/html
|
||||
# @bbob/html
|
||||
[](https://packagephobia.now.sh/result?p=@bbob/html) [](https://snyk.io/test/github/JiLiZART/bbob?targetFile=packages%2Fbbob-html%2Fpackage.json)
|
||||
|
||||
> Converts @bbob/parser AST tree to html
|
||||
|
||||
```shell
|
||||
npm i @bbob/html @bbob/preset-html5
|
||||
```
|
||||
|
||||
```js
|
||||
import bbobHTML from '@bbob/html'
|
||||
import presetHTML5 from '@bbob/preset-html5'
|
||||
|
||||
const processed = bbobHTML(`[i]Text[/i]`, presetHTML5())
|
||||
|
||||
console.log(processed); // <span style="font-style: italic;">Text</span>
|
||||
```
|
||||
|
||||
Generated
+4
-4
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"name": "@bbob/html",
|
||||
"version": "2.8.3",
|
||||
"version": "2.9.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@bbob/html",
|
||||
"version": "2.8.3",
|
||||
"version": "2.9.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@bbob/core": "^2.8.3",
|
||||
"@bbob/plugin-helper": "^2.8.3"
|
||||
"@bbob/core": "^2.9.0",
|
||||
"@bbob/plugin-helper": "^2.9.0"
|
||||
}
|
||||
},
|
||||
"../bbob-core": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/html",
|
||||
"version": "2.8.3",
|
||||
"version": "2.9.0",
|
||||
"description": "A BBCode to HTML Renderer part of @bbob",
|
||||
"keywords": [
|
||||
"html",
|
||||
@@ -9,8 +9,8 @@
|
||||
"bbob"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/core": "^2.8.3",
|
||||
"@bbob/plugin-helper": "^2.8.3"
|
||||
"@bbob/core": "^2.9.0",
|
||||
"@bbob/plugin-helper": "^2.9.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
Reference in New Issue
Block a user