Skip to content

FurAffinity/bbcode-js

Repository files navigation

Build status

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

About

Backwards-compatible BBCode renderer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published