Skip to content

openSUSE-zh/rubygem-bb2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

27b9188 · Nov 16, 2017

History

18 Commits
Sep 14, 2017
Nov 16, 2017
Sep 16, 2017
Sep 11, 2017
Sep 13, 2017
Sep 14, 2017
Sep 11, 2017

Repository files navigation

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.

About

Convert bbcode to markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages