Skip to content

tenmihi/md2bb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md2bb

Steam BB Code. Text written by markdown like syntax.

npm version

Installation

$ npm install md2bb

Usage

var md2bb = require('md2bb');
console.log(md2bb.parse('**Markdown**'));
// OUTPUT: [b]Markdown[/b]

Features

  • Write steam review (and guide) more easily

Syntax

About Steam BBCode format is here.

Name Markdown BBCode
Header # string [h1]string[/h1]
Bold **string** [b]string[/b]
Underline _string_ [u]string[/u]
Italic *string* [i]string[/i]
Strike ~string~ [strike]string[/strike]
Spoiler ~~string~~ [spoiler]string[/spoiler]
Noparse ``text`` [noparse]text[/noparse]
Url [linkname](example.com) [url=example.com]linkname[/url]
List * item [list][*]item[/list]
OList 1. item [olist][*]item[/olist]
Quote > text [quote]text[/quote]
Quote(with author) >[yourname] text [quote=yourname]text[/quote]
Code `text` [code]text[/code]

Author

tenmihi

License

MIT

About

markdown to steam-bbcode converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published