1.4.0 • Published 10 years ago

phoenix-bbcode v1.4.0

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

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 nameDescriptionDefault
automaticParagraphsWhether <p> elements should be created automatically based on line breaks, as in Markdown.false
1.4.0

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.2

10 years ago