├── .gitignore ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin └── minidown ├── lib ├── minidown.rb └── minidown │ ├── document.rb │ ├── element.rb │ ├── elements.rb │ ├── elements │ ├── block_element.rb │ ├── code_block_element.rb │ ├── dividing_line_element.rb │ ├── html_element.rb │ ├── indent_code_element.rb │ ├── line_element.rb │ ├── list_element.rb │ ├── list_group_element.rb │ ├── order_list_element.rb │ ├── paragraph_element.rb │ ├── raw_html_element.rb │ ├── table_element.rb │ ├── text_element.rb │ └── unorder_list_element.rb │ ├── html_helper.rb │ ├── parser.rb │ ├── utils.rb │ └── version.rb ├── minidown.gemspec └── spec ├── blank_line_spec.rb ├── code_block_spec.rb ├── dividing_line_spec.rb ├── h1_and_h2_spec.rb ├── indent_block_spec.rb ├── li_spec.rb ├── minidown_spec.rb ├── paragraph_spec.rb ├── raw_html_spec.rb ├── spec_helper.rb ├── start_with_gt_spec.rb ├── start_with_shape_spec.rb ├── table_spec.rb ├── task_list_spec.rb └── text_element_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/minidown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/bin/minidown -------------------------------------------------------------------------------- /lib/minidown.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown.rb -------------------------------------------------------------------------------- /lib/minidown/document.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/document.rb -------------------------------------------------------------------------------- /lib/minidown/element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/element.rb -------------------------------------------------------------------------------- /lib/minidown/elements.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements.rb -------------------------------------------------------------------------------- /lib/minidown/elements/block_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/block_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/code_block_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/code_block_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/dividing_line_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/dividing_line_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/html_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/html_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/indent_code_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/indent_code_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/line_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/line_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/list_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/list_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/list_group_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/list_group_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/order_list_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/order_list_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/paragraph_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/paragraph_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/raw_html_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/raw_html_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/table_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/table_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/text_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/text_element.rb -------------------------------------------------------------------------------- /lib/minidown/elements/unorder_list_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/elements/unorder_list_element.rb -------------------------------------------------------------------------------- /lib/minidown/html_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/html_helper.rb -------------------------------------------------------------------------------- /lib/minidown/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/parser.rb -------------------------------------------------------------------------------- /lib/minidown/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/lib/minidown/utils.rb -------------------------------------------------------------------------------- /lib/minidown/version.rb: -------------------------------------------------------------------------------- 1 | module Minidown 2 | VERSION = "2.1.1" 3 | end 4 | -------------------------------------------------------------------------------- /minidown.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/minidown.gemspec -------------------------------------------------------------------------------- /spec/blank_line_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/blank_line_spec.rb -------------------------------------------------------------------------------- /spec/code_block_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/code_block_spec.rb -------------------------------------------------------------------------------- /spec/dividing_line_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/dividing_line_spec.rb -------------------------------------------------------------------------------- /spec/h1_and_h2_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/h1_and_h2_spec.rb -------------------------------------------------------------------------------- /spec/indent_block_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/indent_block_spec.rb -------------------------------------------------------------------------------- /spec/li_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/li_spec.rb -------------------------------------------------------------------------------- /spec/minidown_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/minidown_spec.rb -------------------------------------------------------------------------------- /spec/paragraph_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/paragraph_spec.rb -------------------------------------------------------------------------------- /spec/raw_html_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/raw_html_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/start_with_gt_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/start_with_gt_spec.rb -------------------------------------------------------------------------------- /spec/start_with_shape_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/start_with_shape_spec.rb -------------------------------------------------------------------------------- /spec/table_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/table_spec.rb -------------------------------------------------------------------------------- /spec/task_list_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/task_list_spec.rb -------------------------------------------------------------------------------- /spec/text_element_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jjyr/minidown/HEAD/spec/text_element_spec.rb --------------------------------------------------------------------------------