├── .gitignore ├── .gitmodules ├── .rubocop.yml ├── .yardopts ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── benchmark └── .gitignore ├── bin └── optdown ├── lib ├── optdown.rb └── optdown │ ├── always_frozen.rb │ ├── atx_heading.rb │ ├── autolink.rb │ ├── blockhtml.rb │ ├── blocklevel.rb │ ├── blockquote.rb │ ├── code_span.rb │ ├── deeply_frozen.rb │ ├── emphasis.rb │ ├── entity.rb │ ├── escape.rb │ ├── expr.rb │ ├── fenced_code_block.rb │ ├── flanker.rb │ ├── html5entity.erb │ ├── html5entity.rb │ ├── indented_code_block.rb │ ├── inline.rb │ ├── link.rb │ ├── link_def.rb │ ├── link_title.rb │ ├── list.rb │ ├── list_item.rb │ ├── matcher.rb │ ├── newline.rb │ ├── paragraph.rb │ ├── parser.rb │ ├── plugins │ ├── houdini_compat.rb │ ├── html_renderer.rb │ └── plaintext_renderer.rb │ ├── raw_html.rb │ ├── renderer.rb │ ├── setext_heading.rb │ ├── strikethrough.rb │ ├── table.rb │ ├── thematic_break.rb │ ├── token.rb │ └── xprintf.rb └── test ├── .gitignore ├── 000_compile.rb ├── always_frozen.rb ├── blocklevel.rb ├── deeply_frozen.rb ├── expr.rb ├── inline.rb ├── integrated.rb ├── matcher.rb ├── pathological.rb ├── renderer.rb ├── test_helper.rb └── xprintf.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/.gitmodules -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/.yardopts -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/Rakefile -------------------------------------------------------------------------------- /benchmark/.gitignore: -------------------------------------------------------------------------------- 1 | input.md 2 | -------------------------------------------------------------------------------- /bin/optdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/bin/optdown -------------------------------------------------------------------------------- /lib/optdown.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown.rb -------------------------------------------------------------------------------- /lib/optdown/always_frozen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/always_frozen.rb -------------------------------------------------------------------------------- /lib/optdown/atx_heading.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/atx_heading.rb -------------------------------------------------------------------------------- /lib/optdown/autolink.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/autolink.rb -------------------------------------------------------------------------------- /lib/optdown/blockhtml.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/blockhtml.rb -------------------------------------------------------------------------------- /lib/optdown/blocklevel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/blocklevel.rb -------------------------------------------------------------------------------- /lib/optdown/blockquote.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/blockquote.rb -------------------------------------------------------------------------------- /lib/optdown/code_span.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/code_span.rb -------------------------------------------------------------------------------- /lib/optdown/deeply_frozen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/deeply_frozen.rb -------------------------------------------------------------------------------- /lib/optdown/emphasis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/emphasis.rb -------------------------------------------------------------------------------- /lib/optdown/entity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/entity.rb -------------------------------------------------------------------------------- /lib/optdown/escape.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/escape.rb -------------------------------------------------------------------------------- /lib/optdown/expr.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/expr.rb -------------------------------------------------------------------------------- /lib/optdown/fenced_code_block.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/fenced_code_block.rb -------------------------------------------------------------------------------- /lib/optdown/flanker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/flanker.rb -------------------------------------------------------------------------------- /lib/optdown/html5entity.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/html5entity.erb -------------------------------------------------------------------------------- /lib/optdown/html5entity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/html5entity.rb -------------------------------------------------------------------------------- /lib/optdown/indented_code_block.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/indented_code_block.rb -------------------------------------------------------------------------------- /lib/optdown/inline.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/inline.rb -------------------------------------------------------------------------------- /lib/optdown/link.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/link.rb -------------------------------------------------------------------------------- /lib/optdown/link_def.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/link_def.rb -------------------------------------------------------------------------------- /lib/optdown/link_title.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/link_title.rb -------------------------------------------------------------------------------- /lib/optdown/list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/list.rb -------------------------------------------------------------------------------- /lib/optdown/list_item.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/list_item.rb -------------------------------------------------------------------------------- /lib/optdown/matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/matcher.rb -------------------------------------------------------------------------------- /lib/optdown/newline.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/newline.rb -------------------------------------------------------------------------------- /lib/optdown/paragraph.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/paragraph.rb -------------------------------------------------------------------------------- /lib/optdown/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/parser.rb -------------------------------------------------------------------------------- /lib/optdown/plugins/houdini_compat.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/plugins/houdini_compat.rb -------------------------------------------------------------------------------- /lib/optdown/plugins/html_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/plugins/html_renderer.rb -------------------------------------------------------------------------------- /lib/optdown/plugins/plaintext_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/plugins/plaintext_renderer.rb -------------------------------------------------------------------------------- /lib/optdown/raw_html.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/raw_html.rb -------------------------------------------------------------------------------- /lib/optdown/renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/renderer.rb -------------------------------------------------------------------------------- /lib/optdown/setext_heading.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/setext_heading.rb -------------------------------------------------------------------------------- /lib/optdown/strikethrough.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/strikethrough.rb -------------------------------------------------------------------------------- /lib/optdown/table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/table.rb -------------------------------------------------------------------------------- /lib/optdown/thematic_break.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/thematic_break.rb -------------------------------------------------------------------------------- /lib/optdown/token.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/token.rb -------------------------------------------------------------------------------- /lib/optdown/xprintf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/lib/optdown/xprintf.rb -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | spec.json 2 | -------------------------------------------------------------------------------- /test/000_compile.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/000_compile.rb -------------------------------------------------------------------------------- /test/always_frozen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/always_frozen.rb -------------------------------------------------------------------------------- /test/blocklevel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/blocklevel.rb -------------------------------------------------------------------------------- /test/deeply_frozen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/deeply_frozen.rb -------------------------------------------------------------------------------- /test/expr.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/expr.rb -------------------------------------------------------------------------------- /test/inline.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/inline.rb -------------------------------------------------------------------------------- /test/integrated.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/integrated.rb -------------------------------------------------------------------------------- /test/matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/matcher.rb -------------------------------------------------------------------------------- /test/pathological.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/pathological.rb -------------------------------------------------------------------------------- /test/renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/renderer.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/xprintf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/optdown/HEAD/test/xprintf.rb --------------------------------------------------------------------------------