Skip to content

ddormer/markdown-to-bbcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown-to-bbcode · Latest Stable Version

A BBCode renderer for commonmark.js

Usage

You'll need commonmark.js and markdown-to-bbcode.

var reader = new commonmark.Parser();
var parsed = reader.parse("BBCODE");

var writer = new markdown_to_bbcode.BBCodeRenderer();
var result = writer.render(parsed);

importing the module

import markdown_to_bbcode from 'markdown-to-bbcode';

including the bundle

<script src="markdown-to-bbcode.js"></script>

markdown to bbcode webpage:

https://ddormer.github.io/markdown-to-bbcode-site/

About

BBCode renderer for commonmark.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published