kramdown 1.17.0 → 2.0.0.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kramdown might be problematic. Click here for more details.
- checksums.yaml +4 -4
 - data/CONTRIBUTERS +4 -2
 - data/VERSION +1 -1
 - data/bin/kramdown +13 -14
 - data/lib/kramdown.rb +2 -2
 - data/lib/kramdown/converter.rb +6 -7
 - data/lib/kramdown/converter/base.rb +18 -29
 - data/lib/kramdown/converter/hash_ast.rb +4 -4
 - data/lib/kramdown/converter/html.rb +82 -67
 - data/lib/kramdown/converter/kramdown.rb +83 -78
 - data/lib/kramdown/converter/latex.rb +53 -47
 - data/lib/kramdown/converter/man.rb +22 -25
 - data/lib/kramdown/converter/math_engine/mathjax.rb +10 -10
 - data/lib/kramdown/converter/remove_html_tags.rb +2 -2
 - data/lib/kramdown/converter/syntax_highlighter.rb +2 -2
 - data/lib/kramdown/converter/syntax_highlighter/minted.rb +2 -2
 - data/lib/kramdown/converter/syntax_highlighter/rouge.rb +5 -5
 - data/lib/kramdown/converter/toc.rb +5 -5
 - data/lib/kramdown/document.rb +9 -11
 - data/lib/kramdown/element.rb +11 -9
 - data/lib/kramdown/error.rb +2 -2
 - data/lib/kramdown/options.rb +258 -384
 - data/lib/kramdown/parser.rb +2 -3
 - data/lib/kramdown/parser/base.rb +7 -6
 - data/lib/kramdown/parser/html.rb +103 -95
 - data/lib/kramdown/parser/kramdown.rb +32 -36
 - data/lib/kramdown/parser/kramdown/abbreviation.rb +13 -10
 - data/lib/kramdown/parser/kramdown/autolink.rb +3 -3
 - data/lib/kramdown/parser/kramdown/blank_line.rb +2 -2
 - data/lib/kramdown/parser/kramdown/block_boundary.rb +2 -2
 - data/lib/kramdown/parser/kramdown/blockquote.rb +4 -5
 - data/lib/kramdown/parser/kramdown/codeblock.rb +4 -5
 - data/lib/kramdown/parser/kramdown/codespan.rb +5 -5
 - data/lib/kramdown/parser/kramdown/emphasis.rb +6 -6
 - data/lib/kramdown/parser/kramdown/eob.rb +2 -2
 - data/lib/kramdown/parser/kramdown/escaped_chars.rb +2 -2
 - data/lib/kramdown/parser/kramdown/extensions.rb +31 -26
 - data/lib/kramdown/parser/kramdown/footnote.rb +7 -6
 - data/lib/kramdown/parser/kramdown/header.rb +6 -6
 - data/lib/kramdown/parser/kramdown/horizontal_rule.rb +3 -3
 - data/lib/kramdown/parser/kramdown/html.rb +31 -26
 - data/lib/kramdown/parser/kramdown/html_entity.rb +6 -5
 - data/lib/kramdown/parser/kramdown/line_break.rb +3 -3
 - data/lib/kramdown/parser/kramdown/link.rb +13 -11
 - data/lib/kramdown/parser/kramdown/list.rb +38 -40
 - data/lib/kramdown/parser/kramdown/math.rb +4 -5
 - data/lib/kramdown/parser/kramdown/paragraph.rb +5 -5
 - data/lib/kramdown/parser/kramdown/smart_quotes.rb +23 -23
 - data/lib/kramdown/parser/kramdown/table.rb +18 -17
 - data/lib/kramdown/parser/kramdown/typographic_symbol.rb +8 -8
 - data/lib/kramdown/parser/markdown.rb +9 -8
 - data/lib/kramdown/utils.rb +5 -6
 - data/lib/kramdown/utils/configurable.rb +7 -6
 - data/lib/kramdown/utils/entities.rb +286 -289
 - data/lib/kramdown/utils/html.rb +10 -12
 - data/lib/kramdown/utils/lru_cache.rb +3 -2
 - data/lib/kramdown/utils/string_scanner.rb +2 -3
 - data/lib/kramdown/utils/unidecoder.rb +8 -6
 - data/lib/kramdown/version.rb +3 -3
 - data/man/man1/kramdown.1 +3 -107
 - data/test/run_tests.rb +6 -6
 - data/test/test_files.rb +122 -298
 - data/test/test_location.rb +8 -30
 - data/test/test_string_scanner_kramdown.rb +6 -9
 - data/test/testcases/block/06_codeblock/highlighting-opts.html +6 -6
 - data/test/testcases/block/06_codeblock/highlighting.html +5 -6
 - data/test/testcases/block/06_codeblock/with_lang_in_fenced_block.options +1 -1
 - data/test/testcases/block/07_horizontal_rule/error.html +2 -2
 - data/test/testcases/block/09_html/html5_attributes.html +2 -0
 - data/test/testcases/block/09_html/html5_attributes.text +2 -0
 - data/test/testcases/block/09_html/html_to_native/typography.html +1 -1
 - data/test/testcases/block/09_html/simple.html +1 -1
 - data/test/testcases/block/12_extension/options3.html +7 -6
 - data/test/testcases/block/12_extension/options3.text +2 -2
 - data/test/testcases/span/01_link/inline.html +1 -1
 - data/test/testcases/span/01_link/reference.html +3 -3
 - data/test/testcases/span/03_codespan/highlighting.html +1 -1
 - data/test/testcases/span/text_substitutions/entities_as_char.html +1 -1
 - metadata +5 -234
 - data/Rakefile +0 -341
 - data/benchmark/benchmark.rb +0 -43
 - data/benchmark/benchmark.sh +0 -74
 - data/benchmark/generate_data.rb +0 -119
 - data/benchmark/mdbasics.text +0 -306
 - data/benchmark/mdsyntax.text +0 -888
 - data/benchmark/testing.sh +0 -12
 - data/benchmark/timing.sh +0 -10
 - data/doc/_design.scss +0 -441
 - data/doc/bg.png +0 -0
 - data/doc/default.scss +0 -217
 - data/doc/default.template +0 -62
 - data/doc/documentation.page +0 -84
 - data/doc/documentation.template +0 -36
 - data/doc/index.page +0 -113
 - data/doc/installation.page +0 -88
 - data/doc/links.markdown +0 -6
 - data/doc/metainfo +0 -13
 - data/doc/news.feed +0 -9
 - data/doc/news.page +0 -29
 - data/doc/options.page +0 -49
 - data/doc/quickref.page +0 -603
 - data/doc/sidebar.template +0 -22
 - data/doc/sitemap.sitemap +0 -5
 - data/doc/syntax.page +0 -1799
 - data/doc/tests.page +0 -104
 - data/doc/virtual +0 -14
 - data/lib/kramdown/converter/math_engine/itex2mml.rb +0 -39
 - data/lib/kramdown/converter/math_engine/katex.rb +0 -35
 - data/lib/kramdown/converter/math_engine/mathjaxnode.rb +0 -56
 - data/lib/kramdown/converter/math_engine/ritex.rb +0 -38
 - data/lib/kramdown/converter/math_engine/sskatex.rb +0 -97
 - data/lib/kramdown/converter/pdf.rb +0 -625
 - data/lib/kramdown/converter/syntax_highlighter/coderay.rb +0 -81
 - data/lib/kramdown/parser/gfm.rb +0 -188
 - data/lib/kramdown/utils/ordered_hash.rb +0 -18
 - data/setup.rb +0 -1585
 - data/test/testcases/block/07_horizontal_rule/error.html.19 +0 -7
 - data/test/testcases/block/09_html/html_to_native/typography.html.19 +0 -1
 - data/test/testcases/block/09_html/simple.html.19 +0 -60
 - data/test/testcases/block/15_math/itex2mml.html +0 -1
 - data/test/testcases/block/15_math/itex2mml.options +0 -1
 - data/test/testcases/block/15_math/itex2mml.text +0 -1
 - data/test/testcases/block/15_math/katex.html.19 +0 -2
 - data/test/testcases/block/15_math/katex.options +0 -1
 - data/test/testcases/block/15_math/katex.text +0 -2
 - data/test/testcases/block/15_math/mathjaxnode.html.19 +0 -27
 - data/test/testcases/block/15_math/mathjaxnode.options +0 -1
 - data/test/testcases/block/15_math/mathjaxnode.text +0 -1
 - data/test/testcases/block/15_math/mathjaxnode_notexhints.html.19 +0 -23
 - data/test/testcases/block/15_math/mathjaxnode_notexhints.options +0 -3
 - data/test/testcases/block/15_math/mathjaxnode_notexhints.text +0 -1
 - data/test/testcases/block/15_math/mathjaxnode_semantics.html.19 +0 -32
 - data/test/testcases/block/15_math/mathjaxnode_semantics.options +0 -3
 - data/test/testcases/block/15_math/mathjaxnode_semantics.text +0 -1
 - data/test/testcases/block/15_math/ritex.html +0 -1
 - data/test/testcases/block/15_math/ritex.options +0 -1
 - data/test/testcases/block/15_math/ritex.text +0 -1
 - data/test/testcases/block/15_math/sskatex.html.19 +0 -2
 - data/test/testcases/block/15_math/sskatex.options +0 -1
 - data/test/testcases/block/15_math/sskatex.text +0 -2
 - data/test/testcases/span/01_link/inline.html.19 +0 -46
 - data/test/testcases/span/01_link/reference.html.19 +0 -37
 - data/test/testcases/span/math/itex2mml.html +0 -1
 - data/test/testcases/span/math/itex2mml.options +0 -1
 - data/test/testcases/span/math/itex2mml.text +0 -1
 - data/test/testcases/span/math/katex.html.19 +0 -1
 - data/test/testcases/span/math/katex.options +0 -1
 - data/test/testcases/span/math/katex.text +0 -1
 - data/test/testcases/span/math/mathjaxnode.html.19 +0 -27
 - data/test/testcases/span/math/mathjaxnode.options +0 -1
 - data/test/testcases/span/math/mathjaxnode.text +0 -1
 - data/test/testcases/span/math/ritex.html +0 -1
 - data/test/testcases/span/math/ritex.options +0 -1
 - data/test/testcases/span/math/ritex.text +0 -1
 - data/test/testcases/span/math/sskatex.html.19 +0 -1
 - data/test/testcases/span/math/sskatex.options +0 -1
 - data/test/testcases/span/math/sskatex.text +0 -1
 - data/test/testcases/span/text_substitutions/entities_as_char.html.19 +0 -1
 - data/test/testcases_gfm/atx_header.html +0 -3
 - data/test/testcases_gfm/atx_header.text +0 -3
 - data/test/testcases_gfm/backticks_disable_highlighting.html +0 -2
 - data/test/testcases_gfm/backticks_disable_highlighting.options +0 -1
 - data/test/testcases_gfm/backticks_disable_highlighting.text +0 -3
 - data/test/testcases_gfm/backticks_syntax.html +0 -20
 - data/test/testcases_gfm/backticks_syntax.text +0 -19
 - data/test/testcases_gfm/codeblock_fenced.html +0 -20
 - data/test/testcases_gfm/codeblock_fenced.options +0 -1
 - data/test/testcases_gfm/codeblock_fenced.text +0 -21
 - data/test/testcases_gfm/hard_line_breaks.html +0 -3
 - data/test/testcases_gfm/hard_line_breaks.text +0 -3
 - data/test/testcases_gfm/hard_line_breaks_off.html +0 -2
 - data/test/testcases_gfm/hard_line_breaks_off.options +0 -1
 - data/test/testcases_gfm/hard_line_breaks_off.text +0 -2
 - data/test/testcases_gfm/header_ids.html +0 -27
 - data/test/testcases_gfm/header_ids.html.19 +0 -27
 - data/test/testcases_gfm/header_ids.options +0 -1
 - data/test/testcases_gfm/header_ids.text +0 -27
 - data/test/testcases_gfm/header_ids_with_prefix.html +0 -3
 - data/test/testcases_gfm/header_ids_with_prefix.options +0 -2
 - data/test/testcases_gfm/header_ids_with_prefix.text +0 -3
 - data/test/testcases_gfm/no_typographic.html +0 -3
 - data/test/testcases_gfm/no_typographic.html.19 +0 -3
 - data/test/testcases_gfm/no_typographic.options +0 -1
 - data/test/testcases_gfm/no_typographic.text +0 -3
 - data/test/testcases_gfm/paragraph_end-disabled.html +0 -31
 - data/test/testcases_gfm/paragraph_end-disabled.options +0 -1
 - data/test/testcases_gfm/paragraph_end-disabled.text +0 -27
 - data/test/testcases_gfm/paragraph_end.html +0 -38
 - data/test/testcases_gfm/paragraph_end.text +0 -27
 - data/test/testcases_gfm/strikethrough.html +0 -27
 - data/test/testcases_gfm/strikethrough.html.19 +0 -27
 - data/test/testcases_gfm/strikethrough.text +0 -27
 - data/test/testcases_gfm/task_list.html +0 -40
 - data/test/testcases_gfm/task_list.text +0 -26
 - data/test/testcases_gfm/two_para_hard_line_breaks.html +0 -4
 - data/test/testcases_gfm/two_para_hard_line_breaks.text +0 -4
 
    
        data/test/test_location.rb
    CHANGED
    
    | 
         @@ -1,20 +1,18 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # -*- coding: utf-8 -*-
         
     | 
