phoenix-bbcode
v1.4.0
Published
Renders BBCode.
Readme
Renders BBCode.
var html = bbcode.render('[b]Hello, world![/b]');bbcode.render takes an optional second argument, options,
an object whose properties alter the renderer’s behaviour in some way.
The available options are:
Option name | Description | Default
----------------------|-------------|--------
automaticParagraphs | Whether <p> elements should be created automatically based on line breaks, as in Markdown. | false
