2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-18 12:39:39 +03:00
Files
bbob/packages/bbob-core
Nikolay Kostyurin d070a66db3 chore(release): publish v2.8.0 (#122)
* chore(lerna): don't publish packages to npm by lerna

* chore(lerna): add publish to npm command

* fix(github): publish using lerna

* chore(lerna): add publish minor

* chore(release): publish v2.8.0
2021-11-29 00:55:29 +02:00
..
2021-11-29 00:33:06 +02:00
2021-11-29 00:33:06 +02:00
2020-01-22 20:25:42 +02:00
2021-11-29 00:33:06 +02:00

@bbob/core

Usage

import bbob from '@bbob/core'
import { render } from '@bbob/html'
import presetHTML5 from '@bbob/preset-html5'
const code = `[i]Text[/i]`;

const html = bbob(presetHTML5()).process(code, { render }).html;

console.log(html); // <span style="font-style: italic;">Text</span>