| 
      
 1 
     | 
    
         
            +
            # -*- coding: utf-8; frozen_string_literal: true -*-
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
3 
     | 
    
         
             
            #--
         
     | 
| 
       4 
     | 
    
         
            -
            # Copyright (C) 2009- 
     | 
| 
      
 4 
     | 
    
         
            +
            # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
         
     | 
| 
       5 
5 
     | 
    
         
             
            #
         
     | 
| 
       6 
6 
     | 
    
         
             
            # This file is part of kramdown which is licensed under the MIT.
         
     | 
| 
       7 
7 
     | 
    
         
             
            #++
         
     | 
| 
       8 
8 
     | 
    
         
             
            #
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
10 
     | 
    
         
             
            require 'minitest/autorun'
         
     | 
| 
       12 
11 
     | 
    
         
             
            require 'kramdown'
         
     | 
| 
       13 
12 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
            Encoding.default_external = 'utf-8' 
     | 
| 
      
 13 
     | 
    
         
            +
            Encoding.default_external = 'utf-8'
         
     | 
| 
       15 
14 
     | 
    
         | 
| 
       16 
15 
     | 
    
         
             
            describe 'location' do
         
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
16 
     | 
    
         
             
              # checks that +element+'s :location option corresponds to the location stored
         
     | 
| 
       19 
17 
     | 
    
         
             
              # in the element.attr['class']
         
     | 
| 
       20 
18 
     | 
    
         
             
              def check_element_for_location(element)
         
     | 
| 
         @@ -176,7 +174,7 @@ describe 'location' do 
     | 
