hatena syntax parser (fork from http://rubyforge.org/projects/hparser/ )
Ruby Perl
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
ChangeLog
Gemfile
README.rdoc
Rakefile
VERSION
hparser.gemspec

README.rdoc

Hatena Format Parser

Description

hparser is hatena format parser. This format is used at hatena diary(d.hatena.ne.jp/) If you want to know more detail about hatena format, please see hatenadiary.g.hatena.ne.jp/keyword/%e3%81%af%e3%81%a6%e3%81%aa%e8%a8%98%e6%b3%95%e4%b8%80%e8%a6%a7

hpaser is constructed with some little parser.(e.g. header parser,list parser,and …) So,hparser can be added new format,or removed unused format.

Installation

Archive Installation

rake install

Gem Installation

gem install hparser

Features/Problems

Synopsis

To parse hatena format,please use HParser::Parser.

require 'hparser'

parser = HParser::Parser.new
puts parser.parse(hatena_syntax).map {|e| e.to_html }.join("\n")

Copyright

Author

HIROKI Mizuno(Original Author), Yuichi Tateno<hotchpotch@nospam@gmail.com>, Nitoyon

Copyright

HIROKI Mizuno, Yuichi Tateno

License

Ruby's