JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q28268F
  • License MIT

markdown to steam-bbcode converter

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.

npm version

Installation

$ npm install md2bb

Usage

var md2bb = require('md2bb');
console.log(md2bb('**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]
# 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