Project

hparser

0.01
No commit activity in last 3 years
No release in over 3 years
Hatena Syntax parser for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0.9.2
= 1.2.3
 Project Readme

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")
Author

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

Copyright

HIROKI Mizuno, Yuichi Tateno

License

Ruby’s