├── .github └── workflows │ ├── detect-secrets-wordlist.txt │ ├── reviewdog.yml │ └── ruby_test.yml ├── .gitignore ├── .rubocop.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── example ├── hello.rb └── toc.rb ├── lib ├── mato.rb └── mato │ ├── anchor_builder.rb │ ├── concerns │ └── html_node_checkable.rb │ ├── config.rb │ ├── converter.rb │ ├── document.rb │ ├── html_filters │ ├── bare_inline_element.rb │ ├── mention_link.rb │ ├── sanitization.rb │ ├── section_anchor.rb │ ├── syntax_highlight.rb │ ├── task_list.rb │ └── token_link.rb │ ├── processor.rb │ ├── renderers │ ├── html_renderer.rb │ └── html_toc_renderer.rb │ ├── rescue.rb │ ├── timeout.rb │ └── version.rb ├── mato.gemspec └── test ├── html_filters ├── bare_inline_element_test.rb ├── mention_link_test.rb ├── sanitization_test.rb ├── section_anchor_test.rb ├── syntax_higlight_test.rb └── task_list_test.rb ├── mato_converter_test.rb ├── mato_html_filter_test.rb ├── mato_markdown_filter_test.rb ├── mato_rescue_test.rb ├── mato_test.rb ├── mato_text_filter_test.rb ├── mato_timeout_test.rb ├── renderers └── html_toc_renderer_test.rb └── test_helper.rb /.github/workflows/detect-secrets-wordlist.txt: -------------------------------------------------------------------------------- 1 | dummy 2 | -------------------------------------------------------------------------------- /.github/workflows/reviewdog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/.github/workflows/reviewdog.yml -------------------------------------------------------------------------------- /.github/workflows/ruby_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/.github/workflows/ruby_test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/.gitignore -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/bin/setup -------------------------------------------------------------------------------- /example/hello.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/example/hello.rb -------------------------------------------------------------------------------- /example/toc.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/example/toc.rb -------------------------------------------------------------------------------- /lib/mato.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato.rb -------------------------------------------------------------------------------- /lib/mato/anchor_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/anchor_builder.rb -------------------------------------------------------------------------------- /lib/mato/concerns/html_node_checkable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/concerns/html_node_checkable.rb -------------------------------------------------------------------------------- /lib/mato/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/config.rb -------------------------------------------------------------------------------- /lib/mato/converter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/converter.rb -------------------------------------------------------------------------------- /lib/mato/document.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/document.rb -------------------------------------------------------------------------------- /lib/mato/html_filters/bare_inline_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/html_filters/bare_inline_element.rb -------------------------------------------------------------------------------- /lib/mato/html_filters/mention_link.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/html_filters/mention_link.rb -------------------------------------------------------------------------------- /lib/mato/html_filters/sanitization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/html_filters/sanitization.rb -------------------------------------------------------------------------------- /lib/mato/html_filters/section_anchor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/html_filters/section_anchor.rb -------------------------------------------------------------------------------- /lib/mato/html_filters/syntax_highlight.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/html_filters/syntax_highlight.rb -------------------------------------------------------------------------------- /lib/mato/html_filters/task_list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/html_filters/task_list.rb -------------------------------------------------------------------------------- /lib/mato/html_filters/token_link.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/html_filters/token_link.rb -------------------------------------------------------------------------------- /lib/mato/processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/processor.rb -------------------------------------------------------------------------------- /lib/mato/renderers/html_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/renderers/html_renderer.rb -------------------------------------------------------------------------------- /lib/mato/renderers/html_toc_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/renderers/html_toc_renderer.rb -------------------------------------------------------------------------------- /lib/mato/rescue.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/rescue.rb -------------------------------------------------------------------------------- /lib/mato/timeout.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/lib/mato/timeout.rb -------------------------------------------------------------------------------- /lib/mato/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Mato 4 | VERSION = "2.6.0" 5 | end 6 | -------------------------------------------------------------------------------- /mato.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/mato.gemspec -------------------------------------------------------------------------------- /test/html_filters/bare_inline_element_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/html_filters/bare_inline_element_test.rb -------------------------------------------------------------------------------- /test/html_filters/mention_link_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/html_filters/mention_link_test.rb -------------------------------------------------------------------------------- /test/html_filters/sanitization_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/html_filters/sanitization_test.rb -------------------------------------------------------------------------------- /test/html_filters/section_anchor_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/html_filters/section_anchor_test.rb -------------------------------------------------------------------------------- /test/html_filters/syntax_higlight_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/html_filters/syntax_higlight_test.rb -------------------------------------------------------------------------------- /test/html_filters/task_list_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/html_filters/task_list_test.rb -------------------------------------------------------------------------------- /test/mato_converter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/mato_converter_test.rb -------------------------------------------------------------------------------- /test/mato_html_filter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/mato_html_filter_test.rb -------------------------------------------------------------------------------- /test/mato_markdown_filter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/mato_markdown_filter_test.rb -------------------------------------------------------------------------------- /test/mato_rescue_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/mato_rescue_test.rb -------------------------------------------------------------------------------- /test/mato_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/mato_test.rb -------------------------------------------------------------------------------- /test/mato_text_filter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/mato_text_filter_test.rb -------------------------------------------------------------------------------- /test/mato_timeout_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/mato_timeout_test.rb -------------------------------------------------------------------------------- /test/renderers/html_toc_renderer_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/renderers/html_toc_renderer_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitjourney/mato/HEAD/test/test_helper.rb --------------------------------------------------------------------------------