Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 538 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 538 Bytes

bb2md


Code Climate

Convert bbcodes in a phpbb3 post to markdown.

Currently it covers:

  • bold, italic, underline, strikethrough
  • font size & color
  • img
  • url & postlink
  • quote

Simple usage:

bin/bb2md "phpbb3 post" "bbcode_uid"

Advanced usage:

require 'bb2md'
BB2MD::Parser.new("post", "bbcode_uid").parse

bbcode_uid can be found from phpbb_posts table with phpmyadmin.