Package Exports
- md2bb
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 (md2bb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
md2bb
Convert Steam review (or guide) written by markdown to Steam BB Code Format.
Installation
$ npm install md2steam-bbcodeUsage
var md2SteamBBCode = require('Md2SteamBBCode');
console.log(md2SteamBBCode('**Markdown**'));
// OUTPUT: [b]Markdown[/b]Features
- Write steam review (and guide) more easily
Syntax
About Steam BBCode format is here.
Italic
# markdown
*string*
# bbcode
[i]string[/i]Bold
# markdown
**string**
# bbcode
[b]string[/b]Strike
# markdown
~~string~~
# bbcode
[strike]string[/strike]Link
# markdown
[linkname](example.com)
# bbcode
[url=example.com]linkname[/url]Code
# markdown
`string`
# bbcode
[code]string[/code]Quote
# markdown
>string
# bbcode
[quote]string[/quote]with author
# markdown
>[tenmihi]string
# bbcode
[quote=tenmihi]string[/quote]Listitem
# markdown
* itemA
* itemB
# bbcode
[list]
[*] itemA
[*] itemB
[/list]with order
# markdown
1. itemA
2. itemB
# bbcode
[olist]
[*] itemA
[*] itemB
[/olist]Spoiler
Not supported, will be supported soon.
Noparse
Not supported, will be supported soon.
Author
tenmihi
License
MIT