|
| 
       176 
174 
     | 
    
         
             
                ),
         
     | 
| 
       177 
175 
     | 
    
         
             
              }
         
     | 
| 
       178 
176 
     | 
    
         
             
              test_cases.each do |name, test_string|
         
     | 
| 
       179 
     | 
    
         
            -
                it "Handles #{ 
     | 
| 
      
 177 
     | 
    
         
            +
                it "Handles #{name}" do
         
     | 
| 
       180 
178 
     | 
    
         
             
                  doc = Kramdown::Document.new(test_string.gsub(/^      /, '').strip)
         
     | 
| 
       181 
179 
     | 
    
         
             
                  check_element_for_location(doc.root)
         
     | 
| 
       182 
180 
     | 
    
         
             
                end
         
     | 
| 
         @@ -195,7 +193,7 @@ describe 'location' do 
     | 
|
| 
       195 
193 
     | 
    
         
             
              it 'handles abbreviations' do
         
     | 
| 
       196 
194 
     | 
    
         
             
                str = "This *is* ABC and\n**and** ABC second\nanother ABC\nas ABC as\nABC at the end.\n\n*[ABC]: ABC"
         
     | 
| 
       197 
195 
     | 
    
         
             
                doc = Kramdown::Document.new(str)
         
     | 
| 
       198 
     | 
    
         
            -
                doc.root.children.first.children.select {|e| e.type == :abbreviation}.each_with_index do |e, i|
         
     | 
| 
      
 196 
     | 
    
         
            +
                doc.root.children.first.children.select {|e| e.type == :abbreviation }.each_with_index do |e, i|
         
     | 
| 
       199 
197 
     | 
    
         
             
                  assert_equal(i + 1, e.options[:location])
         
     | 
| 
       200 
198 
     | 
    
         
             
                end
         
     | 
| 
       201 
199 
     | 
    
         
             
              end
         
     | 
| 
         @@ -203,7 +201,7 @@ describe 'location' do 
     | 
|
| 
       203 
201 
     | 
    
         
             
              it 'handles line breaks' do
         
     | 
| 
       204 
202 
     | 
    
         
             
                str = "First  \nsecond\\\\\nthird  \n"
         
     | 
| 
       205 
203 
     | 
    
         
             
                doc = Kramdown::Document.new(str)
         
     | 
| 
       206 
     | 
    
         
            -
                doc.root.children.first.children.select {|e| e.type == :br}.each_with_index do |e, i|
         
     | 
| 
      
 204 
     | 
    
         
            +
                doc.root.children.first.children.select {|e| e.type == :br }.each_with_index do |e, i|
         
     | 
| 
       207 
205 
     | 
    
         
             
                  assert_equal(i + 1, e.options[:location])
         
     | 
| 
       208 
206 
     | 
    
         
             
                end
         
     | 
| 
       209 
207 
     | 
    
         
             
              end
         
     | 
| 
         @@ -211,28 +209,8 @@ describe 'location' do 
     | 
|
| 
       211 
209 
     | 
    
         
             
              it 'handles smart quotes' do
         
     | 
| 
       212 
210 
     | 
    
         
             
                str = "This is 'first'\nand 'second' and\n'third'"
         
     | 
| 
       213 
211 
     | 
    
         
             
                doc = Kramdown::Document.new(str)
         
     | 
| 
       214 
     | 
    
         
            -
                doc.root.children.first.children.select {|e| e.type == :smart_quote}.each_with_index do |e, i|
         
     | 
| 
       215 
     | 
    
         
            -
                  assert_equal(((i + 1) /2.0).ceil, e.options[:location])
         
     | 
| 
      
 212 
     | 
    
         
            +
                doc.root.children.first.children.select {|e| e.type == :smart_quote }.each_with_index do |e, i|
         
     | 
| 
      
 213 
     | 
    
         
            +
                  assert_equal(((i + 1) / 2.0).ceil, e.options[:location])
         
     | 
| 
       216 
214 
     | 
    
         
             
                end
         
     | 
| 
       217 
215 
     | 
    
         
             
              end
         
     | 
| 
       218 
     | 
    
         
            -
             
     | 
| 
       219 
     | 
    
         
            -
              it 'handles hard wrapped paragraphs with the GFM parser' do
         
     | 
| 
       220 
     | 
    
         
            -
                str = "A*b*C\nA*b*C\nA*b*C"
         
     | 
| 
       221 
     | 
    
         
            -
                doc = Kramdown::Document.new(str, :input => 'GFM', :hard_wrap => true)
         
     | 
| 
       222 
     | 
    
         
            -
                para = doc.root.children.first
         
     | 
| 
       223 
     | 
    
         
            -
                1.upto(3) do |line|
         
     | 
| 
       224 
     | 
    
         
            -
                  0.upto(line == 3 ? 2 : 3) do |element|
         
     | 
| 
       225 
     | 
    
         
            -
                    assert_equal(line, para.children[4*(line - 1) + element].options[:location])
         
     | 
| 
       226 
     | 
    
         
            -
                  end
         
     | 
| 
       227 
     | 
    
         
            -
                end
         
     | 
| 
       228 
     | 
    
         
            -
              end
         
     | 
| 
       229 
     | 
    
         
            -
             
     | 
| 
       230 
     | 
    
         
            -
              it 'marks fenced code block as fenced with the GFM parser' do
         
     | 
| 
       231 
     | 
    
         
            -
                str = %(```\nfenced code\n```\n\n    indented code\n)
         
     | 
| 
       232 
     | 
    
         
            -
                doc = Kramdown::Document.new(str, :input => 'GFM')
         
     | 
| 
       233 
     | 
    
         
            -
                fenced_cb = doc.root.children.first
         
     | 
| 
       234 
     | 
    
         
            -
                indented_cb = doc.root.children.last
         
     | 
| 
       235 
     | 
    
         
            -
                assert fenced_cb.options[:fenced]
         
     | 
| 
       236 
     | 
    
         
            -
                refute indented_cb.options[:fenced]
         
     | 
| 
       237 
     | 
    
         
            -
              end
         
     | 
| 
       238 
216 
     | 
    
         
             
            end
         
     | 
| 
         @@ -1,30 +1,27 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # -*- coding: utf-8 -*-
         
     | 
| 
      
 1 
     | 
    
         
            +
            # -*- coding: utf-8; frozen_string_literal: true -*-
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
3 
     | 
    
         
             
            #--
         
     | 
| 
       4 
     | 
    
         
            -
            # Copyright (C) 2009- 
     | 
| 
      
 4 
     | 
    
         
            +
            # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
         
     | 
| 
       5 
5 
     | 
    
         
             
            #
         
     | 
| 
       6 
6 
     | 
    
         
             
            # This file is part of kramdown which is licensed under the MIT.
         
     | 
| 
       7 
7 
     | 
    
         
             
            #++
         
     | 
| 
       8 
8 
     | 
    
         
             
            #
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
10 
     | 
    
         
             
            require 'minitest/autorun'
         
     | 
| 
       12 
11 
     | 
    
         
             
            require 'kramdown/utils/string_scanner'
         
     | 
| 
       13 
12 
     | 
    
         | 
| 
       14 
