JSPM

  • Created
  • Published
  • Downloads 31525
  • Score
    100M100P100Q151608F
  • License MIT

BBob is a tool to transform BBCode markup useing presets

Package Exports

  • @bbob/core

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bbob/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@bbob/core

Usage

const bbob = require('@bbob/core');
const presetHTML5 = require('@bbob/preset-html5');
const code = `[i]Text[/i]`;

const html = bbob([presetHTML5()]).process(code).html;

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