13 
     | 
    
         
             
            describe Kramdown::Utils::StringScanner do
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
14 
     | 
    
         
             
              [
         
     | 
| 
       17 
15 
     | 
    
         
             
                ["...........X............", [/X/], 1],
         
     | 
| 
       18 
16 
     | 
    
         
             
                ["1\n2\n3\n4\n5\n6X", [/X/], 6],
         
     | 
| 
       19 
     | 
    
         
            -
                ["1\n2\n3\n4\n5\n6X\n7\n8X", [/X 
     | 
| 
       20 
     | 
    
         
            -
                [(".\n" * 1000) + 'X', [/X/], 1001]
         
     | 
| 
      
 17 
     | 
    
         
            +
                ["1\n2\n3\n4\n5\n6X\n7\n8X", [/X/, /X/], 8],
         
     | 
| 
      
 18 
     | 
    
         
            +
                [(".\n" * 1000) + 'X', [/X/], 1001],
         
     | 
| 
       21 
19 
     | 
    
         
             
              ].each_with_index do |test_data, i|
         
     | 
| 
       22 
20 
     | 
    
         
             
                test_string, scan_regexes, expect = test_data
         
     | 
| 
       23 
     | 
    
         
            -
                it "computes the correct current_line_number for example ##{i+1}" do
         
     | 
| 
      
 21 
     | 
    
         
            +
                it "computes the correct current_line_number for example ##{i + 1}" do
         
     | 
| 
       24 
22 
     | 
    
         
             
                  str_sc = Kramdown::Utils::StringScanner.new(test_string)
         
     | 
| 
       25 
     | 
    
         
            -
                  scan_regexes.each { 
     | 
| 
      
 23 
     | 
    
         
            +
                  scan_regexes.each {|scan_re| str_sc.scan_until(scan_re) }
         
     | 
| 
       26 
24 
     | 
    
         
             
                  str_sc.current_line_number.must_equal expect
         
     | 
| 
       27 
25 
     | 
    
         
             
                end
         
     | 
| 
       28 
26 
     | 
    
         
             
              end
         
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
27 
     | 
    
         
             
            end
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <div class="language-ruby highlighter- 
     | 
| 
       2 
     | 
    
         
            -
            </ 
     | 
| 
       3 
     | 
    
         
            -
            </div>
         
     | 
| 
       4 
     | 
    
         
            -
            <div class="language-html highlighter- 
     | 
| 
       5 
     | 
    
         
            -
            </ 
     | 
| 
       6 
     | 
    
         
            -
            </div>
         
     | 
| 
      
 1 
     | 
    
         
            +
            <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span class="no">Class</span><span class="p">.</span><span class="nf">new</span>
         
     | 
| 
      
 2 
     | 
    
         
            +
            </code></pre>
         
     | 
| 
      
 3 
     | 
    
         
            +
            </div></div>
         
     | 
| 
      
 4 
     | 
    
         
            +
            <div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><a></span>href<span class="nt"></a></span>
         
     | 
| 
      
 5 
     | 
    
         
            +
            </code></pre>
         
     | 
| 
      
 6 
     | 
    
         
            +
            </div></div>
         
     | 
| 
         @@ -1,6 +1,5 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            < 
     | 
| 
       2 
     | 
    
         
            -
            </ 
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            </ 
     | 
| 
       6 
     | 
    
         
            -
            </div>
         
     | 
| 
      
 1 
     | 
    
         
            +
            <pre><code>x = Class.new
         
     | 
| 
      
 2 
     | 
    
         
            +
            </code></pre>
         
     | 
| 
      
 3 
     | 
    
         
            +
            <div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><a></span>href<span class="nt"></a></span>
         
     | 
| 
      
 4 
     | 
    
         
            +
            </code></pre>
         
     | 
| 
      
 5 
     | 
    
         
            +
            </div></div>
         
     | 
| 
         @@ -1,2 +1,2 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            : 
     | 
| 
      
 1 
     | 
    
         
            +
            :syntax_highlighter: null
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <p>This is  
     | 
| 
      
 1 
     | 
    
         
            +
            <p>This is … something “to remember”!</p>
         
     | 
| 
         @@ -1,7 +1,8 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <div class="language-ruby highlighter- 
     | 
| 
       2 
     | 
    
         
            -
            </ 
     | 
| 
       3 
     | 
    
         
            -
            </div>
         
     | 
| 
      
 1 
     | 
    
         
            +
            <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span class="no">Class</span><span class="p">.</span><span class="nf">new</span>
         
     | 
| 
      
 2 
     | 
    
         
            +
            </code></pre>
         
     | 
| 
      
 3 
     | 
    
         
            +
            </div></div>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span class="no">Class</span><span class="p">.</span><span class="nf">new</span>
         
     | 
| 
      
 6 
     | 
    
         
            +
            </code></pre>
         
     | 
| 
      
 7 
     | 
    
         
            +
            </div></div>
         
     | 
| 
       4 
8 
     | 
    
         | 
| 
       5 
     | 
    
         
            -
            <div class="language-ruby highlighter-coderay"><span class="CodeRay">x = <span class="constant">Class</span>.new
         
     | 
| 
       6 
     | 
    
         
            -
            </span>
         
     | 
| 
       7 
     | 
    
         
            -
            </div>
         
     | 
| 
         @@ -23,15 +23,15 @@ the text</a></p> 
     | 
|
| 
       23 
23 
     | 
    
         
             
            <p>[no url] invalid.html
         
     | 
| 
       24 
24 
     | 
    
         
             
            [no url]:</p>
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
       26 
     | 
    
         
            -
            <p 
     | 
| 
      
 26 
     | 
    
         
            +
            <p>“title”</p>
         
     | 
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         
             
            <p>test <a href="invalid.html">url but no title</a>
         
     | 
| 
       29 
29 
     | 
    
         
             
            test [urldef]</p>
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
     | 
    
         
            -
            <p>[urldef]: some.url  
     | 
| 
      
 31 
     | 
    
         
            +
            <p>[urldef]: some.url ‘title”</p>
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
            <p>some <a href="with spaces.html" title="title">with spaces</a></p>
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
            <p>this <a href="occasion.html">is a  
     | 
| 
      
 35 
     | 
    
         
            +
            <p>this <a href="occasion.html">is a ‘special’ occasion for /all/ of us</a></p>
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
            <p>this is <a href="predefined.html">predefined</a> for <a href="uri.html" title="My URI">URI</a></p>
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <p>You can say <code class="language-ruby highlighter- 
     | 
| 
      
 1 
     | 
    
         
            +
            <p>You can say <code class="language-ruby highlighter-rouge"><span class="n">x</span> <span class="o">=</span> <span class="no">Class</span><span class="p">.</span><span class="nf">new</span></code>, for example.</p>
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <p>This  
     | 
| 
      
 1 
     | 
    
         
            +
            <p>This "is" 'the' A&O. © 2008 by me ŗ and λ</p>
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: kramdown
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version:  
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.0.0.beta1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Thomas Leitner
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2019-01-13 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: minitest
         
     | 
| 
         @@ -24,20 +24,6 @@ dependencies: 
     | 
|
| 
       24 
24 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       25 
25 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       26 
26 
     | 
    
         
             
                    version: '5.0'
         
     | 
| 
       27 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       28 
     | 
    
         
            -
              name: coderay
         
     | 
| 
       29 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       30 
     | 
    
         
            -
                requirements:
         
     | 
| 
       31 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       32 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       33 
     | 
    
         
            -
                    version: 1.0.0
         
     | 
| 
       34 
     | 
    
         
            -
              type: :development
         
     | 
| 
       35 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       36 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       37 
     | 
    
         
            -
                requirements:
         
     | 
| 
       38 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       39 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       40 
     | 
    
         
            -
                    version: 1.0.0
         
     | 
| 
       41 
27 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       42 
28 
     | 
    
         
             
              name: rouge
         
     | 
| 
       43 
29 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -66,104 +52,6 @@ dependencies: 
     | 
|
| 
       66 
52 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       67 
53 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       68 
54 
     | 
    
         
             
                    version: 1.5.1
         
     | 
| 
       69 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       70 
     | 
    
         
            -
              name: prawn
         
     | 
| 
       71 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       72 
     | 
    
         
            -
                requirements:
         
     | 
| 
       73 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       74 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       75 
     | 
    
         
            -
                    version: '2.0'
         
     | 
| 
       76 
     | 
    
         
            -
              type: :development
         
     | 
| 
       77 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       78 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       79 
     | 
    
         
            -
                requirements:
         
     | 
| 
       80 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       81 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       82 
     | 
    
         
            -
                    version: '2.0'
         
     | 
| 
       83 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       84 
     | 
    
         
            -
              name: prawn-table
         
     | 
| 
       85 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       86 
     | 
    
         
            -
                requirements:
         
     | 
| 
       87 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       88 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       89 
     | 
    
         
            -
                    version: 0.2.2
         
     | 
| 
       90 
     | 
    
         
            -
              type: :development
         
     | 
| 
       91 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       92 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       93 
     | 
    
         
            -
                requirements:
         
     | 
| 
       94 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       95 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       96 
     | 
    
         
            -
                    version: 0.2.2
         
     | 
| 
       97 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       98 
     | 
    
         
            -
              name: ritex
         
     | 
| 
       99 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       100 
     | 
    
         
            -
                requirements:
         
     | 
| 
       101 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       102 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       103 
     | 
    
         
            -
                    version: '1.0'
         
     | 
| 
       104 
     | 
    
         
            -
              type: :development
         
     | 
| 
       105 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       106 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       107 
     | 
    
         
            -
                requirements:
         
     | 
| 
       108 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       109 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       110 
     | 
    
         
            -
                    version: '1.0'
         
     | 
| 
       111 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       112 
     | 
    
         
            -
              name: itextomml
         
     | 
| 
       113 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       114 
     | 
    
         
            -
                requirements:
         
     | 
| 
       115 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       116 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       117 
     | 
    
         
            -
                    version: '1.5'
         
     | 
| 
       118 
     | 
    
         
            -
              type: :development
         
     | 
| 
       119 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       120 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       121 
     | 
    
         
            -
                requirements:
         
     | 
| 
       122 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       123 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       124 
     | 
    
         
            -
                    version: '1.5'
         
     | 
| 
       125 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       126 
     | 
    
         
            -
              name: execjs
         
     | 
| 
       127 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       128 
     | 
    
         
            -
                requirements:
         
     | 
| 
       129 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       130 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       131 
     | 
    
         
            -
                    version: '2.7'
         
     | 
| 
       132 
     | 
    
         
            -
              type: :development
         
     | 
| 
       133 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       134 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       135 
     | 
    
         
            -
                requirements:
         
     | 
| 
       136 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       137 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       138 
     | 
    
         
            -
                    version: '2.7'
         
     | 
| 
       139 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       140 
     | 
    
         
            -
              name: sskatex
         
     | 
| 
       141 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       142 
     | 
    
         
            -
                requirements:
         
     | 
| 
       143 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       144 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       145 
     | 
    
         
            -
                    version: 0.9.37
         
     | 
| 
       146 
     | 
    
         
            -
              type: :development
         
     | 
| 
       147 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       148 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       149 
     | 
    
         
            -
                requirements:
         
     | 
| 
       150 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       151 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       152 
     | 
    
         
            -
                    version: 0.9.37
         
     | 
| 
       153 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       154 
     | 
    
         
            -
              name: katex
         
     | 
| 
       155 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       156 
     | 
    
         
            -
                requirements:
         
     | 
| 
       157 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       158 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       159 
     | 
    
         
            -
                    version: 0.4.3
         
     | 
| 
       160 
     | 
    
         
            -
              type: :development
         
     | 
| 
       161 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       162 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       163 
     | 
    
         
            -
                requirements:
         
     | 
| 
       164 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       165 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       166 
     | 
    
         
            -
                    version: 0.4.3
         
     | 
| 
       167 
55 
     | 
    
         
             
            description: |
         
     | 
| 
       168 
56 
     | 
    
         
             
              kramdown is yet-another-markdown-parser but fast, pure Ruby,
         
     | 
| 
       169 
57 
     | 
    
         
             
              using a strict syntax definition and supporting several common extensions.
         
     | 
| 
         @@ -177,37 +65,10 @@ files: 
     | 
|
| 
       177 
65 
     | 
    
         
             
            - CONTRIBUTERS
         
     | 
| 
       178 
66 
     | 
    
         
             
            - COPYING
         
     | 
| 
       179 
67 
     | 
    
         
             
            - README.md
         
     | 
| 
       180 
     | 
    
         
            -
            - Rakefile
         
     | 
| 
       181 
68 
     | 
    
         
             
            - VERSION
         
     | 
| 
       182 
     | 
    
         
            -
            - benchmark/benchmark.rb
         
     | 
| 
       183 
     | 
    
         
            -
            - benchmark/benchmark.sh
         
     | 
| 
       184 
     | 
    
         
            -
            - benchmark/generate_data.rb
         
     | 
| 
       185 
     | 
    
         
            -
            - benchmark/mdbasics.text
         
     | 
| 
       186 
     | 
    
         
            -
            - benchmark/mdsyntax.text
         
     | 
| 
       187 
     | 
    
         
            -
            - benchmark/testing.sh
         
     | 
| 
       188 
     | 
    
         
            -
            - benchmark/timing.sh
         
     | 
| 
       189 
69 
     | 
    
         
             
            - bin/kramdown
         
     | 
| 
       190 
70 
     | 
    
         
             
            - data/kramdown/document.html
         
     | 
| 
       191 
71 
     | 
    
         
             
            - data/kramdown/document.latex
         
     | 
| 
       192 
     | 
    
         
            -
            - doc/_design.scss
         
     | 
| 
       193 
     | 
    
         
            -
            - doc/bg.png
         
     | 
| 
       194 
     | 
    
         
            -
            - doc/default.scss
         
     | 
| 
       195 
     | 
    
         
            -
            - doc/default.template
         
     | 
| 
       196 
     | 
    
         
            -
            - doc/documentation.page
         
     | 
| 
       197 
     | 
    
         
            -
            - doc/documentation.template
         
     | 
| 
       198 
     | 
    
         
            -
            - doc/index.page
         
     | 
| 
       199 
     | 
    
         
            -
            - doc/installation.page
         
     | 
| 
       200 
     | 
    
         
            -
            - doc/links.markdown
         
     | 
| 
       201 
     | 
    
         
            -
            - doc/metainfo
         
     | 
| 
       202 
     | 
    
         
            -
            - doc/news.feed
         
     | 
| 
       203 
     | 
    
         
            -
            - doc/news.page
         
     | 
| 
       204 
     | 
    
         
            -
            - doc/options.page
         
     | 
| 
       205 
     | 
    
         
            -
            - doc/quickref.page
         
     | 
| 
       206 
     | 
    
         
            -
            - doc/sidebar.template
         
     | 
| 
       207 
     | 
    
         
            -
            - doc/sitemap.sitemap
         
     | 
| 
       208 
     | 
    
         
            -
            - doc/syntax.page
         
     | 
| 
       209 
     | 
    
         
            -
            - doc/tests.page
         
     | 
| 
       210 
     | 
    
         
            -
            - doc/virtual
         
     | 
| 
       211 
72 
     | 
    
         
             
            - lib/kramdown.rb
         
     | 
| 
       212 
73 
     | 
    
         
             
            - lib/kramdown/converter.rb
         
     | 
| 
       213 
74 
     | 
    
         
             
            - lib/kramdown/converter/base.rb
         
     | 
| 
         @@ -216,16 +77,9 @@ files: 
     | 
|
| 
       216 
77 
     | 
    
         
             
            - lib/kramdown/converter/kramdown.rb
         
     | 
| 
       217 
78 
     | 
    
         
             
            - lib/kramdown/converter/latex.rb
         
     | 
| 
       218 
79 
     | 
    
         
             
            - lib/kramdown/converter/man.rb
         
     | 
| 
       219 
     | 
    
         
            -
            - lib/kramdown/converter/math_engine/itex2mml.rb
         
     | 
| 
       220 
     | 
    
         
            -
            - lib/kramdown/converter/math_engine/katex.rb
         
     | 
| 
       221 
80 
     | 
    
         
             
            - lib/kramdown/converter/math_engine/mathjax.rb
         
     | 
| 
       222 
     | 
    
         
            -
            - lib/kramdown/converter/math_engine/mathjaxnode.rb
         
     | 
| 
       223 
     | 
    
         
            -
            - lib/kramdown/converter/math_engine/ritex.rb
         
     | 
| 
       224 
     | 
    
         
            -
            - lib/kramdown/converter/math_engine/sskatex.rb
         
     | 
| 
       225 
     | 
    
         
            -
            - lib/kramdown/converter/pdf.rb
         
     | 
| 
       226 
81 
     | 
    
         
             
            - lib/kramdown/converter/remove_html_tags.rb
         
     | 
| 
       227 
82 
     | 
    
         
             
            - lib/kramdown/converter/syntax_highlighter.rb
         
     | 
| 
       228 
     | 
    
         
            -
            - lib/kramdown/converter/syntax_highlighter/coderay.rb
         
     | 
| 
       229 
83 
     | 
    
         
             
            - lib/kramdown/converter/syntax_highlighter/minted.rb
         
     | 
| 
       230 
84 
     | 
    
         
             
            - lib/kramdown/converter/syntax_highlighter/rouge.rb
         
     | 
| 
       231 
85 
     | 
    
         
             
            - lib/kramdown/converter/toc.rb
         
     | 
| 
         @@ -235,7 +89,6 @@ files: 
     | 
|
| 
       235 
89 
     | 
    
         
             
            - lib/kramdown/options.rb
         
     | 
| 
       236 
90 
     | 
    
         
             
            - lib/kramdown/parser.rb
         
     | 
| 
       237 
91 
     | 
    
         
             
            - lib/kramdown/parser/base.rb
         
     | 
| 
       238 
     | 
    
         
            -
            - lib/kramdown/parser/gfm.rb
         
     | 
| 
       239 
92 
     | 
    
         
             
            - lib/kramdown/parser/html.rb
         
     | 
| 
       240 
93 
     | 
    
         
             
            - lib/kramdown/parser/kramdown.rb
         
     | 
| 
       241 
94 
     | 
    
         
             
            - lib/kramdown/parser/kramdown/abbreviation.rb
         
     | 
| 
         @@ -268,12 +121,10 @@ files: 
     | 
|
| 
       268 
121 
     | 
    
         
             
            - lib/kramdown/utils/entities.rb
         
     | 
| 
       269 
122 
     | 
    
         
             
            - lib/kramdown/utils/html.rb
         
     | 
| 
       270 
123 
     | 
    
         
             
            - lib/kramdown/utils/lru_cache.rb
         
     | 
| 
       271 
     | 
    
         
            -
            - lib/kramdown/utils/ordered_hash.rb
         
     | 
| 
       272 
124 
     | 
    
         
             
            - lib/kramdown/utils/string_scanner.rb
         
     | 
| 
       273 
125 
     | 
    
         
             
            - lib/kramdown/utils/unidecoder.rb
         
     | 
| 
       274 
126 
     | 
    
         
             
            - lib/kramdown/version.rb
         
     | 
| 
       275 
127 
     | 
    
         
             
            - man/man1/kramdown.1
         
     | 
| 
       276 
     | 
    
         
            -
            - setup.rb
         
     | 
| 
       277 
128 
     | 
    
         
             
            - test/run_tests.rb
         
     | 
| 
       278 
129 
     | 
    
         
             
            - test/test_files.rb
         
     | 
| 
       279 
130 
     | 
    
         
             
            - test/test_location.rb
         
     | 
| 
         @@ -392,7 +243,6 @@ files: 
     | 
|
| 
       392 
243 
     | 
    
         
             
            - test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.options
         
     | 
| 
       393 
244 
     | 
    
         
             
            - test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.text
         
     | 
| 
       394 
245 
     | 
    
         
             
            - test/testcases/block/07_horizontal_rule/error.html
         
     | 
| 
       395 
     | 
    
         
            -
            - test/testcases/block/07_horizontal_rule/error.html.19
         
     | 
| 
       396 
246 
     | 
    
         
             
            - test/testcases/block/07_horizontal_rule/error.text
         
     | 
| 
       397 
247 
     | 
    
         
             
            - test/testcases/block/07_horizontal_rule/normal.html
         
     | 
| 
       398 
248 
     | 
    
         
             
            - test/testcases/block/07_horizontal_rule/normal.text
         
     | 
| 
         @@ -470,7 +320,6 @@ files: 
     | 
|
| 
       470 
320 
     | 
    
         
             
            - test/testcases/block/09_html/html_to_native/table_simple.html
         
     | 
| 
       471 
321 
     | 
    
         
             
            - test/testcases/block/09_html/html_to_native/table_simple.text
         
     | 
| 
       472 
322 
     | 
    
         
             
            - test/testcases/block/09_html/html_to_native/typography.html
         
     | 
| 
       473 
     | 
    
         
            -
            - test/testcases/block/09_html/html_to_native/typography.html.19
         
     | 
| 
       474 
323 
     | 
    
         
             
            - test/testcases/block/09_html/html_to_native/typography.text
         
     | 
| 
       475 
324 
     | 
    
         
             
            - test/testcases/block/09_html/invalid_html_1.html
         
     | 
| 
       476 
325 
     | 
    
         
             
            - test/testcases/block/09_html/invalid_html_1.text
         
     | 
| 
         @@ -494,7 +343,6 @@ files: 
     | 
|
| 
       494 
343 
     | 
    
         
             
            - test/testcases/block/09_html/processing_instruction.html
         
     | 
| 
       495 
344 
     | 
    
         
             
            - test/testcases/block/09_html/processing_instruction.text
         
     | 
| 
       496 
345 
     | 
    
         
             
            - test/testcases/block/09_html/simple.html
         
     | 
| 
       497 
     | 
    
         
            -
            - test/testcases/block/09_html/simple.html.19
         
     | 
| 
       498 
346 
     | 
    
         
             
            - test/testcases/block/09_html/simple.options
         
     | 
| 
       499 
347 
     | 
    
         
             
            - test/testcases/block/09_html/simple.text
         
     | 
| 
       500 
348 
     | 
    
         
             
            - test/testcases/block/09_html/textarea.html
         
     | 
| 
         @@ -568,12 +416,6 @@ files: 
     | 
|
| 
       568 
416 
     | 
    
         
             
            - test/testcases/block/14_table/table_with_footnote.text
         
     | 
| 
       569 
417 
     | 
    
         
             
            - test/testcases/block/15_math/gh_128.html
         
     | 
| 
       570 
418 
     | 
    
         
             
            - test/testcases/block/15_math/gh_128.text
         
     | 
| 
       571 
     | 
    
         
            -
            - test/testcases/block/15_math/itex2mml.html
         
     | 
| 
       572 
     | 
    
         
            -
            - test/testcases/block/15_math/itex2mml.options
         
     | 
| 
       573 
     | 
    
         
            -
            - test/testcases/block/15_math/itex2mml.text
         
     | 
| 
       574 
     | 
    
         
            -
            - test/testcases/block/15_math/katex.html.19
         
     | 
| 
       575 
     | 
    
         
            -
            - test/testcases/block/15_math/katex.options
         
     | 
| 
       576 
     | 
    
         
            -
            - test/testcases/block/15_math/katex.text
         
     | 
| 
       577 
419 
     | 
    
         
             
            - test/testcases/block/15_math/mathjax_preview.html
         
     | 
| 
       578 
420 
     | 
    
         
             
            - test/testcases/block/15_math/mathjax_preview.options
         
     | 
| 
       579 
421 
     | 
    
         
             
            - test/testcases/block/15_math/mathjax_preview.text
         
     | 
| 
         @@ -583,26 +425,11 @@ files: 
     | 
|
| 
       583 
425 
     | 
    
         
             
            - test/testcases/block/15_math/mathjax_preview_simple.html
         
     | 
| 
       584 
426 
     | 
    
         
             
            - test/testcases/block/15_math/mathjax_preview_simple.options
         
     | 
| 
       585 
427 
     | 
    
         
             
            - test/testcases/block/15_math/mathjax_preview_simple.text
         
     | 
| 
       586 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode.html.19
         
     | 
| 
       587 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode.options
         
     | 
| 
       588 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode.text
         
     | 
| 
       589 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode_notexhints.html.19
         
     | 
| 
       590 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode_notexhints.options
         
     | 
| 
       591 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode_notexhints.text
         
     | 
| 
       592 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode_semantics.html.19
         
     | 
| 
       593 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode_semantics.options
         
     | 
| 
       594 
     | 
    
         
            -
            - test/testcases/block/15_math/mathjaxnode_semantics.text
         
     | 
| 
       595 
428 
     | 
    
         
             
            - test/testcases/block/15_math/no_engine.html
         
     | 
| 
       596 
429 
     | 
    
         
             
            - test/testcases/block/15_math/no_engine.options
         
     | 
| 
       597 
430 
     | 
    
         
             
            - test/testcases/block/15_math/no_engine.text
         
     | 
| 
       598 
431 
     | 
    
         
             
            - test/testcases/block/15_math/normal.html
         
     | 
| 
       599 
432 
     | 
    
         
             
            - test/testcases/block/15_math/normal.text
         
     | 
| 
       600 
     | 
    
         
            -
            - test/testcases/block/15_math/ritex.html
         
     | 
| 
       601 
     | 
    
         
            -
            - test/testcases/block/15_math/ritex.options
         
     | 
| 
       602 
     | 
    
         
            -
            - test/testcases/block/15_math/ritex.text
         
     | 
| 
       603 
     | 
    
         
            -
            - test/testcases/block/15_math/sskatex.html.19
         
     | 
| 
       604 
     | 
    
         
            -
            - test/testcases/block/15_math/sskatex.options
         
     | 
| 
       605 
     | 
    
         
            -
            - test/testcases/block/15_math/sskatex.text
         
     | 
| 
       606 
433 
     | 
    
         
             
            - test/testcases/block/16_toc/no_toc.html
         
     | 
| 
       607 
434 
     | 
    
         
             
            - test/testcases/block/16_toc/no_toc.text
         
     | 
| 
       608 
435 
     | 
    
         
             
            - test/testcases/block/16_toc/toc_exclude.html
         
     | 
| 
         @@ -644,7 +471,6 @@ files: 
     | 
|
| 
       644 
471 
     | 
    
         
             
            - test/testcases/span/01_link/imagelinks.html
         
     | 
| 
       645 
472 
     | 
    
         
             
            - test/testcases/span/01_link/imagelinks.text
         
     | 
| 
       646 
473 
     | 
    
         
             
            - test/testcases/span/01_link/inline.html
         
     | 
| 
       647 
     | 
    
         
            -
            - test/testcases/span/01_link/inline.html.19
         
     | 
| 
       648 
474 
     | 
    
         
             
            - test/testcases/span/01_link/inline.text
         
     | 
| 
       649 
475 
     | 
    
         
             
            - test/testcases/span/01_link/latex_escaping.latex
         
     | 
| 
       650 
476 
     | 
    
         
             
            - test/testcases/span/01_link/latex_escaping.text
         
     | 
| 
         @@ -655,7 +481,6 @@ files: 
     | 
|
| 
       655 
481 
     | 
    
         
             
            - test/testcases/span/01_link/links_with_angle_brackets.html
         
     | 
| 
       656 
482 
     | 
    
         
             
            - test/testcases/span/01_link/links_with_angle_brackets.text
         
     | 
| 
       657 
483 
     | 
    
         
             
            - test/testcases/span/01_link/reference.html
         
     | 
| 
       658 
     | 
    
         
            -
            - test/testcases/span/01_link/reference.html.19
         
     | 
| 
       659 
484 
     | 
    
         
             
            - test/testcases/span/01_link/reference.options
         
     | 
| 
       660 
485 
     | 
    
         
             
            - test/testcases/span/01_link/reference.text
         
     | 
| 
       661 
486 
     | 
    
         
             
            - test/testcases/span/02_emphasis/empty.html
         
     | 
| 
         @@ -753,31 +578,15 @@ files: 
     | 
|
| 
       753 
578 
     | 
    
         
             
            - test/testcases/span/line_breaks/normal.html
         
     | 
| 
       754 
579 
     | 
    
         
             
            - test/testcases/span/line_breaks/normal.latex
         
     | 
| 
       755 
580 
     | 
    
         
             
            - test/testcases/span/line_breaks/normal.text
         
     | 
| 
       756 
     | 
    
         
            -
            - test/testcases/span/math/itex2mml.html
         
     | 
| 
       757 
     | 
    
         
            -
            - test/testcases/span/math/itex2mml.options
         
     | 
| 
       758 
     | 
    
         
            -
            - test/testcases/span/math/itex2mml.text
         
     | 
| 
       759 
     | 
    
         
            -
            - test/testcases/span/math/katex.html.19
         
     | 
| 
       760 
     | 
    
         
            -
            - test/testcases/span/math/katex.options
         
     | 
| 
       761 
     | 
    
         
            -
            - test/testcases/span/math/katex.text
         
     | 
| 
       762 
     | 
    
         
            -
            - test/testcases/span/math/mathjaxnode.html.19
         
     | 
| 
       763 
     | 
    
         
            -
            - test/testcases/span/math/mathjaxnode.options
         
     | 
| 
       764 
     | 
    
         
            -
            - test/testcases/span/math/mathjaxnode.text
         
     | 
| 
       765 
581 
     | 
    
         
             
            - test/testcases/span/math/no_engine.html
         
     | 
| 
       766 
582 
     | 
    
         
             
            - test/testcases/span/math/no_engine.options
         
     | 
| 
       767 
583 
     | 
    
         
             
            - test/testcases/span/math/no_engine.text
         
     | 
| 
       768 
584 
     | 
    
         
             
            - test/testcases/span/math/normal.html
         
     | 
| 
       769 
585 
     | 
    
         
             
            - test/testcases/span/math/normal.text
         
     | 
| 
       770 
     | 
    
         
            -
            - test/testcases/span/math/ritex.html
         
     | 
| 
       771 
     | 
    
         
            -
            - test/testcases/span/math/ritex.options
         
     | 
| 
       772 
     | 
    
         
            -
            - test/testcases/span/math/ritex.text
         
     | 
| 
       773 
     | 
    
         
            -
            - test/testcases/span/math/sskatex.html.19
         
     | 
| 
       774 
     | 
    
         
            -
            - test/testcases/span/math/sskatex.options
         
     | 
| 
       775 
     | 
    
         
            -
            - test/testcases/span/math/sskatex.text
         
     | 
| 
       776 
586 
     | 
    
         
             
            - test/testcases/span/text_substitutions/entities.html
         
     | 
| 
       777 
587 
     | 
    
         
             
            - test/testcases/span/text_substitutions/entities.options
         
     | 
| 
       778 
588 
     | 
    
         
             
            - test/testcases/span/text_substitutions/entities.text
         
     | 
| 
       779 
589 
     | 
    
         
             
            - test/testcases/span/text_substitutions/entities_as_char.html
         
     | 
| 
       780 
     | 
    
         
            -
            - test/testcases/span/text_substitutions/entities_as_char.html.19
         
     | 
| 
       781 
590 
     | 
    
         
             
            - test/testcases/span/text_substitutions/entities_as_char.options
         
     | 
| 
       782 
591 
     | 
    
         
             
            - test/testcases/span/text_substitutions/entities_as_char.text
         
     | 
| 
       783 
592 
     | 
    
         
             
            - test/testcases/span/text_substitutions/entities_as_input.html
         
     | 
| 
         @@ -800,44 +609,6 @@ files: 
     | 
|
| 
       800 
609 
     | 
    
         
             
            - test/testcases/span/text_substitutions/typography_subst.latex
         
     | 
| 
       801 
610 
     | 
    
         
             
            - test/testcases/span/text_substitutions/typography_subst.options
         
     | 
| 
       802 
611 
     | 
    
         
             
            - test/testcases/span/text_substitutions/typography_subst.text
         
     | 
| 
       803 
     | 
    
         
            -
            - test/testcases_gfm/atx_header.html
         
     | 
| 
       804 
     | 
    
         
            -
            - test/testcases_gfm/atx_header.text
         
     | 
| 
       805 
     | 
    
         
            -
            - test/testcases_gfm/backticks_disable_highlighting.html
         
     | 
| 
       806 
     | 
    
         
            -
            - test/testcases_gfm/backticks_disable_highlighting.options
         
     | 
| 
       807 
     | 
    
         
            -
            - test/testcases_gfm/backticks_disable_highlighting.text
         
     | 
| 
       808 
     | 
    
         
            -
            - test/testcases_gfm/backticks_syntax.html
         
     | 
| 
       809 
     | 
    
         
            -
            - test/testcases_gfm/backticks_syntax.text
         
     | 
| 
       810 
     | 
    
         
            -
            - test/testcases_gfm/codeblock_fenced.html
         
     | 
| 
       811 
     | 
    
         
            -
            - test/testcases_gfm/codeblock_fenced.options
         
     | 
| 
       812 
     | 
    
         
            -
            - test/testcases_gfm/codeblock_fenced.text
         
     | 
| 
       813 
     | 
    
         
            -
            - test/testcases_gfm/hard_line_breaks.html
         
     | 
| 
       814 
     | 
    
         
            -
            - test/testcases_gfm/hard_line_breaks.text
         
     | 
| 
       815 
     | 
    
         
            -
            - test/testcases_gfm/hard_line_breaks_off.html
         
     | 
| 
       816 
     | 
    
         
            -
            - test/testcases_gfm/hard_line_breaks_off.options
         
     | 
| 
       817 
     | 
    
         
            -
            - test/testcases_gfm/hard_line_breaks_off.text
         
     | 
| 
       818 
     | 
    
         
            -
            - test/testcases_gfm/header_ids.html
         
     | 
| 
       819 
     | 
    
         
            -
            - test/testcases_gfm/header_ids.html.19
         
     | 
| 
       820 
     | 
    
         
            -
            - test/testcases_gfm/header_ids.options
         
     | 
| 
       821 
     | 
    
         
            -
            - test/testcases_gfm/header_ids.text
         
     | 
| 
       822 
     | 
    
         
            -
            - test/testcases_gfm/header_ids_with_prefix.html
         
     | 
| 
       823 
     | 
    
         
            -
            - test/testcases_gfm/header_ids_with_prefix.options
         
     | 
| 
       824 
     | 
    
         
            -
            - test/testcases_gfm/header_ids_with_prefix.text
         
     | 
| 
       825 
     | 
    
         
            -
            - test/testcases_gfm/no_typographic.html
         
     | 
| 
       826 
     | 
    
         
            -
            - test/testcases_gfm/no_typographic.html.19
         
     | 
| 
       827 
     | 
    
         
            -
            - test/testcases_gfm/no_typographic.options
         
     | 
| 
       828 
     | 
    
         
            -
            - test/testcases_gfm/no_typographic.text
         
     | 
| 
       829 
     | 
    
         
            -
            - test/testcases_gfm/paragraph_end-disabled.html
         
     | 
| 
       830 
     | 
    
         
            -
            - test/testcases_gfm/paragraph_end-disabled.options
         
     | 
| 
       831 
     | 
    
         
            -
            - test/testcases_gfm/paragraph_end-disabled.text
         
     | 
| 
       832 
     | 
    
         
            -
            - test/testcases_gfm/paragraph_end.html
         
     | 
| 
       833 
     | 
    
         
            -
            - test/testcases_gfm/paragraph_end.text
         
     | 
| 
       834 
     | 
    
         
            -
            - test/testcases_gfm/strikethrough.html
         
     | 
| 
       835 
     | 
    
         
            -
            - test/testcases_gfm/strikethrough.html.19
         
     | 
| 
       836 
     | 
    
         
            -
            - test/testcases_gfm/strikethrough.text
         
     | 
| 
       837 
     | 
    
         
            -
            - test/testcases_gfm/task_list.html
         
     | 
| 
       838 
     | 
    
         
            -
            - test/testcases_gfm/task_list.text
         
     | 
| 
       839 
     | 
    
         
            -
            - test/testcases_gfm/two_para_hard_line_breaks.html
         
     | 
| 
       840 
     | 
    
         
            -
            - test/testcases_gfm/two_para_hard_line_breaks.text
         
     | 
| 
       841 
612 
     | 
    
         
             
            homepage: http://kramdown.gettalong.org
         
     | 
| 
       842 
613 
     | 
    
         
             
            licenses:
         
     | 
| 
       843 
614 
     | 
    
         
             
            - MIT
         
     | 
| 
         @@ -852,12 +623,12 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       852 
623 
     | 
    
         
             
              requirements:
         
     | 
| 
       853 
624 
     | 
    
         
             
              - - ">="
         
     | 
| 
       854 
625 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       855 
     | 
    
         
            -
                  version: '2. 
     | 
| 
      
 626 
     | 
    
         
            +
                  version: '2.3'
         
     | 
| 
       856 
627 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       857 
628 
     | 
    
         
             
              requirements:
         
     | 
| 
       858 
     | 
    
         
            -
              - - " 
     | 
| 
      
 629 
     | 
    
         
            +
              - - ">"
         
     | 
| 
       859 
630 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       860 
     | 
    
         
            -
                  version:  
     | 
| 
      
 631 
     | 
    
         
            +
                  version: 1.3.1
         
     | 
| 
       861 
632 
     | 
    
         
             
            requirements: []
         
     | 
| 
       862 
633 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       863 
634 
     | 
    
         
             
            rubygems_version: 2.7.3
         
     |