tsumanne 0.0.3 → 0.0.4

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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +8 -0
  3. data/.mdlrc +6 -0
  4. data/.rubocop.yml +20 -12
  5. data/Dockerfile +24 -0
  6. data/README.md +0 -4
  7. data/Rakefile +19 -16
  8. data/exe/tsumanne +2 -1
  9. data/lib/tsumanne/api.rb +22 -21
  10. data/lib/tsumanne/cli.rb +153 -2
  11. data/lib/tsumanne/models/get_threads.rb +8 -3
  12. data/lib/tsumanne/models/register_thread.rb +5 -1
  13. data/lib/tsumanne/models/search_indexes.rb +7 -2
  14. data/lib/tsumanne/models/search_thread_from_uri.rb +14 -2
  15. data/lib/tsumanne/version.rb +1 -1
  16. data/mise.toml +42 -0
  17. data/sorbet/rbi/gems/.gitattributes +1 -0
  18. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
  19. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
  20. data/sorbet/rbi/gems/{chef-utils@18.2.7.rbi → chef-utils@18.8.54.rbi} +1 -0
  21. data/sorbet/rbi/gems/{concurrent-ruby@1.2.2.rbi → concurrent-ruby@1.3.5.rbi} +1 -0
  22. data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +183 -199
  23. data/sorbet/rbi/gems/docile@1.4.0.rbi +147 -147
  24. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +36 -26
  25. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.19.4.rbi} +920 -251
  26. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +32 -63
  27. data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +896 -711
  28. data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
  29. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
  30. data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
  31. data/sorbet/rbi/gems/{mdl@0.12.0.rbi → mdl@0.15.0.rbi} +109 -113
  32. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +35 -41
  33. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +147 -142
  34. data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.3.9.rbi} +127 -150
  35. data/sorbet/rbi/gems/netrc@0.11.0.rbi +45 -56
  36. data/sorbet/rbi/gems/optimist@3.2.1.rbi +895 -0
  37. data/sorbet/rbi/gems/parallel@1.28.0.rbi +270 -0
  38. data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
  39. data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
  40. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +48 -44
  41. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +101 -141
  42. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +867 -761
  43. data/sorbet/rbi/gems/rbi@0.3.10.rbi +5520 -0
  44. data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
  45. data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
  46. data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
  47. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.4.rbi} +1032 -908
  48. data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.6.rbi} +2860 -4206
  49. data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
  50. data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.7.rbi} +1264 -1787
  51. data/sorbet/rbi/gems/rspec-support@3.13.6.rbi +1274 -0
  52. data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
  53. data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7212 -0
  54. data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
  55. data/sorbet/rbi/gems/{rubocop-rake@0.6.0.rbi → rubocop-rake@0.7.1.rbi} +89 -103
  56. data/sorbet/rbi/gems/rubocop-rspec@3.9.0.rbi +7606 -0
  57. data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
  58. data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62232 -0
  59. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +326 -655
  60. data/sorbet/rbi/gems/rubydex@0.1.0.beta14.rbi +655 -0
  61. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +24 -158
  62. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +450 -606
  63. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +32 -166
  64. data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
  65. data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.19.1.rbi} +1609 -1379
  66. data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.5.0.rbi} +1075 -1170
  67. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +1 -0
  68. data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
  69. data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
  70. data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
  71. metadata +65 -62
  72. data/.ruby-version +0 -1
  73. data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
  74. data/sorbet/rbi/gems/ffi-compiler@1.0.1.rbi +0 -206
  75. data/sorbet/rbi/gems/ffi@1.15.5.rbi +0 -1994
  76. data/sorbet/rbi/gems/http-parser@1.2.3.rbi +0 -422
  77. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  78. data/sorbet/rbi/gems/mhtml@0.1.6.rbi +0 -353
  79. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
  80. data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
  81. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  82. data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2967
  83. data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
  84. data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
  85. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +0 -1609
  86. data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
  87. data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -7144
  88. data/sorbet/rbi/gems/rubocop-capybara@2.18.0.rbi +0 -827
  89. data/sorbet/rbi/gems/rubocop-factory_bot@2.23.1.rbi +0 -812
  90. data/sorbet/rbi/gems/rubocop-performance@1.19.0.rbi +0 -3157
  91. data/sorbet/rbi/gems/rubocop-rspec@2.23.2.rbi +0 -7691
  92. data/sorbet/rbi/gems/rubocop-sorbet@0.7.3.rbi +0 -1226
  93. data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56541
  94. data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3199
  95. data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
  96. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
  97. data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
  98. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -425
  99. data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
@@ -4,12 +4,277 @@
4
4
  # This is an autogenerated file for types exported from the `kramdown` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem kramdown`.
6
6
 
7
- # source://kramdown//lib/kramdown/version.rb#10
7
+
8
+ # --
9
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
10
+ #
11
+ # This file is part of kramdown which is licensed under the MIT.
12
+ # ++
13
+ #
14
+ #
15
+ # --
16
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
17
+ #
18
+ # This file is part of kramdown which is licensed under the MIT.
19
+ # ++
20
+ #
21
+ #
22
+ # --
23
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
24
+ #
25
+ # This file is part of kramdown which is licensed under the MIT.
26
+ # ++
27
+ #
28
+ #
29
+ # --
30
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
31
+ #
32
+ # This file is part of kramdown which is licensed under the MIT.
33
+ # ++
34
+ #
35
+ # TODO: use [[:alpha:]] in all regexp to allow parsing of international values in 1.9.1
36
+ # NOTE: use @src.pre_match only before other check/match?/... operations, otherwise the content is changed
37
+ #
38
+ # --
39
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
40
+ #
41
+ # This file is part of kramdown which is licensed under the MIT.
42
+ # ++
43
+ #
44
+ #
45
+ # --
46
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
47
+ #
48
+ # This file is part of kramdown which is licensed under the MIT.
49
+ # ++
50
+ #
51
+ #
52
+ # --
53
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
54
+ #
55
+ # This file is part of kramdown which is licensed under the MIT.
56
+ # ++
57
+ #
58
+ #
59
+ # --
60
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
61
+ #
62
+ # This file is part of kramdown which is licensed under the MIT.
63
+ # ++
64
+ #
65
+ #
66
+ # --
67
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
68
+ #
69
+ # This file is part of kramdown which is licensed under the MIT.
70
+ # ++
71
+ #
72
+ #
73
+ # --
74
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
75
+ #
76
+ # This file is part of kramdown which is licensed under the MIT.
77
+ # ++
78
+ #
79
+ #
80
+ # --
81
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
82
+ #
83
+ # This file is part of kramdown which is licensed under the MIT.
84
+ # ++
85
+ #
86
+ #
87
+ # --
88
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
89
+ #
90
+ # This file is part of kramdown which is licensed under the MIT.
91
+ # ++
92
+ #
93
+ #
94
+ # --
95
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
96
+ #
97
+ # This file is part of kramdown which is licensed under the MIT.
98
+ # ++
99
+ #
100
+ #
101
+ # --
102
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
103
+ #
104
+ # This file is part of kramdown which is licensed under the MIT.
105
+ # ++
106
+ #
107
+ #
108
+ # --
109
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
110
+ #
111
+ # This file is part of kramdown which is licensed under the MIT.
112
+ # ++
113
+ #
114
+ # --
115
+ # Parts of this file are based on code from RubyPants:
116
+ #
117
+ # = RubyPants -- SmartyPants ported to Ruby
118
+ #
119
+ # Ported by Christian Neukirchen <mailto:chneukirchen@gmail.com>
120
+ # Copyright (C) 2004 Christian Neukirchen
121
+ #
122
+ # Incooporates ideas, comments and documentation by Chad Miller
123
+ # Copyright (C) 2004 Chad Miller
124
+ #
125
+ # Original SmartyPants by John Gruber
126
+ # Copyright (C) 2003 John Gruber
127
+ #
128
+ #
129
+ # = RubyPants -- SmartyPants ported to Ruby
130
+ #
131
+ #
132
+ # [snip]
133
+ #
134
+ # == Authors
135
+ #
136
+ # John Gruber did all of the hard work of writing this software in
137
+ # Perl for Movable Type and almost all of this useful documentation.
138
+ # Chad Miller ported it to Python to use with Pyblosxom.
139
+ #
140
+ # Christian Neukirchen provided the Ruby port, as a general-purpose
141
+ # library that follows the *Cloth API.
142
+ #
143
+ #
144
+ # == Copyright and License
145
+ #
146
+ # === SmartyPants license:
147
+ #
148
+ # Copyright (c) 2003 John Gruber
149
+ # (http://daringfireball.net)
150
+ # All rights reserved.
151
+ #
152
+ # Redistribution and use in source and binary forms, with or without
153
+ # modification, are permitted provided that the following conditions
154
+ # are met:
155
+ #
156
+ # * Redistributions of source code must retain the above copyright
157
+ # notice, this list of conditions and the following disclaimer.
158
+ #
159
+ # * Redistributions in binary form must reproduce the above copyright
160
+ # notice, this list of conditions and the following disclaimer in
161
+ # the documentation and/or other materials provided with the
162
+ # distribution.
163
+ #
164
+ # * Neither the name "SmartyPants" nor the names of its contributors
165
+ # may be used to endorse or promote products derived from this
166
+ # software without specific prior written permission.
167
+ #
168
+ # This software is provided by the copyright holders and contributors
169
+ # "as is" and any express or implied warranties, including, but not
170
+ # limited to, the implied warranties of merchantability and fitness
171
+ # for a particular purpose are disclaimed. In no event shall the
172
+ # copyright owner or contributors be liable for any direct, indirect,
173
+ # incidental, special, exemplary, or consequential damages (including,
174
+ # but not limited to, procurement of substitute goods or services;
175
+ # loss of use, data, or profits; or business interruption) however
176
+ # caused and on any theory of liability, whether in contract, strict
177
+ # liability, or tort (including negligence or otherwise) arising in
178
+ # any way out of the use of this software, even if advised of the
179
+ # possibility of such damage.
180
+ #
181
+ # === RubyPants license
182
+ #
183
+ # RubyPants is a derivative work of SmartyPants and smartypants.py.
184
+ #
185
+ # Redistribution and use in source and binary forms, with or without
186
+ # modification, are permitted provided that the following conditions
187
+ # are met:
188
+ #
189
+ # * Redistributions of source code must retain the above copyright
190
+ # notice, this list of conditions and the following disclaimer.
191
+ #
192
+ # * Redistributions in binary form must reproduce the above copyright
193
+ # notice, this list of conditions and the following disclaimer in
194
+ # the documentation and/or other materials provided with the
195
+ # distribution.
196
+ #
197
+ # This software is provided by the copyright holders and contributors
198
+ # "as is" and any express or implied warranties, including, but not
199
+ # limited to, the implied warranties of merchantability and fitness
200
+ # for a particular purpose are disclaimed. In no event shall the
201
+ # copyright owner or contributors be liable for any direct, indirect,
202
+ # incidental, special, exemplary, or consequential damages (including,
203
+ # but not limited to, procurement of substitute goods or services;
204
+ # loss of use, data, or profits; or business interruption) however
205
+ # caused and on any theory of liability, whether in contract, strict
206
+ # liability, or tort (including negligence or otherwise) arising in
207
+ # any way out of the use of this software, even if advised of the
208
+ # possibility of such damage.
209
+ #
210
+ # == Links
211
+ #
212
+ # John Gruber:: http://daringfireball.net
213
+ # SmartyPants:: http://daringfireball.net/projects/smartypants
214
+ #
215
+ # Chad Miller:: http://web.chad.org
216
+ #
217
+ # Christian Neukirchen:: http://kronavita.de/chris
218
+ #
219
+ # ++
220
+ #
221
+ #
222
+ # --
223
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
224
+ #
225
+ # This file is part of kramdown which is licensed under the MIT.
226
+ # ++
227
+ #
228
+ #
229
+ # --
230
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
231
+ #
232
+ # This file is part of kramdown which is licensed under the MIT.
233
+ # ++
234
+ #
235
+ #
236
+ # --
237
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
238
+ #
239
+ # This file is part of kramdown which is licensed under the MIT.
240
+ # ++
241
+ #
242
+ #
243
+ # --
244
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
245
+ #
246
+ # This file is part of kramdown which is licensed under the MIT.
247
+ # ++
248
+ #
249
+ #
250
+ # --
251
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
252
+ #
253
+ # This file is part of kramdown which is licensed under the MIT.
254
+ # ++
255
+ #
256
+ #
257
+ # --
258
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
259
+ #
260
+ # This file is part of kramdown which is licensed under the MIT.
261
+ # ++
262
+ #
263
+ # This file is based on code originally from the Stringex library and needs the data files from
264
+ # Stringex to work correctly.
265
+ #
266
+ # --
267
+ # Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
268
+ #
269
+ # This file is part of kramdown which is licensed under the MIT.
270
+ # ++
271
+ #
272
+ # pkg:gem/kramdown#lib/kramdown/version.rb:10
8
273
  module Kramdown
9
274
  class << self
10
275
  # Return the data directory for kramdown.
11
276
  #
12
- # source://kramdown//lib/kramdown/document.rb#49
277
+ # pkg:gem/kramdown#lib/kramdown/document.rb:49
13
278
  def data_dir; end
14
279
  end
15
280
  end
@@ -21,24 +286,24 @@ end
21
286
  # Converters use the Base class for common functionality (like applying a template to the output)
22
287
  # \- see its API documentation for how to create a custom converter class.
23
288
  #
24
- # source://kramdown//lib/kramdown/converter.rb#20
289
+ # pkg:gem/kramdown#lib/kramdown/converter.rb:20
25
290
  module Kramdown::Converter
26
291
  extend ::Kramdown::Utils::Configurable
27
292
 
28
293
  class << self
29
- # source://kramdown//lib/kramdown/utils/configurable.rb#37
294
+ # pkg:gem/kramdown#lib/kramdown/converter.rb:50
30
295
  def add_math_engine(data, *args, &block); end
31
296
 
32
- # source://kramdown//lib/kramdown/utils/configurable.rb#37
297
+ # pkg:gem/kramdown#lib/kramdown/converter.rb:34
33
298
  def add_syntax_highlighter(data, *args, &block); end
34
299
 
35
- # source://kramdown//lib/kramdown/utils/configurable.rb#30
300
+ # pkg:gem/kramdown#lib/kramdown/converter.rb:34
36
301
  def configurables; end
37
302
 
38
- # source://kramdown//lib/kramdown/utils/configurable.rb#34
303
+ # pkg:gem/kramdown#lib/kramdown/converter.rb:50
39
304
  def math_engine(data); end
40
305
 
41
- # source://kramdown//lib/kramdown/utils/configurable.rb#34
306
+ # pkg:gem/kramdown#lib/kramdown/converter.rb:34
42
307
  def syntax_highlighter(data); end
43
308
  end
44
309
  end
@@ -66,69 +331,61 @@ end
66
331
  #
67
332
  # Have a look at the Base::convert method for additional information!
68
333
  #
69
- # source://kramdown//lib/kramdown/converter/base.rb#40
334
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:40
70
335
  class Kramdown::Converter::Base
71
336
  # Initialize the converter with the given +root+ element and +options+ hash.
72
337
  #
73
- # @return [Base] a new instance of Base
74
- #
75
- # source://kramdown//lib/kramdown/converter/base.rb#55
338
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:55
76
339
  def initialize(root, options); end
77
340
 
78
341
  # Returns whether the template should be applied after the conversion of the tree.
79
342
  #
80
343
  # Defaults to true.
81
344
  #
82
- # @return [Boolean]
83
- #
84
- # source://kramdown//lib/kramdown/converter/base.rb#73
345
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:73
85
346
  def apply_template_after?; end
86
347
 
87
348
  # Returns whether the template should be applied before the conversion of the tree.
88
349
  #
89
350
  # Defaults to false.
90
351
  #
91
- # @return [Boolean]
92
- #
93
- # source://kramdown//lib/kramdown/converter/base.rb#66
352
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:66
94
353
  def apply_template_before?; end
95
354
 
96
355
  # The basic version of the ID generator, without any special provisions for empty or unique
97
356
  # IDs.
98
357
  #
99
- # source://kramdown//lib/kramdown/converter/base.rb#237
358
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:237
100
359
  def basic_generate_id(str); end
101
360
 
102
361
  # Convert the element +el+ and return the resulting object.
103
362
  #
104
363
  # This is the only method that has to be implemented by sub-classes!
105
364
  #
106
- # @raise [NotImplementedError]
107
- #
108
- # source://kramdown//lib/kramdown/converter/base.rb#122
365
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:122
109
366
  def convert(_el); end
110
367
 
111
368
  # Can be used by a converter for storing arbitrary information during the conversion process.
112
369
  #
113
- # source://kramdown//lib/kramdown/converter/base.rb#43
370
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:43
114
371
  def data; end
115
372
 
116
373
  # Extract the code block/span language from the attributes.
117
374
  #
118
- # source://kramdown//lib/kramdown/converter/base.rb#174
375
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:174
119
376
  def extract_code_language(attr); end
120
377
 
121
378
  # See #extract_code_language
122
379
  #
123
380
  # *Warning*: This version will modify the given attributes if a language is present.
124
381
  #
125
- # source://kramdown//lib/kramdown/converter/base.rb#183
382
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:183
126
383
  def extract_code_language!(attr); end
127
384
 
128
385
  # Format the given math element with the math engine configured through the option
129
386
  # 'math_engine'.
130
387
  #
131
- # source://kramdown//lib/kramdown/converter/base.rb#206
388
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:206
132
389
  def format_math(el, opts = T.unsafe(nil)); end
133
390
 
134
391
  # Generate an unique alpha-numeric ID from the the string +str+ for use as a header ID.
@@ -136,53 +393,51 @@ class Kramdown::Converter::Base
136
393
  # Uses the option +auto_id_prefix+: the value of this option is prepended to every generated
137
394
  # ID.
138
395
  #
139
- # source://kramdown//lib/kramdown/converter/base.rb#222
396
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:222
140
397
  def generate_id(str); end
141
398
 
142
399
  # Highlight the given +text+ in the language +lang+ with the syntax highlighter configured
143
400
  # through the option 'syntax_highlighter'.
144
401
  #
145
- # source://kramdown//lib/kramdown/converter/base.rb#192
402
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:192
146
403
  def highlight_code(text, lang, type, opts = T.unsafe(nil)); end
147
404
 
148
405
  # Return +true+ if the header element +el+ should be used for the table of contents (as
149
406
  # specified by the +toc_levels+ option).
150
407
  #
151
- # @return [Boolean]
152
- #
153
- # source://kramdown//lib/kramdown/converter/base.rb#162
408
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:162
154
409
  def in_toc?(el); end
155
410
 
156
411
  # The hash with the conversion options.
157
412
  #
158
- # source://kramdown//lib/kramdown/converter/base.rb#46
413
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:46
159
414
  def options; end
160
415
 
161
416
  # Return the output header level given a level.
162
417
  #
163
418
  # Uses the +header_offset+ option for adjusting the header level.
164
419
  #
165
- # source://kramdown//lib/kramdown/converter/base.rb#169
420
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:169
166
421
  def output_header_level(level); end
167
422
 
168
423
  # The root element that is converted.
169
424
  #
170
- # source://kramdown//lib/kramdown/converter/base.rb#49
425
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:49
171
426
  def root; end
172
427
 
173
428
  # Return the entity that represents the given smart_quote element.
174
429
  #
175
- # source://kramdown//lib/kramdown/converter/base.rb#248
430
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:248
176
431
  def smart_quote_entity(el); end
177
432
 
178
433
  # Add the given warning +text+ to the warning array.
179
434
  #
180
- # source://kramdown//lib/kramdown/converter/base.rb#156
435
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:156
181
436
  def warning(text); end
182
437
 
183
438
  # The warnings array.
184
439
  #
185
- # source://kramdown//lib/kramdown/converter/base.rb#52
440
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:52
186
441
  def warnings; end
187
442
 
188
443
  class << self
@@ -191,7 +446,7 @@ class Kramdown::Converter::Base
191
446
  # The template is evaluated using ERB and the body is available in the @body instance variable
192
447
  # and the converter object in the @converter instance variable.
193
448
  #
194
- # source://kramdown//lib/kramdown/converter/base.rb#130
449
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:130
195
450
  def apply_template(converter, body); end
196
451
 
197
452
  # Convert the element tree +tree+ and return the resulting conversion object (normally a
@@ -219,33 +474,36 @@ class Kramdown::Converter::Base
219
474
  # 4. Check if the template name starts with 'string://' and if so, strip this prefix away and
220
475
  # use the rest as template.
221
476
  #
222
- # source://kramdown//lib/kramdown/converter/base.rb#101
477
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:101
223
478
  def convert(tree, options = T.unsafe(nil)); end
224
479
 
225
480
  # Return the template specified by +template+.
226
481
  #
227
- # source://kramdown//lib/kramdown/converter/base.rb#139
482
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:139
228
483
  def get_template(template); end
229
484
 
230
485
  private
231
486
 
487
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:61
232
488
  def allocate; end
489
+
490
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:61
233
491
  def new(*_arg0); end
234
492
  end
235
493
  end
236
494
 
237
- # source://kramdown//lib/kramdown/converter/base.rb#245
495
+ # pkg:gem/kramdown#lib/kramdown/converter/base.rb:245
238
496
  Kramdown::Converter::Base::SMART_QUOTE_INDICES = T.let(T.unsafe(nil), Hash)
239
497
 
240
498
  # Converts a Kramdown::Document to a nested hash for further processing or debug output.
241
499
  #
242
- # source://kramdown//lib/kramdown/converter/hash_ast.rb#19
500
+ # pkg:gem/kramdown#lib/kramdown/converter/hash_ast.rb:19
243
501
  class Kramdown::Converter::HashAST < ::Kramdown::Converter::Base
244
- # source://kramdown//lib/kramdown/converter/hash_ast.rb#21
502
+ # pkg:gem/kramdown#lib/kramdown/converter/hash_ast.rb:21
245
503
  def convert(el); end
246
504
  end
247
505
 
248
- # source://kramdown//lib/kramdown/converter/hash_ast.rb#35
506
+ # pkg:gem/kramdown#lib/kramdown/converter/hash_ast.rb:35
249
507
  Kramdown::Converter::HashAst = Kramdown::Converter::HashAST
250
508
 
251
509
  # Converts a Kramdown::Document to HTML.
@@ -261,186 +519,184 @@ Kramdown::Converter::HashAst = Kramdown::Converter::HashAST
261
519
  # The return value of such a method has to be a string containing the element +el+ formatted as
262
520
  # HTML element.
263
521
  #
264
- # source://kramdown//lib/kramdown/converter/html.rb#30
522
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:30
265
523
  class Kramdown::Converter::Html < ::Kramdown::Converter::Base
266
524
  include ::Kramdown::Utils::Html
267
525
  include ::Kramdown::Parser::Html::Constants
268
526
 
269
527
  # Initialize the HTML converter with the given Kramdown document +doc+.
270
528
  #
271
- # @return [Html] a new instance of Html
272
- #
273
- # source://kramdown//lib/kramdown/converter/html.rb#39
529
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:39
274
530
  def initialize(root, options); end
275
531
 
276
532
  # Add the syntax highlighter name to the 'class' attribute of the given attribute hash. And
277
533
  # overwrites or add a "language-LANG" part using the +lang+ parameter if +lang+ is not nil.
278
534
  #
279
- # source://kramdown//lib/kramdown/converter/html.rb#409
535
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:417
280
536
  def add_syntax_highlighter_to_class_attr(attr, lang = T.unsafe(nil)); end
281
537
 
282
538
  # Dispatch the conversion of the element +el+ to a +convert_TYPE+ method using the +type+ of
283
539
  # the element.
284
540
  #
285
- # source://kramdown//lib/kramdown/converter/html.rb#57
541
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:57
286
542
  def convert(el, indent = T.unsafe(nil)); end
287
543
 
288
- # source://kramdown//lib/kramdown/converter/html.rb#272
544
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:283
289
545
  def convert_a(el, indent); end
290
546
 
291
- # source://kramdown//lib/kramdown/converter/html.rb#365
547
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:377
292
548
  def convert_abbreviation(el, _indent); end
293
549
 
294
- # source://kramdown//lib/kramdown/converter/html.rb#77
550
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:77
295
551
  def convert_blank(_el, _indent); end
296
552
 
297
- # source://kramdown//lib/kramdown/converter/html.rb#141
553
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:145
298
554
  def convert_blockquote(el, indent); end
299
555
 
300
- # source://kramdown//lib/kramdown/converter/html.rb#268
556
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:279
301
557
  def convert_br(_el, _indent); end
302
558
 
303
- # source://kramdown//lib/kramdown/converter/html.rb#111
559
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:115
304
560
  def convert_codeblock(el, indent); end
305
561
 
306
- # source://kramdown//lib/kramdown/converter/html.rb#280
562
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:291
307
563
  def convert_codespan(el, _indent); end
308
564
 
309
- # source://kramdown//lib/kramdown/converter/html.rb#260
565
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:271
310
566
  def convert_comment(el, indent); end
311
567
 
312
- # source://kramdown//lib/kramdown/converter/html.rb#178
568
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:199
313
569
  def convert_dd(el, indent); end
314
570
 
315
- # source://kramdown//lib/kramdown/converter/html.rb#174
571
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:185
316
572
  def convert_dl(el, indent); end
317
573
 
318
- # source://kramdown//lib/kramdown/converter/html.rb#190
574
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:201
319
575
  def convert_dt(el, indent); end
320
576
 
321
- # source://kramdown//lib/kramdown/converter/html.rb#319
577
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:331
322
578
  def convert_em(el, indent); end
323
579
 
324
- # source://kramdown//lib/kramdown/converter/html.rb#324
580
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:336
325
581
  def convert_entity(el, _indent); end
326
582
 
327
- # source://kramdown//lib/kramdown/converter/html.rb#294
583
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:305
328
584
  def convert_footnote(el, _indent); end
329
585
 
330
- # source://kramdown//lib/kramdown/converter/html.rb#145
586
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:149
331
587
  def convert_header(el, indent); end
332
588
 
333
- # source://kramdown//lib/kramdown/converter/html.rb#155
589
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:166
334
590
  def convert_hr(el, indent); end
335
591
 
336
- # source://kramdown//lib/kramdown/converter/html.rb#201
592
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:212
337
593
  def convert_html_element(el, indent); end
338
594
 
339
- # source://kramdown//lib/kramdown/converter/html.rb#276
595
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:287
340
596
  def convert_img(el, _indent); end
341
597
 
342
- # source://kramdown//lib/kramdown/converter/html.rb#178
598
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:189
343
599
  def convert_li(el, indent); end
344
600
 
345
- # source://kramdown//lib/kramdown/converter/html.rb#351
601
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:363
346
602
  def convert_math(el, indent); end
347
603
 
348
- # source://kramdown//lib/kramdown/converter/html.rb#162
604
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:183
349
605
  def convert_ol(el, indent); end
350
606
 
351
- # source://kramdown//lib/kramdown/converter/html.rb#86
607
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:86
352
608
  def convert_p(el, indent); end
353
609
 
354
- # source://kramdown//lib/kramdown/converter/html.rb#311
610
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:323
355
611
  def convert_raw(el, _indent); end
356
612
 
357
- # source://kramdown//lib/kramdown/converter/html.rb#372
613
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:384
358
614
  def convert_root(el, indent); end
359
615
 
360
- # source://kramdown//lib/kramdown/converter/html.rb#347
616
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:359
361
617
  def convert_smart_quote(el, _indent); end
362
618
 
363
619
  # Helper method used by +convert_p+ to convert a paragraph that only contains a single :img
364
620
  # element.
365
621
  #
366
- # source://kramdown//lib/kramdown/converter/html.rb#99
622
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:99
367
623
  def convert_standalone_image(el, indent); end
368
624
 
369
- # source://kramdown//lib/kramdown/converter/html.rb#319
625
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:334
370
626
  def convert_strong(el, indent); end
371
627
 
372
- # source://kramdown//lib/kramdown/converter/html.rb#238
628
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:249
373
629
  def convert_table(el, indent); end
374
630
 
375
- # source://kramdown//lib/kramdown/converter/html.rb#238
631
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:253
376
632
  def convert_tbody(el, indent); end
377
633
 
378
- # source://kramdown//lib/kramdown/converter/html.rb#248
634
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:259
379
635
  def convert_td(el, indent); end
380
636
 
381
- # source://kramdown//lib/kramdown/converter/html.rb#81
637
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:81
382
638
  def convert_text(el, _indent); end
383
639
 
384
- # source://kramdown//lib/kramdown/converter/html.rb#238
640
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:254
385
641
  def convert_tfoot(el, indent); end
386
642
 
387
- # source://kramdown//lib/kramdown/converter/html.rb#238
643
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:252
388
644
  def convert_thead(el, indent); end
389
645
 
390
- # source://kramdown//lib/kramdown/converter/html.rb#238
646
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:255
391
647
  def convert_tr(el, indent); end
392
648
 
393
- # source://kramdown//lib/kramdown/converter/html.rb#339
649
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:351
394
650
  def convert_typographic_sym(el, _indent); end
395
651
 
396
- # source://kramdown//lib/kramdown/converter/html.rb#162
652
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:173
397
653
  def convert_ul(el, indent); end
398
654
 
399
- # source://kramdown//lib/kramdown/converter/html.rb#228
655
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:239
400
656
  def convert_xml_comment(el, indent); end
401
657
 
402
- # source://kramdown//lib/kramdown/converter/html.rb#228
658
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:247
403
659
  def convert_xml_pi(el, indent); end
404
660
 
405
661
  # Fixes the elements for use in a TOC entry.
406
662
  #
407
- # source://kramdown//lib/kramdown/converter/html.rb#453
663
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:461
408
664
  def fix_for_toc_entry(elements); end
409
665
 
410
666
  # Return an HTML ordered list with the footnote content for the used footnotes.
411
667
  #
412
- # source://kramdown//lib/kramdown/converter/html.rb#488
668
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:496
413
669
  def footnote_content; end
414
670
 
415
671
  # Format the given element as block HTML.
416
672
  #
417
- # source://kramdown//lib/kramdown/converter/html.rb#397
673
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:405
418
674
  def format_as_block_html(name, attr, body, indent); end
419
675
 
420
676
  # Format the given element as block HTML with a newline after the start tag and indentation
421
677
  # before the end tag.
422
678
  #
423
- # source://kramdown//lib/kramdown/converter/html.rb#403
679
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:411
424
680
  def format_as_indented_block_html(name, attr, body, indent); end
425
681
 
426
682
  # Format the given element as span HTML.
427
683
  #
428
- # source://kramdown//lib/kramdown/converter/html.rb#392
684
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:400
429
685
  def format_as_span_html(name, attr, body); end
430
686
 
431
687
  # Generate and return an element tree for the table of contents.
432
688
  #
433
- # source://kramdown//lib/kramdown/converter/html.rb#415
689
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:423
434
690
  def generate_toc_tree(toc, type, attr); end
435
691
 
436
692
  # The amount of indentation used when nesting HTML tags.
437
693
  #
438
- # source://kramdown//lib/kramdown/converter/html.rb#36
694
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:36
439
695
  def indent; end
440
696
 
441
697
  # The amount of indentation used when nesting HTML tags.
442
698
  #
443
- # source://kramdown//lib/kramdown/converter/html.rb#36
699
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:36
444
700
  def indent=(_arg0); end
445
701
 
446
702
  # Return the converted content of the children of +el+ as a string. The parameter +indent+ has
@@ -449,193 +705,191 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base
449
705
  # Pushes +el+ onto the @stack before converting the child elements and pops it from the stack
450
706
  # afterwards.
451
707
  #
452
- # source://kramdown//lib/kramdown/converter/html.rb#66
708
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:66
453
709
  def inner(el, indent); end
454
710
 
455
711
  # Obfuscate the +text+ by using HTML entities.
456
712
  #
457
- # source://kramdown//lib/kramdown/converter/html.rb#476
713
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:484
458
714
  def obfuscate(text); end
459
715
 
460
716
  # Remove all footnotes from the given elements.
461
717
  #
462
- # source://kramdown//lib/kramdown/converter/html.rb#468
718
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:476
463
719
  def remove_footnotes(elements); end
464
720
 
465
721
  # Remove all link elements by unwrapping them.
466
722
  #
467
- # source://kramdown//lib/kramdown/converter/html.rb#460
723
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:468
468
724
  def unwrap_links(elements); end
469
725
  end
470
726
 
471
- # source://kramdown//lib/kramdown/converter/html.rb#246
727
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:257
472
728
  Kramdown::Converter::Html::ENTITY_NBSP = T.let(T.unsafe(nil), Kramdown::Utils::Entities::Entity)
473
729
 
474
- # source://kramdown//lib/kramdown/converter/html.rb#485
730
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:493
475
731
  Kramdown::Converter::Html::FOOTNOTE_BACKLINK_FMT = T.let(T.unsafe(nil), String)
476
732
 
477
- # source://kramdown//lib/kramdown/converter/html.rb#328
733
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:340
478
734
  Kramdown::Converter::Html::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash)
479
735
 
480
- # source://kramdown//lib/kramdown/converter/html.rb#159
736
+ # pkg:gem/kramdown#lib/kramdown/converter/html.rb:170
481
737
  Kramdown::Converter::Html::ZERO_TO_ONETWENTYEIGHT = T.let(T.unsafe(nil), Array)
482
738
 
483
739
  # Converts an element tree to the kramdown format.
484
740
  #
485
- # source://kramdown//lib/kramdown/converter/kramdown.rb#18
741
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:18
486
742
  class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base
487
743
  include ::Kramdown::Utils::Html
488
744
 
489
- # @return [Kramdown] a new instance of Kramdown
490
- #
491
- # source://kramdown//lib/kramdown/converter/kramdown.rb#24
745
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:24
492
746
  def initialize(root, options); end
493
747
 
494
- # source://kramdown//lib/kramdown/converter/kramdown.rb#34
748
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:34
495
749
  def convert(el, opts = T.unsafe(nil)); end
496
750
 
497
- # source://kramdown//lib/kramdown/converter/kramdown.rb#291
751
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:296
498
752
  def convert_a(el, opts); end
499
753
 
500
- # source://kramdown//lib/kramdown/converter/kramdown.rb#377
754
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:382
501
755
  def convert_abbreviation(el, _opts); end
502
756
 
503
- # source://kramdown//lib/kramdown/converter/kramdown.rb#70
757
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:71
504
758
  def convert_blank(_el, _opts); end
505
759
 
506
- # source://kramdown//lib/kramdown/converter/kramdown.rb#107
760
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:111
507
761
  def convert_blockquote(el, opts); end
508
762
 
509
- # source://kramdown//lib/kramdown/converter/kramdown.rb#287
510
- def convert_br(_el, _opts); end
763
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:292
764
+ def convert_br(_el, opts); end
511
765
 
512
- # source://kramdown//lib/kramdown/converter/kramdown.rb#103
766
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:107
513
767
  def convert_codeblock(el, _opts); end
514
768
 
515
- # source://kramdown//lib/kramdown/converter/kramdown.rb#324
769
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:329
516
770
  def convert_codespan(el, _opts); end
517
771
 
518
- # source://kramdown//lib/kramdown/converter/kramdown.rb#279
772
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:284
519
773
  def convert_comment(el, _opts); end
520
774
 
521
- # source://kramdown//lib/kramdown/converter/kramdown.rb#158
775
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:163
522
776
  def convert_dd(el, opts); end
523
777
 
524
- # source://kramdown//lib/kramdown/converter/kramdown.rb#124
778
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:133
525
779
  def convert_dl(el, opts); end
526
780
 
527
- # source://kramdown//lib/kramdown/converter/kramdown.rb#182
781
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:187
528
782
  def convert_dt(el, opts); end
529
783
 
530
- # source://kramdown//lib/kramdown/converter/kramdown.rb#346
784
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:351
531
785
  def convert_em(el, opts); end
532
786
 
533
- # source://kramdown//lib/kramdown/converter/kramdown.rb#356
787
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:361
534
788
  def convert_entity(el, _opts); end
535
789
 
536
- # source://kramdown//lib/kramdown/converter/kramdown.rb#329
790
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:334
537
791
  def convert_footnote(el, _opts); end
538
792
 
539
- # source://kramdown//lib/kramdown/converter/kramdown.rb#112
793
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:116
540
794
  def convert_header(el, opts); end
541
795
 
542
- # source://kramdown//lib/kramdown/converter/kramdown.rb#120
796
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:125
543
797
  def convert_hr(_el, _opts); end
544
798
 
545
- # source://kramdown//lib/kramdown/converter/kramdown.rb#195
799
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:200
546
800
  def convert_html_element(el, opts); end
547
801
 
548
- # source://kramdown//lib/kramdown/converter/kramdown.rb#308
802
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:313
549
803
  def convert_img(el, _opts); end
550
804
 
551
- # source://kramdown//lib/kramdown/converter/kramdown.rb#130
805
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:135
552
806
  def convert_li(el, opts); end
553
807
 
554
- # source://kramdown//lib/kramdown/converter/kramdown.rb#373
808
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:378
555
809
  def convert_math(el, _opts); end
556
810
 
557
- # source://kramdown//lib/kramdown/converter/kramdown.rb#124
811
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:132
558
812
  def convert_ol(el, opts); end
559
813
 
560
- # source://kramdown//lib/kramdown/converter/kramdown.rb#88
814
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:92
561
815
  def convert_p(el, opts); end
562
816
 
563
- # source://kramdown//lib/kramdown/converter/kramdown.rb#334
817
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:339
564
818
  def convert_raw(el, _opts); end
565
819
 
566
- # source://kramdown//lib/kramdown/converter/kramdown.rb#381
820
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:386
567
821
  def convert_root(el, opts); end
568
822
 
569
- # source://kramdown//lib/kramdown/converter/kramdown.rb#369
823
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:374
570
824
  def convert_smart_quote(el, _opts); end
571
825
 
572
- # source://kramdown//lib/kramdown/converter/kramdown.rb#351
826
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:356
573
827
  def convert_strong(el, opts); end
574
828
 
575
- # source://kramdown//lib/kramdown/converter/kramdown.rb#239
829
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:244
576
830
  def convert_table(el, opts); end
577
831
 
578
- # source://kramdown//lib/kramdown/converter/kramdown.rb#260
832
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:265
579
833
  def convert_tbody(el, opts); end
580
834
 
581
- # source://kramdown//lib/kramdown/converter/kramdown.rb#275
835
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:280
582
836
  def convert_td(el, opts); end
583
837
 
584
- # source://kramdown//lib/kramdown/converter/kramdown.rb#76
838
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:77
585
839
  def convert_text(el, opts); end
586
840
 
587
- # source://kramdown//lib/kramdown/converter/kramdown.rb#267
841
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:272
588
842
  def convert_tfoot(el, opts); end
589
843
 
590
- # source://kramdown//lib/kramdown/converter/kramdown.rb#244
844
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:249
591
845
  def convert_thead(el, opts); end
592
846
 
593
- # source://kramdown//lib/kramdown/converter/kramdown.rb#271
847
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:276
594
848
  def convert_tr(el, opts); end
595
849
 
596
- # source://kramdown//lib/kramdown/converter/kramdown.rb#365
850
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:370
597
851
  def convert_typographic_sym(el, _opts); end
598
852
 
599
- # source://kramdown//lib/kramdown/converter/kramdown.rb#124
853
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:129
600
854
  def convert_ul(el, opts); end
601
855
 
602
- # source://kramdown//lib/kramdown/converter/kramdown.rb#229
856
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:234
603
857
  def convert_xml_comment(el, _opts); end
604
858
 
605
- # source://kramdown//lib/kramdown/converter/kramdown.rb#229
859
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:242
606
860
  def convert_xml_pi(el, _opts); end
607
861
 
608
- # source://kramdown//lib/kramdown/converter/kramdown.rb#408
862
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:413
609
863
  def create_abbrev_defs; end
610
864
 
611
- # source://kramdown//lib/kramdown/converter/kramdown.rb#399
865
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:404
612
866
  def create_footnote_defs; end
613
867
 
614
- # source://kramdown//lib/kramdown/converter/kramdown.rb#389
868
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:394
615
869
  def create_link_defs; end
616
870
 
617
871
  # Return the IAL containing the attributes of the element +el+.
618
872
  #
619
- # source://kramdown//lib/kramdown/converter/kramdown.rb#419
873
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:424
620
874
  def ial_for_element(el); end
621
875
 
622
- # source://kramdown//lib/kramdown/converter/kramdown.rb#54
876
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:55
623
877
  def inner(el, opts = T.unsafe(nil)); end
624
878
 
625
- # source://kramdown//lib/kramdown/converter/kramdown.rb#444
879
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:449
626
880
  def parse_title(attr); end
627
881
  end
628
882
 
629
- # source://kramdown//lib/kramdown/converter/kramdown.rb#74
883
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:75
630
884
  Kramdown::Converter::Kramdown::ESCAPED_CHAR_RE = T.let(T.unsafe(nil), Regexp)
631
885
 
632
- # source://kramdown//lib/kramdown/converter/kramdown.rb#192
886
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:197
633
887
  Kramdown::Converter::Kramdown::HTML_ELEMENT_TYPES = T.let(T.unsafe(nil), Array)
634
888
 
635
- # source://kramdown//lib/kramdown/converter/kramdown.rb#190
889
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:195
636
890
  Kramdown::Converter::Kramdown::HTML_TAGS_WITH_BODY = T.let(T.unsafe(nil), Array)
637
891
 
638
- # source://kramdown//lib/kramdown/converter/kramdown.rb#360
892
+ # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:365
639
893
  Kramdown::Converter::Kramdown::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash)
640
894
 
641
895
  # Converts an element tree to LaTeX.
@@ -653,338 +907,336 @@ Kramdown::Converter::Kramdown::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash)
653
907
  # The return value of such a method has to be a string containing the element +el+ formatted
654
908
  # correctly as LaTeX markup.
655
909
  #
656
- # source://kramdown//lib/kramdown/converter/latex.rb#31
910
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:31
657
911
  class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
658
912
  # Initialize the LaTeX converter with the +root+ element and the conversion +options+.
659
913
  #
660
- # @return [Latex] a new instance of Latex
661
- #
662
- # source://kramdown//lib/kramdown/converter/latex.rb#34
914
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:34
663
915
  def initialize(root, options); end
664
916
 
665
917
  # Return a LaTeX comment containing all attributes as 'key="value"' pairs.
666
918
  #
667
- # source://kramdown//lib/kramdown/converter/latex.rb#599
919
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:600
668
920
  def attribute_list(el); end
669
921
 
670
922
  # Dispatch the conversion of the element +el+ to a +convert_TYPE+ method using the +type+ of
671
923
  # the element.
672
924
  #
673
- # source://kramdown//lib/kramdown/converter/latex.rb#41
925
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:41
674
926
  def convert(el, opts = T.unsafe(nil)); end
675
927
 
676
- # source://kramdown//lib/kramdown/converter/latex.rb#216
928
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:217
677
929
  def convert_a(el, opts); end
678
930
 
679
- # source://kramdown//lib/kramdown/converter/latex.rb#569
931
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:570
680
932
  def convert_abbreviation(el, _opts); end
681
933
 
682
- # source://kramdown//lib/kramdown/converter/latex.rb#61
934
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:61
683
935
  def convert_blank(_el, opts); end
684
936
 
685
- # source://kramdown//lib/kramdown/converter/latex.rb#110
937
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:110
686
938
  def convert_blockquote(el, opts); end
687
939
 
688
- # source://kramdown//lib/kramdown/converter/latex.rb#209
940
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:210
689
941
  def convert_br(_el, opts); end
690
942
 
691
- # source://kramdown//lib/kramdown/converter/latex.rb#87
943
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:87
692
944
  def convert_codeblock(el, _opts); end
693
945
 
694
- # source://kramdown//lib/kramdown/converter/latex.rb#239
946
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:240
695
947
  def convert_codespan(el, _opts); end
696
948
 
697
- # source://kramdown//lib/kramdown/converter/latex.rb#205
949
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:206
698
950
  def convert_comment(el, _opts); end
699
951
 
700
- # source://kramdown//lib/kramdown/converter/latex.rb#151
952
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:151
701
953
  def convert_dd(el, opts); end
702
954
 
703
- # source://kramdown//lib/kramdown/converter/latex.rb#139
955
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:139
704
956
  def convert_dl(el, opts); end
705
957
 
706
- # source://kramdown//lib/kramdown/converter/latex.rb#147
958
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:147
707
959
  def convert_dt(el, opts); end
708
960
 
709
- # source://kramdown//lib/kramdown/converter/latex.rb#263
961
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:264
710
962
  def convert_em(el, opts); end
711
963
 
712
- # source://kramdown//lib/kramdown/converter/latex.rb#533
964
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:534
713
965
  def convert_entity(el, _opts); end
714
966
 
715
- # source://kramdown//lib/kramdown/converter/latex.rb#250
967
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:251
716
968
  def convert_footnote(el, opts); end
717
969
 
718
- # source://kramdown//lib/kramdown/converter/latex.rb#114
970
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:114
719
971
  def convert_header(el, opts); end
720
972
 
721
- # source://kramdown//lib/kramdown/converter/latex.rb#124
973
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:124
722
974
  def convert_hr(el, _opts); end
723
975
 
724
- # source://kramdown//lib/kramdown/converter/latex.rb#155
976
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:155
725
977
  def convert_html_element(el, opts); end
726
978
 
727
- # source://kramdown//lib/kramdown/converter/latex.rb#225
979
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:226
728
980
  def convert_img(el, _opts); end
729
981
 
730
- # source://kramdown//lib/kramdown/converter/latex.rb#143
982
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:143
731
983
  def convert_li(el, opts); end
732
984
 
733
- # source://kramdown//lib/kramdown/converter/latex.rb#556
985
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:557
734
986
  def convert_math(el, _opts); end
735
987
 
736
- # source://kramdown//lib/kramdown/converter/latex.rb#129
988
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:137
737
989
  def convert_ol(el, opts); end
738
990
 
739
- # source://kramdown//lib/kramdown/converter/latex.rb#69
991
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:69
740
992
  def convert_p(el, opts); end
741
993
 
742
- # source://kramdown//lib/kramdown/converter/latex.rb#255
994
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:256
743
995
  def convert_raw(el, _opts); end
744
996
 
745
- # source://kramdown//lib/kramdown/converter/latex.rb#57
997
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:57
746
998
  def convert_root(el, opts); end
747
999
 
748
- # source://kramdown//lib/kramdown/converter/latex.rb#550
1000
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:551
749
1001
  def convert_smart_quote(el, opts); end
750
1002
 
751
1003
  # Helper method used by +convert_p+ to convert a paragraph that only contains a single :img
752
1004
  # element.
753
1005
  #
754
- # source://kramdown//lib/kramdown/converter/latex.rb#80
1006
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:80
755
1007
  def convert_standalone_image(el, _opts, img); end
756
1008
 
757
- # source://kramdown//lib/kramdown/converter/latex.rb#267
1009
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:268
758
1010
  def convert_strong(el, opts); end
759
1011
 
760
- # source://kramdown//lib/kramdown/converter/latex.rb#177
1012
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:178
761
1013
  def convert_table(el, opts); end
762
1014
 
763
- # source://kramdown//lib/kramdown/converter/latex.rb#189
1015
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:190
764
1016
  def convert_tbody(el, opts); end
765
1017
 
766
- # source://kramdown//lib/kramdown/converter/latex.rb#201
1018
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:202
767
1019
  def convert_td(el, opts); end
768
1020
 
769
- # source://kramdown//lib/kramdown/converter/latex.rb#65
1021
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:65
770
1022
  def convert_text(el, _opts); end
771
1023
 
772
- # source://kramdown//lib/kramdown/converter/latex.rb#193
1024
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:194
773
1025
  def convert_tfoot(el, opts); end
774
1026
 
775
- # source://kramdown//lib/kramdown/converter/latex.rb#185
1027
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:186
776
1028
  def convert_thead(el, opts); end
777
1029
 
778
- # source://kramdown//lib/kramdown/converter/latex.rb#197
1030
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:198
779
1031
  def convert_tr(el, opts); end
780
1032
 
781
- # source://kramdown//lib/kramdown/converter/latex.rb#542
1033
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:543
782
1034
  def convert_typographic_sym(el, _opts); end
783
1035
 
784
- # source://kramdown//lib/kramdown/converter/latex.rb#129
1036
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:129
785
1037
  def convert_ul(el, opts); end
786
1038
 
787
- # source://kramdown//lib/kramdown/converter/latex.rb#166
1039
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:167
788
1040
  def convert_xml_comment(el, _opts); end
789
1041
 
790
- # source://kramdown//lib/kramdown/converter/latex.rb#170
1042
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:171
791
1043
  def convert_xml_pi(_el, _opts); end
792
1044
 
793
- # source://kramdown//lib/kramdown/converter/latex.rb#522
1045
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:523
794
1046
  def entity_to_latex(entity); end
795
1047
 
796
1048
  # Escape the special LaTeX characters in the string +str+.
797
1049
  #
798
- # source://kramdown//lib/kramdown/converter/latex.rb#618
1050
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:619
799
1051
  def escape(str); end
800
1052
 
801
1053
  # Return the converted content of the children of +el+ as a string.
802
1054
  #
803
- # source://kramdown//lib/kramdown/converter/latex.rb#46
1055
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:46
804
1056
  def inner(el, opts); end
805
1057
 
806
1058
  # Wrap the +text+ inside a LaTeX environment of type +type+. The element +el+ is passed on to
807
1059
  # the method #attribute_list -- the resulting string is appended to both the \\begin and the
808
1060
  # \\end lines of the LaTeX environment for easier post-processing of LaTeX environments.
809
1061
  #
810
- # source://kramdown//lib/kramdown/converter/latex.rb#582
1062
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:583
811
1063
  def latex_environment(type, el, text); end
812
1064
 
813
1065
  # Return a string containing a valid \hypertarget command if the element has an ID defined, or
814
1066
  # +nil+ otherwise. If the parameter +add_label+ is +true+, a \label command will also be used
815
1067
  # additionally to the \hypertarget command.
816
1068
  #
817
- # source://kramdown//lib/kramdown/converter/latex.rb#590
1069
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:591
818
1070
  def latex_link_target(el, add_label = T.unsafe(nil)); end
819
1071
 
820
1072
  # Normalize the abbreviation key so that it only contains allowed ASCII character
821
1073
  #
822
- # source://kramdown//lib/kramdown/converter/latex.rb#575
1074
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:576
823
1075
  def normalize_abbreviation_key(key); end
824
1076
  end
825
1077
 
826
1078
  # Inspired by Maruku: entity conversion table based on the one from htmltolatex
827
1079
  # (http://sourceforge.net/projects/htmltolatex/), with some small adjustments/additions
828
1080
  #
829
- # source://kramdown//lib/kramdown/converter/latex.rb#273
1081
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:274
830
1082
  Kramdown::Converter::Latex::ENTITY_CONV_TABLE = T.let(T.unsafe(nil), Hash)
831
1083
 
832
- # source://kramdown//lib/kramdown/converter/latex.rb#605
1084
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:606
833
1085
  Kramdown::Converter::Latex::ESCAPE_MAP = T.let(T.unsafe(nil), Hash)
834
1086
 
835
- # source://kramdown//lib/kramdown/converter/latex.rb#615
1087
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:616
836
1088
  Kramdown::Converter::Latex::ESCAPE_RE = T.let(T.unsafe(nil), Regexp)
837
1089
 
838
- # source://kramdown//lib/kramdown/converter/latex.rb#175
1090
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:176
839
1091
  Kramdown::Converter::Latex::TABLE_ALIGNMENT_CHAR = T.let(T.unsafe(nil), Hash)
840
1092
 
841
- # source://kramdown//lib/kramdown/converter/latex.rb#537
1093
+ # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:538
842
1094
  Kramdown::Converter::Latex::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash)
843
1095
 
844
1096
  # Converts a Kramdown::Document to a manpage in groff format. See man(7), groff_man(7) and
845
1097
  # man-pages(7) for information regarding the output.
846
1098
  #
847
- # source://kramdown//lib/kramdown/converter/man.rb#18
1099
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:18
848
1100
  class Kramdown::Converter::Man < ::Kramdown::Converter::Base
849
- # source://kramdown//lib/kramdown/converter/man.rb#20
1101
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:20
850
1102
  def convert(el, opts = T.unsafe(nil)); end
851
1103
 
852
1104
  private
853
1105
 
854
- # source://kramdown//lib/kramdown/converter/man.rb#191
1106
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:191
855
1107
  def convert_a(el, opts); end
856
1108
 
857
- # source://kramdown//lib/kramdown/converter/man.rb#229
1109
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:229
858
1110
  def convert_abbreviation(el, opts); end
859
1111
 
860
- # source://kramdown//lib/kramdown/converter/man.rb#47
1112
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:47
861
1113
  def convert_blank(*_arg0); end
862
1114
 
863
- # source://kramdown//lib/kramdown/converter/man.rb#95
1115
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:95
864
1116
  def convert_blockquote(el, opts); end
865
1117
 
866
- # source://kramdown//lib/kramdown/converter/man.rb#225
1118
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:225
867
1119
  def convert_br(_el, opts); end
868
1120
 
869
- # source://kramdown//lib/kramdown/converter/man.rb#89
1121
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:89
870
1122
  def convert_codeblock(el, opts); end
871
1123
 
872
- # source://kramdown//lib/kramdown/converter/man.rb#221
1124
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:221
873
1125
  def convert_codespan(el, opts); end
874
1126
 
875
- # source://kramdown//lib/kramdown/converter/man.rb#186
1127
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:189
876
1128
  def convert_comment(el, opts); end
877
1129
 
878
- # source://kramdown//lib/kramdown/converter/man.rb#127
1130
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:127
879
1131
  def convert_dd(el, opts); end
880
1132
 
881
- # source://kramdown//lib/kramdown/converter/man.rb#101
1133
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:107
882
1134
  def convert_dl(el, opts); end
883
1135
 
884
- # source://kramdown//lib/kramdown/converter/man.rb#121
1136
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:121
885
1137
  def convert_dt(el, opts); end
886
1138
 
887
- # source://kramdown//lib/kramdown/converter/man.rb#209
1139
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:209
888
1140
  def convert_em(el, opts); end
889
1141
 
890
- # source://kramdown//lib/kramdown/converter/man.rb#255
1142
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:255
891
1143
  def convert_entity(el, opts); end
892
1144
 
893
- # source://kramdown//lib/kramdown/converter/man.rb#241
1145
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:241
894
1146
  def convert_footnote(*_arg0); end
895
1147
 
896
- # source://kramdown//lib/kramdown/converter/man.rb#61
1148
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:61
897
1149
  def convert_header(el, opts); end
898
1150
 
899
- # source://kramdown//lib/kramdown/converter/man.rb#47
1151
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:49
900
1152
  def convert_hr(*_arg0); end
901
1153
 
902
- # source://kramdown//lib/kramdown/converter/man.rb#182
1154
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:182
903
1155
  def convert_html_element(*_arg0); end
904
1156
 
905
- # source://kramdown//lib/kramdown/converter/man.rb#205
1157
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:205
906
1158
  def convert_img(_el, _opts); end
907
1159
 
908
- # source://kramdown//lib/kramdown/converter/man.rb#110
1160
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:110
909
1161
  def convert_li(el, opts); end
910
1162
 
911
- # source://kramdown//lib/kramdown/converter/man.rb#233
1163
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:233
912
1164
  def convert_math(el, opts); end
913
1165
 
914
- # source://kramdown//lib/kramdown/converter/man.rb#101
1166
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:108
915
1167
  def convert_ol(el, opts); end
916
1168
 
917
- # source://kramdown//lib/kramdown/converter/man.rb#52
1169
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:52
918
1170
  def convert_p(el, opts); end
919
1171
 
920
- # source://kramdown//lib/kramdown/converter/man.rb#245
1172
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:245
921
1173
  def convert_raw(*_arg0); end
922
1174
 
923
- # source://kramdown//lib/kramdown/converter/man.rb#40
1175
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:40
924
1176
  def convert_root(el, opts); end
925
1177
 
926
- # source://kramdown//lib/kramdown/converter/man.rb#259
1178
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:259
927
1179
  def convert_smart_quote(el, opts); end
928
1180
 
929
- # source://kramdown//lib/kramdown/converter/man.rb#215
1181
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:215
930
1182
  def convert_strong(el, opts); end
931
1183
 
932
- # source://kramdown//lib/kramdown/converter/man.rb#139
1184
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:139
933
1185
  def convert_table(el, opts); end
934
1186
 
935
- # source://kramdown//lib/kramdown/converter/man.rb#154
1187
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:154
936
1188
  def convert_tbody(el, opts); end
937
1189
 
938
- # source://kramdown//lib/kramdown/converter/man.rb#170
1190
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:170
939
1191
  def convert_td(el, opts); end
940
1192
 
941
- # source://kramdown//lib/kramdown/converter/man.rb#249
1193
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:249
942
1194
  def convert_text(el, opts); end
943
1195
 
944
- # source://kramdown//lib/kramdown/converter/man.rb#161
1196
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:161
945
1197
  def convert_tfoot(el, opts); end
946
1198
 
947
- # source://kramdown//lib/kramdown/converter/man.rb#148
1199
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:148
948
1200
  def convert_thead(el, opts); end
949
1201
 
950
- # source://kramdown//lib/kramdown/converter/man.rb#165
1202
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:165
951
1203
  def convert_tr(el, opts); end
952
1204
 
953
- # source://kramdown//lib/kramdown/converter/man.rb#268
1205
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:268
954
1206
  def convert_typographic_sym(el, opts); end
955
1207
 
956
- # source://kramdown//lib/kramdown/converter/man.rb#101
1208
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:101
957
1209
  def convert_ul(el, opts); end
958
1210
 
959
- # source://kramdown//lib/kramdown/converter/man.rb#186
1211
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:186
960
1212
  def convert_xml_comment(el, opts); end
961
1213
 
962
- # source://kramdown//lib/kramdown/converter/man.rb#47
1214
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:50
963
1215
  def convert_xml_pi(*_arg0); end
964
1216
 
965
- # source://kramdown//lib/kramdown/converter/man.rb#285
1217
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:285
966
1218
  def escape(text, preserve_whitespace = T.unsafe(nil)); end
967
1219
 
968
- # source://kramdown//lib/kramdown/converter/man.rb#26
1220
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:26
969
1221
  def inner(el, opts, use = T.unsafe(nil)); end
970
1222
 
971
- # source://kramdown//lib/kramdown/converter/man.rb#272
1223
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:272
972
1224
  def macro(name, *args); end
973
1225
 
974
- # source://kramdown//lib/kramdown/converter/man.rb#276
1226
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:276
975
1227
  def newline(text); end
976
1228
 
977
- # source://kramdown//lib/kramdown/converter/man.rb#281
1229
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:281
978
1230
  def quote(text); end
979
1231
 
980
- # source://kramdown//lib/kramdown/converter/man.rb#293
1232
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:293
981
1233
  def unicode_char(codepoint); end
982
1234
  end
983
1235
 
984
- # source://kramdown//lib/kramdown/converter/man.rb#137
1236
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:137
985
1237
  Kramdown::Converter::Man::TABLE_CELL_ALIGNMENT = T.let(T.unsafe(nil), Hash)
986
1238
 
987
- # source://kramdown//lib/kramdown/converter/man.rb#263
1239
+ # pkg:gem/kramdown#lib/kramdown/converter/man.rb:263
988
1240
  Kramdown::Converter::Man::TYPOGRAPHIC_SYMS_MAP = T.let(T.unsafe(nil), Hash)
989
1241
 
990
1242
  # Removes all block (and optionally span) level HTML tags from the element tree.
@@ -997,14 +1249,12 @@ Kramdown::Converter::Man::TYPOGRAPHIC_SYMS_MAP = T.let(T.unsafe(nil), Hash)
997
1249
  #
998
1250
  # This converter modifies the given tree in-place and returns it.
999
1251
  #
1000
- # source://kramdown//lib/kramdown/converter/remove_html_tags.rb#25
1252
+ # pkg:gem/kramdown#lib/kramdown/converter/remove_html_tags.rb:25
1001
1253
  class Kramdown::Converter::RemoveHtmlTags < ::Kramdown::Converter::Base
1002
- # @return [RemoveHtmlTags] a new instance of RemoveHtmlTags
1003
- #
1004
- # source://kramdown//lib/kramdown/converter/remove_html_tags.rb#27
1254
+ # pkg:gem/kramdown#lib/kramdown/converter/remove_html_tags.rb:27
1005
1255
  def initialize(root, options); end
1006
1256
 
1007
- # source://kramdown//lib/kramdown/converter/remove_html_tags.rb#32
1257
+ # pkg:gem/kramdown#lib/kramdown/converter/remove_html_tags.rb:32
1008
1258
  def convert(el); end
1009
1259
  end
1010
1260
 
@@ -1018,19 +1268,17 @@ end
1018
1268
  # Since the TOC tree consists of special :toc elements, one cannot directly feed this tree to
1019
1269
  # other converters!
1020
1270
  #
1021
- # source://kramdown//lib/kramdown/converter/toc.rb#25
1271
+ # pkg:gem/kramdown#lib/kramdown/converter/toc.rb:25
1022
1272
  class Kramdown::Converter::Toc < ::Kramdown::Converter::Base
1023
- # @return [Toc] a new instance of Toc
1024
- #
1025
- # source://kramdown//lib/kramdown/converter/toc.rb#27
1273
+ # pkg:gem/kramdown#lib/kramdown/converter/toc.rb:27
1026
1274
  def initialize(root, options); end
1027
1275
 
1028
- # source://kramdown//lib/kramdown/converter/toc.rb#34
1276
+ # pkg:gem/kramdown#lib/kramdown/converter/toc.rb:34
1029
1277
  def convert(el); end
1030
1278
 
1031
1279
  private
1032
1280
 
1033
- # source://kramdown//lib/kramdown/converter/toc.rb#47
1281
+ # pkg:gem/kramdown#lib/kramdown/converter/toc.rb:47
1034
1282
  def add_to_toc(el, id); end
1035
1283
  end
1036
1284
 
@@ -1049,7 +1297,7 @@ end
1049
1297
  # The second argument to the ::new method is an options hash for customizing the behaviour of the
1050
1298
  # used parser and the converter. See ::new for more information!
1051
1299
  #
1052
- # source://kramdown//lib/kramdown/document.rb#73
1300
+ # pkg:gem/kramdown#lib/kramdown/document.rb:73
1053
1301
  class Kramdown::Document
1054
1302
  # Create a new Kramdown document from the string +source+ and use the provided +options+. The
1055
1303
  # options that can be used are defined in the Options module.
@@ -1062,12 +1310,10 @@ class Kramdown::Document
1062
1310
  # The +source+ is immediately parsed by the selected parser so that the root element is
1063
1311
  # immediately available and the output can be generated.
1064
1312
  #
1065
- # @return [Document] a new instance of Document
1066
- #
1067
- # source://kramdown//lib/kramdown/document.rb#96
1313
+ # pkg:gem/kramdown#lib/kramdown/document.rb:96
1068
1314
  def initialize(source, options = T.unsafe(nil)); end
1069
1315
 
1070
- # source://kramdown//lib/kramdown/document.rb#124
1316
+ # pkg:gem/kramdown#lib/kramdown/document.rb:124
1071
1317
  def inspect; end
1072
1318
 
1073
1319
  # Check if a method is invoked that begins with +to_+ and if so, try to instantiate a converter
@@ -1075,37 +1321,37 @@ class Kramdown::Document
1075
1321
  #
1076
1322
  # For example, +to_html+ would instantiate the Kramdown::Converter::Html class.
1077
1323
  #
1078
- # source://kramdown//lib/kramdown/document.rb#113
1324
+ # pkg:gem/kramdown#lib/kramdown/document.rb:113
1079
1325
  def method_missing(id, *attr, &block); end
1080
1326
 
1081
1327
  # The options hash which holds the options for parsing/converting the Kramdown document.
1082
1328
  #
1083
- # source://kramdown//lib/kramdown/document.rb#80
1329
+ # pkg:gem/kramdown#lib/kramdown/document.rb:80
1084
1330
  def options; end
1085
1331
 
1086
1332
  # The root Element of the element tree. It is immediately available after the ::new method has
1087
1333
  # been called.
1088
1334
  #
1089
- # source://kramdown//lib/kramdown/document.rb#77
1335
+ # pkg:gem/kramdown#lib/kramdown/document.rb:77
1090
1336
  def root; end
1091
1337
 
1092
1338
  # The root Element of the element tree. It is immediately available after the ::new method has
1093
1339
  # been called.
1094
1340
  #
1095
- # source://kramdown//lib/kramdown/document.rb#77
1341
+ # pkg:gem/kramdown#lib/kramdown/document.rb:77
1096
1342
  def root=(_arg0); end
1097
1343
 
1098
1344
  # An array of warning messages. It is filled with warnings during the parsing phase (i.e. in
1099
1345
  # ::new) and the conversion phase.
1100
1346
  #
1101
- # source://kramdown//lib/kramdown/document.rb#84
1347
+ # pkg:gem/kramdown#lib/kramdown/document.rb:84
1102
1348
  def warnings; end
1103
1349
 
1104
1350
  protected
1105
1351
 
1106
1352
  # Try requiring a parser or converter class and don't raise an error if the file is not found.
1107
1353
  #
1108
- # source://kramdown//lib/kramdown/document.rb#129
1354
+ # pkg:gem/kramdown#lib/kramdown/document.rb:129
1109
1355
  def try_require(type, name); end
1110
1356
  end
1111
1357
 
@@ -1578,19 +1824,17 @@ end
1578
1824
  # The option :type can be set to an array of strings to define for which converters the raw string
1579
1825
  # is valid.
1580
1826
  #
1581
- # source://kramdown//lib/kramdown/element.rb#482
1827
+ # pkg:gem/kramdown#lib/kramdown/element.rb:482
1582
1828
  class Kramdown::Element
1583
1829
  # Create a new Element object of type +type+. The optional parameters +value+, +attr+ and
1584
1830
  # +options+ can also be set in this constructor for convenience.
1585
1831
  #
1586
- # @return [Element] a new instance of Element
1587
- #
1588
- # source://kramdown//lib/kramdown/element.rb#496
1832
+ # pkg:gem/kramdown#lib/kramdown/element.rb:496
1589
1833
  def initialize(type, value = T.unsafe(nil), attr = T.unsafe(nil), options = T.unsafe(nil)); end
1590
1834
 
1591
1835
  # The attributes of the element.
1592
1836
  #
1593
- # source://kramdown//lib/kramdown/element.rb#502
1837
+ # pkg:gem/kramdown#lib/kramdown/element.rb:502
1594
1838
  def attr; end
1595
1839
 
1596
1840
  # syntactic sugar to simplify calls such as +Kramdown::Element.category(el) == :block+ with
@@ -1598,27 +1842,25 @@ class Kramdown::Element
1598
1842
  #
1599
1843
  # Returns boolean true or false.
1600
1844
  #
1601
- # @return [Boolean]
1602
- #
1603
- # source://kramdown//lib/kramdown/element.rb#537
1845
+ # pkg:gem/kramdown#lib/kramdown/element.rb:537
1604
1846
  def block?; end
1605
1847
 
1606
1848
  # The child elements of this element.
1607
1849
  #
1608
- # source://kramdown//lib/kramdown/element.rb#492
1850
+ # pkg:gem/kramdown#lib/kramdown/element.rb:492
1609
1851
  def children; end
1610
1852
 
1611
1853
  # The child elements of this element.
1612
1854
  #
1613
- # source://kramdown//lib/kramdown/element.rb#492
1855
+ # pkg:gem/kramdown#lib/kramdown/element.rb:492
1614
1856
  def children=(_arg0); end
1615
1857
 
1616
- # source://kramdown//lib/kramdown/element.rb#511
1858
+ # pkg:gem/kramdown#lib/kramdown/element.rb:511
1617
1859
  def inspect; end
1618
1860
 
1619
1861
  # The options hash for the element. It is used for storing arbitray options.
1620
1862
  #
1621
- # source://kramdown//lib/kramdown/element.rb#507
1863
+ # pkg:gem/kramdown#lib/kramdown/element.rb:507
1622
1864
  def options; end
1623
1865
 
1624
1866
  # syntactic sugar to simplify calls such as +Kramdown::Element.category(el) == :span+ with
@@ -1626,31 +1868,29 @@ class Kramdown::Element
1626
1868
  #
1627
1869
  # Returns boolean true or false.
1628
1870
  #
1629
- # @return [Boolean]
1630
- #
1631
- # source://kramdown//lib/kramdown/element.rb#545
1871
+ # pkg:gem/kramdown#lib/kramdown/element.rb:545
1632
1872
  def span?; end
1633
1873
 
1634
1874
  # A symbol representing the element type. For example, :p or :blockquote.
1635
1875
  #
1636
- # source://kramdown//lib/kramdown/element.rb#485
1876
+ # pkg:gem/kramdown#lib/kramdown/element.rb:485
1637
1877
  def type; end
1638
1878
 
1639
1879
  # A symbol representing the element type. For example, :p or :blockquote.
1640
1880
  #
1641
- # source://kramdown//lib/kramdown/element.rb#485
1881
+ # pkg:gem/kramdown#lib/kramdown/element.rb:485
1642
1882
  def type=(_arg0); end
1643
1883
 
1644
1884
  # The value of the element. The interpretation of this field depends on the type of the element.
1645
1885
  # Many elements don't use this field.
1646
1886
  #
1647
- # source://kramdown//lib/kramdown/element.rb#489
1887
+ # pkg:gem/kramdown#lib/kramdown/element.rb:489
1648
1888
  def value; end
1649
1889
 
1650
1890
  # The value of the element. The interpretation of this field depends on the type of the element.
1651
1891
  # Many elements don't use this field.
1652
1892
  #
1653
- # source://kramdown//lib/kramdown/element.rb#489
1893
+ # pkg:gem/kramdown#lib/kramdown/element.rb:489
1654
1894
  def value=(_arg0); end
1655
1895
 
1656
1896
  class << self
@@ -1659,30 +1899,30 @@ class Kramdown::Element
1659
1899
  # Most elements have a fixed category, however, some elements can either appear in a block-level
1660
1900
  # or a span-level context. These elements need to have the option :category correctly set.
1661
1901
  #
1662
- # source://kramdown//lib/kramdown/element.rb#529
1902
+ # pkg:gem/kramdown#lib/kramdown/element.rb:529
1663
1903
  def category(el); end
1664
1904
  end
1665
1905
  end
1666
1906
 
1667
- # source://kramdown//lib/kramdown/element.rb#519
1907
+ # pkg:gem/kramdown#lib/kramdown/element.rb:519
1668
1908
  Kramdown::Element::CATEGORY = T.let(T.unsafe(nil), Hash)
1669
1909
 
1670
1910
  # This error is raised when an error condition is encountered.
1671
1911
  #
1672
1912
  # *Note* that this error is only raised by the support framework for the parsers and converters.
1673
1913
  #
1674
- # source://kramdown//lib/kramdown/error.rb#15
1914
+ # pkg:gem/kramdown#lib/kramdown/error.rb:15
1675
1915
  class Kramdown::Error < ::RuntimeError; end
1676
1916
 
1677
1917
  # This module defines all options that are used by parsers and/or converters as well as providing
1678
1918
  # methods to deal with the options.
1679
1919
  #
1680
- # source://kramdown//lib/kramdown/options.rb#16
1920
+ # pkg:gem/kramdown#lib/kramdown/options.rb:16
1681
1921
  module Kramdown::Options
1682
1922
  class << self
1683
1923
  # Return a Hash with the default values for all options.
1684
1924
  #
1685
- # source://kramdown//lib/kramdown/options.rb#72
1925
+ # pkg:gem/kramdown#lib/kramdown/options.rb:72
1686
1926
  def defaults; end
1687
1927
 
1688
1928
  # Define a new option called +name+ (a Symbol) with the given +type+ (String, Integer, Float,
@@ -1693,27 +1933,23 @@ module Kramdown::Options
1693
1933
  # suffices. A block needs to be specified when using type 'Object' and it has to cope with
1694
1934
  # a value given as string and as the opaque type.
1695
1935
  #
1696
- # @raise [ArgumentError]
1697
- #
1698
- # source://kramdown//lib/kramdown/options.rb#51
1936
+ # pkg:gem/kramdown#lib/kramdown/options.rb:51
1699
1937
  def define(name, type, default, desc, &block); end
1700
1938
 
1701
1939
  # Return +true+ if an option called +name+ is defined.
1702
1940
  #
1703
- # @return [Boolean]
1704
- #
1705
- # source://kramdown//lib/kramdown/options.rb#67
1941
+ # pkg:gem/kramdown#lib/kramdown/options.rb:67
1706
1942
  def defined?(name); end
1707
1943
 
1708
1944
  # Return all option definitions.
1709
1945
  #
1710
- # source://kramdown//lib/kramdown/options.rb#62
1946
+ # pkg:gem/kramdown#lib/kramdown/options.rb:62
1711
1947
  def definitions; end
1712
1948
 
1713
1949
  # Merge the #defaults Hash with the *parsed* options from the given Hash, i.e. only valid option
1714
1950
  # names are considered and their value is run through the #parse method.
1715
1951
  #
1716
- # source://kramdown//lib/kramdown/options.rb#82
1952
+ # pkg:gem/kramdown#lib/kramdown/options.rb:83
1717
1953
  def merge(hash); end
1718
1954
 
1719
1955
  # Parse the given value +data+ as if it was a value for the option +name+ and return the parsed
@@ -1722,9 +1958,7 @@ module Kramdown::Options
1722
1958
  # If +data+ already has the correct type, it is just returned. Otherwise it is converted to a
1723
1959
  # String and then to the correct type.
1724
1960
  #
1725
- # @raise [ArgumentError]
1726
- #
1727
- # source://kramdown//lib/kramdown/options.rb#96
1961
+ # pkg:gem/kramdown#lib/kramdown/options.rb:97
1728
1962
  def parse(name, data); end
1729
1963
 
1730
1964
  # Ensures that the option value +val+ for the option called +name+ is a valid array. The
@@ -1735,7 +1969,7 @@ module Kramdown::Options
1735
1969
  #
1736
1970
  # Optionally, the array is checked for the correct size.
1737
1971
  #
1738
- # source://kramdown//lib/kramdown/options.rb#141
1972
+ # pkg:gem/kramdown#lib/kramdown/options.rb:142
1739
1973
  def simple_array_validator(val, name, size = T.unsafe(nil)); end
1740
1974
 
1741
1975
  # Ensures that the option value +val+ for the option called +name+ is a valid hash. The
@@ -1744,9 +1978,7 @@ module Kramdown::Options
1744
1978
  # - a hash in YAML format
1745
1979
  # - or a Ruby Hash object.
1746
1980
  #
1747
- # @raise [Kramdown::Error]
1748
- #
1749
- # source://kramdown//lib/kramdown/options.rb#158
1981
+ # pkg:gem/kramdown#lib/kramdown/options.rb:159
1750
1982
  def simple_hash_validator(val, name); end
1751
1983
 
1752
1984
  # Converts the given String +data+ into a Symbol or +nil+ with the
@@ -1755,107 +1987,91 @@ module Kramdown::Options
1755
1987
  # - A leading colon is stripped from the string.
1756
1988
  # - An empty value or a value equal to "nil" results in +nil+.
1757
1989
  #
1758
- # source://kramdown//lib/kramdown/options.rb#122
1990
+ # pkg:gem/kramdown#lib/kramdown/options.rb:123
1759
1991
  def str_to_sym(data); end
1760
1992
  end
1761
1993
  end
1762
1994
 
1763
1995
  # Allowed option types.
1764
1996
  #
1765
- # source://kramdown//lib/kramdown/options.rb#39
1997
+ # pkg:gem/kramdown#lib/kramdown/options.rb:39
1766
1998
  Kramdown::Options::ALLOWED_TYPES = T.let(T.unsafe(nil), Array)
1767
1999
 
1768
2000
  # Helper class introducing a boolean type for specifying boolean values (+true+ and +false+) as
1769
2001
  # option types.
1770
2002
  #
1771
- # source://kramdown//lib/kramdown/options.rb#20
2003
+ # pkg:gem/kramdown#lib/kramdown/options.rb:20
1772
2004
  class Kramdown::Options::Boolean
1773
2005
  class << self
1774
2006
  # Return +true+ if +other+ is either +true+ or +false+
1775
2007
  #
1776
- # source://kramdown//lib/kramdown/options.rb#23
2008
+ # pkg:gem/kramdown#lib/kramdown/options.rb:23
1777
2009
  def ===(other); end
1778
2010
  end
1779
2011
  end
1780
2012
 
1781
2013
  # Struct class for storing the definition of an option.
1782
2014
  #
1783
- # source://kramdown//lib/kramdown/options.rb#36
2015
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1784
2016
  class Kramdown::Options::Definition < ::Struct
1785
- # Returns the value of attribute default
1786
- #
1787
- # @return [Object] the current value of default
2017
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1788
2018
  def default; end
1789
2019
 
1790
- # Sets the attribute default
1791
- #
1792
- # @param value [Object] the value to set the attribute default to.
1793
- # @return [Object] the newly set value
2020
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1794
2021
  def default=(_); end
1795
2022
 
1796
- # Returns the value of attribute desc
1797
- #
1798
- # @return [Object] the current value of desc
2023
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1799
2024
  def desc; end
1800
2025
 
1801
- # Sets the attribute desc
1802
- #
1803
- # @param value [Object] the value to set the attribute desc to.
1804
- # @return [Object] the newly set value
2026
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1805
2027
  def desc=(_); end
1806
2028
 
1807
- # Returns the value of attribute name
1808
- #
1809
- # @return [Object] the current value of name
2029
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1810
2030
  def name; end
1811
2031
 
1812
- # Sets the attribute name
1813
- #
1814
- # @param value [Object] the value to set the attribute name to.
1815
- # @return [Object] the newly set value
2032
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1816
2033
  def name=(_); end
1817
2034
 
1818
- # Returns the value of attribute type
1819
- #
1820
- # @return [Object] the current value of type
2035
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1821
2036
  def type; end
1822
2037
 
1823
- # Sets the attribute type
1824
- #
1825
- # @param value [Object] the value to set the attribute type to.
1826
- # @return [Object] the newly set value
2038
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1827
2039
  def type=(_); end
1828
2040
 
1829
- # Returns the value of attribute validator
1830
- #
1831
- # @return [Object] the current value of validator
2041
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1832
2042
  def validator; end
1833
2043
 
1834
- # Sets the attribute validator
1835
- #
1836
- # @param value [Object] the value to set the attribute validator to.
1837
- # @return [Object] the newly set value
2044
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1838
2045
  def validator=(_); end
1839
2046
 
1840
2047
  class << self
2048
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1841
2049
  def [](*_arg0); end
2050
+
2051
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1842
2052
  def inspect; end
2053
+
2054
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1843
2055
  def keyword_init?; end
2056
+
2057
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1844
2058
  def members; end
2059
+
2060
+ # pkg:gem/kramdown#lib/kramdown/options.rb:36
1845
2061
  def new(*_arg0); end
1846
2062
  end
1847
2063
  end
1848
2064
 
1849
- # source://kramdown//lib/kramdown/options.rb#396
2065
+ # pkg:gem/kramdown#lib/kramdown/options.rb:406
1850
2066
  Kramdown::Options::SMART_QUOTES_ENTITIES = T.let(T.unsafe(nil), Array)
1851
2067
 
1852
- # source://kramdown//lib/kramdown/options.rb#397
2068
+ # pkg:gem/kramdown#lib/kramdown/options.rb:407
1853
2069
  Kramdown::Options::SMART_QUOTES_STR = T.let(T.unsafe(nil), String)
1854
2070
 
1855
- # source://kramdown//lib/kramdown/options.rb#336
2071
+ # pkg:gem/kramdown#lib/kramdown/options.rb:346
1856
2072
  Kramdown::Options::TOC_LEVELS_ARRAY = T.let(T.unsafe(nil), Array)
1857
2073
 
1858
- # source://kramdown//lib/kramdown/options.rb#335
2074
+ # pkg:gem/kramdown#lib/kramdown/options.rb:345
1859
2075
  Kramdown::Options::TOC_LEVELS_RANGE = T.let(T.unsafe(nil), Range)
1860
2076
 
1861
2077
  # This module contains all available parsers. A parser takes an input string and converts the
@@ -1864,7 +2080,7 @@ Kramdown::Options::TOC_LEVELS_RANGE = T.let(T.unsafe(nil), Range)
1864
2080
  # New parsers should be derived from the Base class which provides common functionality - see its
1865
2081
  # API documentation for how to create a custom converter class.
1866
2082
  #
1867
- # source://kramdown//lib/kramdown/parser.rb#17
2083
+ # pkg:gem/kramdown#lib/kramdown/parser.rb:17
1868
2084
  module Kramdown::Parser; end
1869
2085
 
1870
2086
  # == \Base class for parsers
@@ -1885,39 +2101,37 @@ module Kramdown::Parser; end
1885
2101
  #
1886
2102
  # Have a look at the Base::parse, Base::new and Base#parse methods for additional information!
1887
2103
  #
1888
- # source://kramdown//lib/kramdown/parser/base.rb#34
2104
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:34
1889
2105
  class Kramdown::Parser::Base
1890
2106
  # Initialize the parser object with the +source+ string and the parsing +options+.
1891
2107
  #
1892
2108
  # The @root element, the @warnings array and @text_type (specifies the default type for newly
1893
2109
  # created text nodes) are automatically initialized.
1894
2110
  #
1895
- # @return [Base] a new instance of Base
1896
- #
1897
- # source://kramdown//lib/kramdown/parser/base.rb#52
2111
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:52
1898
2112
  def initialize(source, options); end
1899
2113
 
1900
2114
  # Modify the string +source+ to be usable by the parser (unifies line ending characters to
1901
2115
  # +\n+ and makes sure +source+ ends with a new line character).
1902
2116
  #
1903
- # source://kramdown//lib/kramdown/parser/base.rb#91
2117
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:97
1904
2118
  def adapt_source(source); end
1905
2119
 
1906
2120
  # This helper method adds the given +text+ either to the last element in the +tree+ if it is a
1907
2121
  # +type+ element or creates a new text element with the given +type+.
1908
2122
  #
1909
- # source://kramdown//lib/kramdown/parser/base.rb#103
2123
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:109
1910
2124
  def add_text(text, tree = T.unsafe(nil), type = T.unsafe(nil)); end
1911
2125
 
1912
2126
  # Extract the part of the StringScanner +strscan+ backed string specified by the +range+. This
1913
2127
  # method works correctly under Ruby 1.8 and Ruby 1.9.
1914
2128
  #
1915
- # source://kramdown//lib/kramdown/parser/base.rb#115
2129
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:121
1916
2130
  def extract_string(range, strscan); end
1917
2131
 
1918
2132
  # The hash with the parsing options.
1919
2133
  #
1920
- # source://kramdown//lib/kramdown/parser/base.rb#37
2134
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:37
1921
2135
  def options; end
1922
2136
 
1923
2137
  # Parse the source string into an element tree.
@@ -1927,29 +2141,27 @@ class Kramdown::Parser::Base
1927
2141
  #
1928
2142
  # This is the only method that has to be implemented by sub-classes!
1929
2143
  #
1930
- # @raise [NotImplementedError]
1931
- #
1932
- # source://kramdown//lib/kramdown/parser/base.rb#79
2144
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:85
1933
2145
  def parse; end
1934
2146
 
1935
2147
  # The root element of element tree that is created from the source string.
1936
2148
  #
1937
- # source://kramdown//lib/kramdown/parser/base.rb#46
2149
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:46
1938
2150
  def root; end
1939
2151
 
1940
2152
  # The original source string.
1941
2153
  #
1942
- # source://kramdown//lib/kramdown/parser/base.rb#43
2154
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:43
1943
2155
  def source; end
1944
2156
 
1945
2157
  # Add the given warning +text+ to the warning array.
1946
2158
  #
1947
- # source://kramdown//lib/kramdown/parser/base.rb#84
2159
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:90
1948
2160
  def warning(text); end
1949
2161
 
1950
2162
  # The array with the parser warnings.
1951
2163
  #
1952
- # source://kramdown//lib/kramdown/parser/base.rb#40
2164
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:40
1953
2165
  def warnings; end
1954
2166
 
1955
2167
  class << self
@@ -1959,12 +2171,15 @@ class Kramdown::Parser::Base
1959
2171
  # Initializes a new instance of the calling class and then calls the +#parse+ method that must
1960
2172
  # be implemented by each subclass.
1961
2173
  #
1962
- # source://kramdown//lib/kramdown/parser/base.rb#67
2174
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:73
1963
2175
  def parse(source, options = T.unsafe(nil)); end
1964
2176
 
1965
2177
  private
1966
2178
 
2179
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:66
1967
2180
  def allocate; end
2181
+
2182
+ # pkg:gem/kramdown#lib/kramdown/parser/base.rb:66
1968
2183
  def new(*_arg0); end
1969
2184
  end
1970
2185
  end
@@ -1973,214 +2188,212 @@ end
1973
2188
  #
1974
2189
  # The parsing code is in the Parser module that can also be used by other parsers.
1975
2190
  #
1976
- # source://kramdown//lib/kramdown/parser/html.rb#22
2191
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:22
1977
2192
  class Kramdown::Parser::Html < ::Kramdown::Parser::Base
1978
2193
  include ::Kramdown::Parser::Html::Constants
1979
2194
  include ::Kramdown::Parser::Html::Parser
1980
2195
 
1981
2196
  # Parse the source string provided on initialization as HTML document.
1982
2197
  #
1983
- # source://kramdown//lib/kramdown/parser/html.rb#586
2198
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:593
1984
2199
  def parse; end
1985
2200
  end
1986
2201
 
1987
2202
  # Contains all constants that are used when parsing.
1988
2203
  #
1989
- # source://kramdown//lib/kramdown/parser/html.rb#25
2204
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:25
1990
2205
  module Kramdown::Parser::Html::Constants; end
1991
2206
 
1992
- # source://kramdown//lib/kramdown/parser/html.rb#32
2207
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:33
1993
2208
  Kramdown::Parser::Html::Constants::HTML_ATTRIBUTE_RE = T.let(T.unsafe(nil), Regexp)
1994
2209
 
1995
- # source://kramdown//lib/kramdown/parser/html.rb#59
2210
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:60
1996
2211
  Kramdown::Parser::Html::Constants::HTML_BLOCK_ELEMENTS = T.let(T.unsafe(nil), Array)
1997
2212
 
1998
- # source://kramdown//lib/kramdown/parser/html.rb#30
2213
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:32
2214
+ Kramdown::Parser::Html::Constants::HTML_CDATA_RE = T.let(T.unsafe(nil), Regexp)
2215
+
2216
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:30
1999
2217
  Kramdown::Parser::Html::Constants::HTML_COMMENT_RE = T.let(T.unsafe(nil), Regexp)
2000
2218
 
2001
2219
  # The following elements are also parsed as raw since they need child elements that cannot
2002
2220
  # be expressed using kramdown syntax: colgroup table tbody thead tfoot tr ul ol
2003
2221
  #
2004
- # source://kramdown//lib/kramdown/parser/html.rb#48
2222
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:49
2005
2223
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL = T.let(T.unsafe(nil), Hash)
2006
2224
 
2007
- # source://kramdown//lib/kramdown/parser/html.rb#37
2225
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:38
2008
2226
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_BLOCK = T.let(T.unsafe(nil), Array)
2009
2227
 
2010
- # source://kramdown//lib/kramdown/parser/html.rb#44
2228
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:45
2011
2229
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_RAW = T.let(T.unsafe(nil), Array)
2012
2230
 
2013
- # source://kramdown//lib/kramdown/parser/html.rb#41
2231
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:42
2014
2232
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_SPAN = T.let(T.unsafe(nil), Array)
2015
2233
 
2016
2234
  # :stopdoc:
2017
2235
  # The following regexps are based on the ones used by REXML, with some slight modifications.
2018
2236
  #
2019
- # source://kramdown//lib/kramdown/parser/html.rb#29
2237
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:29
2020
2238
  Kramdown::Parser::Html::Constants::HTML_DOCTYPE_RE = T.let(T.unsafe(nil), Regexp)
2021
2239
 
2022
- # source://kramdown//lib/kramdown/parser/html.rb#66
2240
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:67
2023
2241
  Kramdown::Parser::Html::Constants::HTML_ELEMENT = T.let(T.unsafe(nil), Hash)
2024
2242
 
2025
- # source://kramdown//lib/kramdown/parser/html.rb#63
2243
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:64
2026
2244
  Kramdown::Parser::Html::Constants::HTML_ELEMENTS_WITHOUT_BODY = T.let(T.unsafe(nil), Array)
2027
2245
 
2028
- # source://kramdown//lib/kramdown/parser/html.rb#35
2246
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:36
2029
2247
  Kramdown::Parser::Html::Constants::HTML_ENTITY_RE = T.let(T.unsafe(nil), Regexp)
2030
2248
 
2031
- # source://kramdown//lib/kramdown/parser/html.rb#31
2249
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:31
2032
2250
  Kramdown::Parser::Html::Constants::HTML_INSTRUCTION_RE = T.let(T.unsafe(nil), Regexp)
2033
2251
 
2034
2252
  # Some HTML elements like script belong to both categories (i.e. are valid in block and
2035
2253
  # span HTML) and don't appear therefore!
2036
2254
  # script, textarea
2037
2255
  #
2038
- # source://kramdown//lib/kramdown/parser/html.rb#56
2256
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:57
2039
2257
  Kramdown::Parser::Html::Constants::HTML_SPAN_ELEMENTS = T.let(T.unsafe(nil), Array)
2040
2258
 
2041
- # source://kramdown//lib/kramdown/parser/html.rb#34
2259
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:35
2042
2260
  Kramdown::Parser::Html::Constants::HTML_TAG_CLOSE_RE = T.let(T.unsafe(nil), Regexp)
2043
2261
 
2044
- # source://kramdown//lib/kramdown/parser/html.rb#33
2262
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:34
2045
2263
  Kramdown::Parser::Html::Constants::HTML_TAG_RE = T.let(T.unsafe(nil), Regexp)
2046
2264
 
2047
2265
  # Converts HTML elements to native elements if possible.
2048
2266
  #
2049
- # source://kramdown//lib/kramdown/parser/html.rb#197
2267
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:200
2050
2268
  class Kramdown::Parser::Html::ElementConverter
2051
2269
  include ::Kramdown::Parser::Html::Constants
2052
2270
  include ::Kramdown::Utils::Entities
2053
2271
 
2054
- # @return [ElementConverter] a new instance of ElementConverter
2055
- #
2056
- # source://kramdown//lib/kramdown/parser/html.rb#216
2272
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:219
2057
2273
  def initialize(root); end
2058
2274
 
2059
- # source://kramdown//lib/kramdown/parser/html.rb#384
2275
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:388
2060
2276
  def convert_a(el); end
2061
2277
 
2062
- # source://kramdown//lib/kramdown/parser/html.rb#394
2278
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:409
2063
2279
  def convert_b(el); end
2064
2280
 
2065
- # source://kramdown//lib/kramdown/parser/html.rb#417
2281
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:421
2066
2282
  def convert_code(el); end
2067
2283
 
2068
- # source://kramdown//lib/kramdown/parser/html.rb#394
2284
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:398
2069
2285
  def convert_em(el); end
2070
2286
 
2071
- # source://kramdown//lib/kramdown/parser/html.rb#408
2287
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:412
2072
2288
  def convert_h1(el); end
2073
2289
 
2074
- # source://kramdown//lib/kramdown/parser/html.rb#408
2290
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418
2075
2291
  def convert_h2(el); end
2076
2292
 
2077
- # source://kramdown//lib/kramdown/parser/html.rb#408
2293
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418
2078
2294
  def convert_h3(el); end
2079
2295
 
2080
- # source://kramdown//lib/kramdown/parser/html.rb#408
2296
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418
2081
2297
  def convert_h4(el); end
2082
2298
 
2083
- # source://kramdown//lib/kramdown/parser/html.rb#408
2299
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418
2084
2300
  def convert_h5(el); end
2085
2301
 
2086
- # source://kramdown//lib/kramdown/parser/html.rb#408
2302
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418
2087
2303
  def convert_h6(el); end
2088
2304
 
2089
- # source://kramdown//lib/kramdown/parser/html.rb#394
2305
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:409
2090
2306
  def convert_i(el); end
2091
2307
 
2092
- # source://kramdown//lib/kramdown/parser/html.rb#417
2308
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:463
2093
2309
  def convert_pre(el); end
2094
2310
 
2095
- # source://kramdown//lib/kramdown/parser/html.rb#563
2311
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:570
2096
2312
  def convert_script(el); end
2097
2313
 
2098
- # source://kramdown//lib/kramdown/parser/html.rb#394
2314
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:409
2099
2315
  def convert_strong(el); end
2100
2316
 
2101
- # source://kramdown//lib/kramdown/parser/html.rb#460
2317
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:465
2102
2318
  def convert_table(el); end
2103
2319
 
2104
- # source://kramdown//lib/kramdown/parser/html.rb#380
2320
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:384
2105
2321
  def convert_textarea(el); end
2106
2322
 
2107
- # source://kramdown//lib/kramdown/parser/html.rb#375
2323
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:379
2108
2324
  def extract_text(el, raw); end
2109
2325
 
2110
- # source://kramdown//lib/kramdown/parser/html.rb#575
2326
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:582
2111
2327
  def handle_math_tag(el); end
2112
2328
 
2113
- # @return [Boolean]
2114
- #
2115
- # source://kramdown//lib/kramdown/parser/html.rb#571
2329
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:578
2116
2330
  def is_math_tag?(el); end
2117
2331
 
2118
- # @return [Boolean]
2119
- #
2120
- # source://kramdown//lib/kramdown/parser/html.rb#503
2332
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:508
2121
2333
  def is_simple_table?(el); end
2122
2334
 
2123
2335
  # Convert the element +el+ and its children.
2124
2336
  #
2125
- # source://kramdown//lib/kramdown/parser/html.rb#225
2337
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:228
2126
2338
  def process(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil), parent = T.unsafe(nil)); end
2127
2339
 
2128
- # source://kramdown//lib/kramdown/parser/html.rb#278
2340
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:282
2129
2341
  def process_children(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil)); end
2130
2342
 
2131
- # source://kramdown//lib/kramdown/parser/html.rb#320
2343
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:324
2132
2344
  def process_html_element(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil)); end
2133
2345
 
2134
2346
  # Process the HTML text +raw+: compress whitespace (if +preserve+ is +false+) and convert
2135
2347
  # entities in entity elements.
2136
2348
  #
2137
- # source://kramdown//lib/kramdown/parser/html.rb#291
2349
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:295
2138
2350
  def process_text(raw, preserve = T.unsafe(nil)); end
2139
2351
 
2140
- # source://kramdown//lib/kramdown/parser/html.rb#326
2352
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:330
2141
2353
  def remove_text_children(el); end
2142
2354
 
2143
- # source://kramdown//lib/kramdown/parser/html.rb#359
2355
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:363
2144
2356
  def remove_whitespace_children(el); end
2145
2357
 
2146
- # source://kramdown//lib/kramdown/parser/html.rb#369
2358
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:373
2147
2359
  def set_basics(el, type, opts = T.unsafe(nil)); end
2148
2360
 
2149
- # source://kramdown//lib/kramdown/parser/html.rb#349
2361
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:353
2150
2362
  def strip_whitespace(el); end
2151
2363
 
2152
- # source://kramdown//lib/kramdown/parser/html.rb#330
2364
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:334
2153
2365
  def wrap_text_children(el); end
2154
2366
 
2155
2367
  class << self
2156
- # source://kramdown//lib/kramdown/parser/html.rb#220
2368
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:223
2157
2369
  def convert(root, el = T.unsafe(nil)); end
2158
2370
  end
2159
2371
  end
2160
2372
 
2161
- # source://kramdown//lib/kramdown/parser/html.rb#393
2373
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:397
2162
2374
  Kramdown::Parser::Html::ElementConverter::EMPHASIS_TYPE_MAP = T.let(T.unsafe(nil), Hash)
2163
2375
 
2164
- # source://kramdown//lib/kramdown/parser/html.rb#204
2376
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:207
2165
2377
  Kramdown::Parser::Html::ElementConverter::REMOVE_TEXT_CHILDREN = T.let(T.unsafe(nil), Array)
2166
2378
 
2167
- # source://kramdown//lib/kramdown/parser/html.rb#208
2379
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:211
2168
2380
  Kramdown::Parser::Html::ElementConverter::REMOVE_WHITESPACE_CHILDREN = T.let(T.unsafe(nil), Array)
2169
2381
 
2170
- # source://kramdown//lib/kramdown/parser/html.rb#213
2382
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:216
2171
2383
  Kramdown::Parser::Html::ElementConverter::SIMPLE_ELEMENTS = T.let(T.unsafe(nil), Array)
2172
2384
 
2173
- # source://kramdown//lib/kramdown/parser/html.rb#210
2385
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:213
2174
2386
  Kramdown::Parser::Html::ElementConverter::STRIP_WHITESPACE = T.let(T.unsafe(nil), Array)
2175
2387
 
2176
- # source://kramdown//lib/kramdown/parser/html.rb#206
2388
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:209
2177
2389
  Kramdown::Parser::Html::ElementConverter::WRAP_TEXT_CHILDREN = T.let(T.unsafe(nil), Array)
2178
2390
 
2179
2391
  # Contains the parsing methods. This module can be mixed into any parser to get HTML parsing
2180
2392
  # functionality. The only thing that must be provided by the class are instance variable
2393
+ # @stack for storing the needed state and @src (instance of StringScanner) for the actual
2181
2394
  # parsing.
2182
2395
  #
2183
- # source://kramdown//lib/kramdown/parser/html.rb#77
2396
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:78
2184
2397
  module Kramdown::Parser::Html::Parser
2185
2398
  include ::Kramdown::Parser::Html::Constants
2186
2399
 
@@ -2191,12 +2404,12 @@ module Kramdown::Parser::Html::Parser
2191
2404
  # element is already closed, ie. contains no body; the third parameter specifies whether the
2192
2405
  # body - and the end tag - need to be handled in case closed=false).
2193
2406
  #
2194
- # source://kramdown//lib/kramdown/parser/html.rb#87
2407
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:88
2195
2408
  def handle_html_start_tag(line = T.unsafe(nil)); end
2196
2409
 
2197
2410
  # Handle the raw HTML tag at the current position.
2198
2411
  #
2199
- # source://kramdown//lib/kramdown/parser/html.rb#127
2412
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:128
2200
2413
  def handle_raw_html_tag(name); end
2201
2414
 
2202
2415
  # Parses the given string for HTML attributes and returns the resulting hash.
@@ -2206,7 +2419,7 @@ module Kramdown::Parser::Html::Parser
2206
2419
  # If the optional +in_html_tag+ parameter is set to +false+, attributes are not modified to
2207
2420
  # contain only lowercase letters.
2208
2421
  #
2209
- # source://kramdown//lib/kramdown/parser/html.rb#114
2422
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:115
2210
2423
  def parse_html_attributes(str, line = T.unsafe(nil), in_html_tag = T.unsafe(nil)); end
2211
2424
 
2212
2425
  # Parse raw HTML from the current source position, storing the found elements in +el+.
@@ -2219,11 +2432,11 @@ module Kramdown::Parser::Html::Parser
2219
2432
  # When an HTML start tag is found, processing is deferred to #handle_html_start_tag,
2220
2433
  # providing the block given to this method.
2221
2434
  #
2222
- # source://kramdown//lib/kramdown/parser/html.rb#150
2435
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:151
2223
2436
  def parse_raw_html(el, &block); end
2224
2437
  end
2225
2438
 
2226
- # source://kramdown//lib/kramdown/parser/html.rb#139
2439
+ # pkg:gem/kramdown#lib/kramdown/parser/html.rb:140
2227
2440
  Kramdown::Parser::Html::Parser::HTML_RAW_START = T.let(T.unsafe(nil), Regexp)
2228
2441
 
2229
2442
  # Used for parsing a document in kramdown format.
@@ -2265,272 +2478,267 @@ Kramdown::Parser::Html::Parser::HTML_RAW_START = T.let(T.unsafe(nil), Regexp)
2265
2478
  #
2266
2479
  # Kramdown::Document.new(input_text, :input => 'ERBKramdown').to_html
2267
2480
  #
2268
- # source://kramdown//lib/kramdown/parser/kramdown.rb#60
2481
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:60
2269
2482
  class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2270
2483
  include ::Kramdown
2271
2484
  include ::Kramdown::Parser::Html::Constants
2272
2485
  include ::Kramdown::Parser::Html::Parser
2486
+ include ::Kramdown::Utils::Html
2273
2487
 
2274
2488
  # Create a new Kramdown parser object with the given +options+.
2275
2489
  #
2276
- # @return [Kramdown] a new instance of Kramdown
2277
- #
2278
- # source://kramdown//lib/kramdown/parser/kramdown.rb#65
2490
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:65
2279
2491
  def initialize(source, options); end
2280
2492
 
2281
2493
  # This helper methods adds the approriate attributes to the element +el+ of type +a+ or +img+
2282
2494
  # and the element itself to the @tree.
2283
2495
  #
2284
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#39
2496
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:39
2285
2497
  def add_link(el, href, title, alt_text = T.unsafe(nil), ial = T.unsafe(nil)); end
2286
2498
 
2287
2499
  # Return +true+ if we are after a block boundary.
2288
2500
  #
2289
- # @return [Boolean]
2290
- #
2291
- # source://kramdown//lib/kramdown/parser/kramdown/block_boundary.rb#21
2501
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/block_boundary.rb:21
2292
2502
  def after_block_boundary?; end
2293
2503
 
2294
2504
  # Return +true+ if we are before a block boundary.
2295
2505
  #
2296
- # @return [Boolean]
2297
- #
2298
- # source://kramdown//lib/kramdown/parser/kramdown/block_boundary.rb#28
2506
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/block_boundary.rb:28
2299
2507
  def before_block_boundary?; end
2300
2508
 
2301
2509
  # Correct abbreviation attributes.
2302
2510
  #
2303
- # source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#34
2511
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:34
2304
2512
  def correct_abbreviations_attributes; end
2305
2513
 
2306
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#96
2514
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:96
2307
2515
  def handle_extension(name, opts, body, type, line_no = T.unsafe(nil)); end
2308
2516
 
2309
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#25
2517
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:26
2310
2518
  def handle_kramdown_html_tag(el, closed, handle_body); end
2311
2519
 
2312
2520
  # Normalize the link identifier.
2313
2521
  #
2314
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#17
2522
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:17
2315
2523
  def normalize_link_id(id); end
2316
2524
 
2317
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#56
2525
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:56
2318
2526
  def paragraph_end; end
2319
2527
 
2320
2528
  # The source string provided on initialization is parsed into the @root element.
2321
2529
  #
2322
- # source://kramdown//lib/kramdown/parser/kramdown.rb#88
2530
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:88
2323
2531
  def parse; end
2324
2532
 
2325
2533
  # Parse the link definition at the current location.
2326
2534
  #
2327
- # source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#17
2535
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:17
2328
2536
  def parse_abbrev_definition; end
2329
2537
 
2330
2538
  # Parse the string +str+ and extract all attributes and add all found attributes to the hash
2331
2539
  # +opts+.
2332
2540
  #
2333
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#18
2541
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:18
2334
2542
  def parse_attribute_list(str, opts); end
2335
2543
 
2336
2544
  # Parse the Atx header at the current location.
2337
2545
  #
2338
- # source://kramdown//lib/kramdown/parser/kramdown/header.rb#32
2546
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:32
2339
2547
  def parse_atx_header; end
2340
2548
 
2341
2549
  # Parse the autolink at the current location.
2342
2550
  #
2343
- # source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#19
2551
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:19
2344
2552
  def parse_autolink; end
2345
2553
 
2346
2554
  # Parse the blank line at the current postition.
2347
2555
  #
2348
- # source://kramdown//lib/kramdown/parser/kramdown/blank_line.rb#17
2556
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/blank_line.rb:17
2349
2557
  def parse_blank_line; end
2350
2558
 
2351
2559
  # Parse one of the block extensions (ALD, block IAL or generic extension) at the current
2352
2560
  # location.
2353
2561
  #
2354
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#164
2562
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:164
2355
2563
  def parse_block_extensions; end
2356
2564
 
2357
2565
  # Parse the HTML at the current position as block-level HTML.
2358
2566
  #
2359
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#71
2567
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:73
2360
2568
  def parse_block_html; end
2361
2569
 
2362
2570
  # Parse the math block at the current location.
2363
2571
  #
2364
- # source://kramdown//lib/kramdown/parser/kramdown/math.rb#19
2572
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:19
2365
2573
  def parse_block_math; end
2366
2574
 
2367
2575
  # Parse the blockquote at the current location.
2368
2576
  #
2369
- # source://kramdown//lib/kramdown/parser/kramdown/blockquote.rb#21
2577
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/blockquote.rb:21
2370
2578
  def parse_blockquote; end
2371
2579
 
2372
2580
  # Parse the indented codeblock at the current location.
2373
2581
  #
2374
- # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#23
2582
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:23
2375
2583
  def parse_codeblock; end
2376
2584
 
2377
2585
  # Parse the fenced codeblock at the current location.
2378
2586
  #
2379
- # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#37
2587
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:37
2380
2588
  def parse_codeblock_fenced; end
2381
2589
 
2382
2590
  # Parse the codespan at the current scanner location.
2383
2591
  #
2384
- # source://kramdown//lib/kramdown/parser/kramdown/codespan.rb#17
2592
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codespan.rb:17
2385
2593
  def parse_codespan; end
2386
2594
 
2387
2595
  # Parse the ordered or unordered list at the current location.
2388
2596
  #
2389
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#153
2597
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:153
2390
2598
  def parse_definition_list; end
2391
2599
 
2392
2600
  # Parse the emphasis at the current location.
2393
2601
  #
2394
- # source://kramdown//lib/kramdown/parser/kramdown/emphasis.rb#17
2602
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/emphasis.rb:17
2395
2603
  def parse_emphasis; end
2396
2604
 
2397
2605
  # Parse the EOB marker at the current location.
2398
2606
  #
2399
- # source://kramdown//lib/kramdown/parser/kramdown/eob.rb#17
2607
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/eob.rb:17
2400
2608
  def parse_eob_marker; end
2401
2609
 
2402
2610
  # Parse the backslash-escaped character at the current location.
2403
2611
  #
2404
- # source://kramdown//lib/kramdown/parser/kramdown/escaped_chars.rb#17
2612
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/escaped_chars.rb:17
2405
2613
  def parse_escaped_chars; end
2406
2614
 
2407
2615
  # Parse the generic extension at the current point. The parameter +type+ can either be :block
2408
2616
  # or :span depending whether we parse a block or span extension tag.
2409
2617
  #
2410
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#54
2618
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:54
2411
2619
  def parse_extension_start_tag(type); end
2412
2620
 
2413
2621
  # Used for parsing the first line of a list item or a definition, i.e. the line with list item
2414
2622
  # marker or the definition marker.
2415
2623
  #
2416
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#32
2624
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:32
2417
2625
  def parse_first_list_line(indentation, content); end
2418
2626
 
2419
2627
  # Parse the foot note definition at the current location.
2420
2628
  #
2421
- # source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#21
2629
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:21
2422
2630
  def parse_footnote_definition; end
2423
2631
 
2424
2632
  # Parse the footnote marker at the current location.
2425
2633
  #
2426
- # source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#40
2634
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:40
2427
2635
  def parse_footnote_marker; end
2428
2636
 
2429
2637
  # Parse the horizontal rule at the current location.
2430
2638
  #
2431
- # source://kramdown//lib/kramdown/parser/kramdown/horizontal_rule.rb#17
2639
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/horizontal_rule.rb:17
2432
2640
  def parse_horizontal_rule; end
2433
2641
 
2434
2642
  # Parse the HTML entity at the current location.
2435
2643
  #
2436
- # source://kramdown//lib/kramdown/parser/kramdown/html_entity.rb#17
2644
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html_entity.rb:17
2437
2645
  def parse_html_entity; end
2438
2646
 
2439
2647
  # Parse the inline math at the current location.
2440
2648
  #
2441
- # source://kramdown//lib/kramdown/parser/kramdown/math.rb#44
2649
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:44
2442
2650
  def parse_inline_math; end
2443
2651
 
2444
2652
  # Parse the line break at the current location.
2445
2653
  #
2446
- # source://kramdown//lib/kramdown/parser/kramdown/line_break.rb#17
2654
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/line_break.rb:17
2447
2655
  def parse_line_break; end
2448
2656
 
2449
2657
  # Parse the link at the current scanner position. This method is used to parse normal links as
2450
2658
  # well as image links.
2451
2659
  #
2452
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#61
2660
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:61
2453
2661
  def parse_link; end
2454
2662
 
2455
2663
  # Parse the link definition at the current location.
2456
2664
  #
2457
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#24
2665
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:24
2458
2666
  def parse_link_definition; end
2459
2667
 
2460
2668
  # Parse the ordered or unordered list at the current location.
2461
2669
  #
2462
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#54
2670
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:54
2463
2671
  def parse_list; end
2464
2672
 
2465
2673
  # Parse the paragraph at the current location.
2466
2674
  #
2467
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#31
2675
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:31
2468
2676
  def parse_paragraph; end
2469
2677
 
2470
2678
  # Parse the Setext header at the current location.
2471
2679
  #
2472
- # source://kramdown//lib/kramdown/parser/kramdown/header.rb#20
2680
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:20
2473
2681
  def parse_setext_header; end
2474
2682
 
2475
2683
  # Parse the smart quotes at current location.
2476
2684
  #
2477
- # source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#158
2685
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:158
2478
2686
  def parse_smart_quotes; end
2479
2687
 
2480
2688
  # Parse the extension span at the current location.
2481
2689
  #
2482
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#192
2690
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:192
2483
2691
  def parse_span_extensions; end
2484
2692
 
2485
2693
  # Parse the HTML at the current position as span-level HTML.
2486
2694
  #
2487
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#102
2695
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:102
2488
2696
  def parse_span_html; end
2489
2697
 
2490
2698
  # Parse the table at the current location.
2491
2699
  #
2492
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#25
2700
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:25
2493
2701
  def parse_table; end
2494
2702
 
2495
2703
  # Parse the typographic symbols at the current location.
2496
2704
  #
2497
- # source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#22
2705
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:22
2498
2706
  def parse_typographic_syms; end
2499
2707
 
2500
2708
  # Replace the abbreviation text with elements.
2501
2709
  #
2502
- # source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#41
2710
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:41
2503
2711
  def replace_abbreviations(el, regexps = T.unsafe(nil)); end
2504
2712
 
2505
2713
  # Update the +ial+ with the information from the inline attribute list +opts+.
2506
2714
  #
2507
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#41
2715
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:41
2508
2716
  def update_ial_with_ial(ial, opts); end
2509
2717
 
2510
2718
  protected
2511
2719
 
2512
- # source://kramdown//lib/kramdown/parser/kramdown/header.rb#59
2720
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:59
2513
2721
  def add_header(level, text, id); end
2514
2722
 
2515
2723
  # Adapt the object to allow parsing like specified in the options.
2516
2724
  #
2517
- # source://kramdown//lib/kramdown/parser/kramdown.rb#121
2725
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:121
2518
2726
  def configure_parser; end
2519
2727
 
2520
2728
  # Create a new block-level element, taking care of applying a preceding block IAL if it
2521
2729
  # exists. This method should always be used for creating a block-level element!
2522
2730
  #
2523
- # source://kramdown//lib/kramdown/parser/kramdown.rb#305
2731
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:306
2524
2732
  def new_block_el(*args); end
2525
2733
 
2526
2734
  # Parse all block-level elements in +text+ into the element +el+.
2527
2735
  #
2528
- # source://kramdown//lib/kramdown/parser/kramdown.rb#140
2736
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:140
2529
2737
  def parse_blocks(el, text = T.unsafe(nil)); end
2530
2738
 
2531
2739
  # Returns header text and optional ID.
2532
2740
  #
2533
- # source://kramdown//lib/kramdown/parser/kramdown/header.rb#47
2741
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:47
2534
2742
  def parse_header_contents; end
2535
2743
 
2536
2744
  # Parse all span-level elements in the source string of @src into +el+.
@@ -2543,55 +2751,54 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2543
2751
  #
2544
2752
  # The parameter +text_type+ specifies the type which should be used for created text nodes.
2545
2753
  #
2546
- # source://kramdown//lib/kramdown/parser/kramdown.rb#214
2754
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:215
2547
2755
  def parse_spans(el, stop_re = T.unsafe(nil), parsers = T.unsafe(nil), text_type = T.unsafe(nil)); end
2548
2756
 
2549
2757
  # Reset the current parsing environment. The parameter +env+ can be used to set initial
2550
2758
  # values for one or more environment variables.
2551
2759
  #
2552
- # source://kramdown//lib/kramdown/parser/kramdown.rb#253
2760
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:254
2553
2761
  def reset_env(opts = T.unsafe(nil)); end
2554
2762
 
2555
2763
  # Restore the current parsing environment.
2556
2764
  #
2557
- # source://kramdown//lib/kramdown/parser/kramdown.rb#268
2765
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:269
2558
2766
  def restore_env(env); end
2559
2767
 
2560
2768
  # Return the current parsing environment.
2561
2769
  #
2562
- # source://kramdown//lib/kramdown/parser/kramdown.rb#263
2770
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:264
2563
2771
  def save_env; end
2564
2772
 
2565
2773
  # Create the needed span parser regexps.
2566
2774
  #
2567
- # source://kramdown//lib/kramdown/parser/kramdown.rb#134
2775
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:134
2568
2776
  def span_parser_regexps(parsers = T.unsafe(nil)); end
2569
2777
 
2570
2778
  # Update the given attributes hash +attr+ with the information from the inline attribute list
2571
2779
  # +ial+ and all referenced ALDs.
2572
2780
  #
2573
- # source://kramdown//lib/kramdown/parser/kramdown.rb#274
2781
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:275
2574
2782
  def update_attr_with_ial(attr, ial); end
2575
2783
 
2576
- #
2577
2784
  # Update the parser specific link definitions with the data from +link_defs+ (the value of the
2578
2785
  # :link_defs option).
2579
2786
  #
2580
2787
  # The parameter +link_defs+ is a hash where the keys are possibly unnormalized link IDs and
2581
2788
  # the values are two element arrays consisting of the link target and a title (can be +nil+).
2582
2789
  #
2583
- # source://kramdown//lib/kramdown/parser/kramdown.rb#116
2790
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:116
2584
2791
  def update_link_definitions(link_defs); end
2585
2792
 
2586
2793
  # Update the raw text for automatic ID generation.
2587
2794
  #
2588
- # source://kramdown//lib/kramdown/parser/kramdown.rb#288
2795
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:289
2589
2796
  def update_raw_text(item); end
2590
2797
 
2591
2798
  # Update the tree by parsing all :+raw_text+ elements with the span-level parser (resets the
2592
2799
  # environment) and by updating the attributes from the IALs.
2593
2800
  #
2594
- # source://kramdown//lib/kramdown/parser/kramdown.rb#166
2801
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:166
2595
2802
  def update_tree(element); end
2596
2803
 
2597
2804
  private
@@ -2599,10 +2806,10 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2599
2806
  # precomputed patterns for indentations 1..4 and fallback expression
2600
2807
  # to compute pattern when indentation is outside the 1..4 range.
2601
2808
  #
2602
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#258
2809
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:258
2603
2810
  def fetch_pattern(type, indentation); end
2604
2811
 
2605
- # source://kramdown//lib/kramdown/parser/kramdown.rb#200
2812
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:201
2606
2813
  def span_pattern_cache(stop_re, span_start); end
2607
2814
 
2608
2815
  class << self
@@ -2616,355 +2823,342 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2616
2823
  # to the registry. The method name is automatically derived from the +name+ or can explicitly
2617
2824
  # be set by using the +meth_name+ parameter.
2618
2825
  #
2619
- # source://kramdown//lib/kramdown/parser/kramdown.rb#328
2826
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:329
2620
2827
  def define_parser(name, start_re, span_start = T.unsafe(nil), meth_name = T.unsafe(nil)); end
2621
2828
 
2622
2829
  # Return +true+ if there is a parser called +name+.
2623
2830
  #
2624
- # @return [Boolean]
2625
- #
2626
- # source://kramdown//lib/kramdown/parser/kramdown.rb#339
2831
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:340
2627
2832
  def has_parser?(name); end
2628
2833
 
2629
2834
  # Return the Data structure for the parser +name+.
2630
2835
  #
2631
- # source://kramdown//lib/kramdown/parser/kramdown.rb#334
2836
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:335
2632
2837
  def parser(name = T.unsafe(nil)); end
2633
2838
  end
2634
2839
  end
2635
2840
 
2636
- # source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#14
2841
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:14
2637
2842
  Kramdown::Parser::Kramdown::ABBREV_DEFINITION_START = T.let(T.unsafe(nil), Regexp)
2638
2843
 
2639
- # source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#14
2844
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:14
2640
2845
  Kramdown::Parser::Kramdown::ACHARS = T.let(T.unsafe(nil), String)
2641
2846
 
2642
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#140
2847
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:140
2643
2848
  Kramdown::Parser::Kramdown::ALD_ANY_CHARS = T.let(T.unsafe(nil), Regexp)
2644
2849
 
2645
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#142
2850
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:142
2646
2851
  Kramdown::Parser::Kramdown::ALD_CLASS_NAME = T.let(T.unsafe(nil), Regexp)
2647
2852
 
2648
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#139
2853
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:139
2649
2854
  Kramdown::Parser::Kramdown::ALD_ID_CHARS = T.let(T.unsafe(nil), Regexp)
2650
2855
 
2651
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#141
2856
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:141
2652
2857
  Kramdown::Parser::Kramdown::ALD_ID_NAME = T.let(T.unsafe(nil), Regexp)
2653
2858
 
2654
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#150
2859
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:150
2655
2860
  Kramdown::Parser::Kramdown::ALD_START = T.let(T.unsafe(nil), Regexp)
2656
2861
 
2657
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#149
2862
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:149
2658
2863
  Kramdown::Parser::Kramdown::ALD_TYPE_ANY = T.let(T.unsafe(nil), Regexp)
2659
2864
 
2660
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#144
2865
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:144
2661
2866
  Kramdown::Parser::Kramdown::ALD_TYPE_CLASS_NAME = T.let(T.unsafe(nil), Regexp)
2662
2867
 
2663
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#145
2868
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:145
2664
2869
  Kramdown::Parser::Kramdown::ALD_TYPE_ID_NAME = T.let(T.unsafe(nil), Regexp)
2665
2870
 
2666
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#146
2871
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:146
2667
2872
  Kramdown::Parser::Kramdown::ALD_TYPE_ID_OR_CLASS = T.let(T.unsafe(nil), Regexp)
2668
2873
 
2669
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#147
2874
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:147
2670
2875
  Kramdown::Parser::Kramdown::ALD_TYPE_ID_OR_CLASS_MULTI = T.let(T.unsafe(nil), Regexp)
2671
2876
 
2672
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#143
2877
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:143
2673
2878
  Kramdown::Parser::Kramdown::ALD_TYPE_KEY_VALUE_PAIR = T.let(T.unsafe(nil), Regexp)
2674
2879
 
2675
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#148
2880
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:148
2676
2881
  Kramdown::Parser::Kramdown::ALD_TYPE_REF = T.let(T.unsafe(nil), Regexp)
2677
2882
 
2678
- # source://kramdown//lib/kramdown/parser/kramdown/header.rb#29
2883
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:29
2679
2884
  Kramdown::Parser::Kramdown::ATX_HEADER_START = T.let(T.unsafe(nil), Regexp)
2680
2885
 
2681
- # source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#16
2886
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:16
2682
2887
  Kramdown::Parser::Kramdown::AUTOLINK_START = T.let(T.unsafe(nil), Regexp)
2683
2888
 
2684
- # source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#15
2889
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:15
2685
2890
  Kramdown::Parser::Kramdown::AUTOLINK_START_STR = T.let(T.unsafe(nil), String)
2686
2891
 
2687
- # source://kramdown//lib/kramdown/parser/kramdown/blank_line.rb#14
2892
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/blank_line.rb:14
2688
2893
  Kramdown::Parser::Kramdown::BLANK_LINE = T.let(T.unsafe(nil), Regexp)
2689
2894
 
2690
- # source://kramdown//lib/kramdown/parser/kramdown/blockquote.rb#18
2895
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/blockquote.rb:18
2691
2896
  Kramdown::Parser::Kramdown::BLOCKQUOTE_START = T.let(T.unsafe(nil), Regexp)
2692
2897
 
2693
- # source://kramdown//lib/kramdown/parser/kramdown/block_boundary.rb#18
2898
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/block_boundary.rb:18
2694
2899
  Kramdown::Parser::Kramdown::BLOCK_BOUNDARY = T.let(T.unsafe(nil), Regexp)
2695
2900
 
2696
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#160
2901
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:160
2697
2902
  Kramdown::Parser::Kramdown::BLOCK_EXTENSIONS_START = T.let(T.unsafe(nil), Regexp)
2698
2903
 
2699
- # source://kramdown//lib/kramdown/parser/kramdown/math.rb#16
2904
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:16
2700
2905
  Kramdown::Parser::Kramdown::BLOCK_MATH_START = T.let(T.unsafe(nil), Regexp)
2701
2906
 
2702
- # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#20
2907
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:20
2703
2908
  Kramdown::Parser::Kramdown::CODEBLOCK_MATCH = T.let(T.unsafe(nil), Regexp)
2704
2909
 
2705
- # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#19
2910
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:19
2706
2911
  Kramdown::Parser::Kramdown::CODEBLOCK_START = T.let(T.unsafe(nil), Regexp)
2707
2912
 
2708
- # source://kramdown//lib/kramdown/parser/kramdown/codespan.rb#14
2913
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codespan.rb:14
2709
2914
  Kramdown::Parser::Kramdown::CODESPAN_DELIMITER = T.let(T.unsafe(nil), Regexp)
2710
2915
 
2711
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#150
2916
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:150
2712
2917
  Kramdown::Parser::Kramdown::DEFINITION_LIST_START = T.let(T.unsafe(nil), Regexp)
2713
2918
 
2714
2919
  # Struct class holding all the needed data for one block/span-level parser method.
2715
2920
  #
2716
- # source://kramdown//lib/kramdown/parser/kramdown.rb#317
2921
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2717
2922
  class Kramdown::Parser::Kramdown::Data < ::Struct
2718
- # Returns the value of attribute method
2719
- #
2720
- # @return [Object] the current value of method
2923
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2721
2924
  def method; end
2722
2925
 
2723
- # Sets the attribute method
2724
- #
2725
- # @param value [Object] the value to set the attribute method to.
2726
- # @return [Object] the newly set value
2926
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2727
2927
  def method=(_); end
2728
2928
 
2729
- # Returns the value of attribute name
2730
- #
2731
- # @return [Object] the current value of name
2929
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2732
2930
  def name; end
2733
2931
 
2734
- # Sets the attribute name
2735
- #
2736
- # @param value [Object] the value to set the attribute name to.
2737
- # @return [Object] the newly set value
2932
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2738
2933
  def name=(_); end
2739
2934
 
2740
- # Returns the value of attribute span_start
2741
- #
2742
- # @return [Object] the current value of span_start
2935
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2743
2936
  def span_start; end
2744
2937
 
2745
- # Sets the attribute span_start
2746
- #
2747
- # @param value [Object] the value to set the attribute span_start to.
2748
- # @return [Object] the newly set value
2938
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2749
2939
  def span_start=(_); end
2750
2940
 
2751
- # Returns the value of attribute start_re
2752
- #
2753
- # @return [Object] the current value of start_re
2941
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2754
2942
  def start_re; end
2755
2943
 
2756
- # Sets the attribute start_re
2757
- #
2758
- # @param value [Object] the value to set the attribute start_re to.
2759
- # @return [Object] the newly set value
2944
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2760
2945
  def start_re=(_); end
2761
2946
 
2762
2947
  class << self
2948
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2763
2949
  def [](*_arg0); end
2950
+
2951
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2764
2952
  def inspect; end
2953
+
2954
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2765
2955
  def keyword_init?; end
2956
+
2957
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2766
2958
  def members; end
2959
+
2960
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318
2767
2961
  def new(*_arg0); end
2768
2962
  end
2769
2963
  end
2770
2964
 
2771
- # source://kramdown//lib/kramdown/parser/kramdown/emphasis.rb#14
2965
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/emphasis.rb:14
2772
2966
  Kramdown::Parser::Kramdown::EMPHASIS_START = T.let(T.unsafe(nil), Regexp)
2773
2967
 
2774
- # source://kramdown//lib/kramdown/parser/kramdown/eob.rb#14
2968
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/eob.rb:14
2775
2969
  Kramdown::Parser::Kramdown::EOB_MARKER = T.let(T.unsafe(nil), Regexp)
2776
2970
 
2777
- # source://kramdown//lib/kramdown/parser/kramdown/escaped_chars.rb#14
2971
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/escaped_chars.rb:14
2778
2972
  Kramdown::Parser::Kramdown::ESCAPED_CHARS = T.let(T.unsafe(nil), Regexp)
2779
2973
 
2780
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#154
2974
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:154
2781
2975
  Kramdown::Parser::Kramdown::EXT_BLOCK_START = T.let(T.unsafe(nil), Regexp)
2782
2976
 
2783
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#155
2977
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:155
2784
2978
  Kramdown::Parser::Kramdown::EXT_BLOCK_STOP_STR = T.let(T.unsafe(nil), String)
2785
2979
 
2786
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#187
2980
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:187
2787
2981
  Kramdown::Parser::Kramdown::EXT_SPAN_START = T.let(T.unsafe(nil), Regexp)
2788
2982
 
2789
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#153
2983
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:153
2790
2984
  Kramdown::Parser::Kramdown::EXT_START_STR = T.let(T.unsafe(nil), String)
2791
2985
 
2792
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#152
2986
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:152
2793
2987
  Kramdown::Parser::Kramdown::EXT_STOP_STR = T.let(T.unsafe(nil), String)
2794
2988
 
2795
- # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#34
2989
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:34
2796
2990
  Kramdown::Parser::Kramdown::FENCED_CODEBLOCK_MATCH = T.let(T.unsafe(nil), Regexp)
2797
2991
 
2798
- # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#33
2992
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:33
2799
2993
  Kramdown::Parser::Kramdown::FENCED_CODEBLOCK_START = T.let(T.unsafe(nil), Regexp)
2800
2994
 
2801
- # source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#18
2995
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:18
2802
2996
  Kramdown::Parser::Kramdown::FOOTNOTE_DEFINITION_START = T.let(T.unsafe(nil), Regexp)
2803
2997
 
2804
- # source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#37
2998
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:37
2805
2999
  Kramdown::Parser::Kramdown::FOOTNOTE_MARKER_START = T.let(T.unsafe(nil), Regexp)
2806
3000
 
2807
- # source://kramdown//lib/kramdown/parser/kramdown/header.rb#44
3001
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:44
2808
3002
  Kramdown::Parser::Kramdown::HEADER_ID = T.let(T.unsafe(nil), Regexp)
2809
3003
 
2810
- # source://kramdown//lib/kramdown/parser/kramdown/horizontal_rule.rb#14
3004
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/horizontal_rule.rb:14
2811
3005
  Kramdown::Parser::Kramdown::HR_START = T.let(T.unsafe(nil), Regexp)
2812
3006
 
2813
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#68
3007
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:70
2814
3008
  Kramdown::Parser::Kramdown::HTML_BLOCK_START = T.let(T.unsafe(nil), Regexp)
2815
3009
 
2816
3010
  # Mapping of markdown attribute value to content model. I.e. :raw when "0", :default when "1"
2817
3011
  # (use default content model for the HTML element), :span when "span", :block when block and
2818
3012
  # for everything else +nil+ is returned.
2819
3013
  #
2820
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#21
3014
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:22
2821
3015
  Kramdown::Parser::Kramdown::HTML_MARKDOWN_ATTR_MAP = T.let(T.unsafe(nil), Hash)
2822
3016
 
2823
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#99
3017
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:99
2824
3018
  Kramdown::Parser::Kramdown::HTML_SPAN_START = T.let(T.unsafe(nil), Regexp)
2825
3019
 
2826
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#157
3020
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:157
2827
3021
  Kramdown::Parser::Kramdown::IAL_BLOCK = T.let(T.unsafe(nil), Regexp)
2828
3022
 
2829
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#158
3023
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:158
2830
3024
  Kramdown::Parser::Kramdown::IAL_BLOCK_START = T.let(T.unsafe(nil), Regexp)
2831
3025
 
2832
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#14
3026
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:14
2833
3027
  Kramdown::Parser::Kramdown::IAL_CLASS_ATTR = T.let(T.unsafe(nil), String)
2834
3028
 
2835
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#188
3029
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:188
2836
3030
  Kramdown::Parser::Kramdown::IAL_SPAN_START = T.let(T.unsafe(nil), Regexp)
2837
3031
 
2838
3032
  # Regexp for matching indentation (one tab or four spaces)
2839
3033
  #
2840
- # source://kramdown//lib/kramdown/parser/kramdown.rb#344
3034
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:345
2841
3035
  Kramdown::Parser::Kramdown::INDENT = T.let(T.unsafe(nil), Regexp)
2842
3036
 
2843
- # source://kramdown//lib/kramdown/parser/kramdown/math.rb#41
3037
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:41
2844
3038
  Kramdown::Parser::Kramdown::INLINE_MATH_START = T.let(T.unsafe(nil), Regexp)
2845
3039
 
2846
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#24
3040
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:24
2847
3041
  Kramdown::Parser::Kramdown::LAZY_END = T.let(T.unsafe(nil), Regexp)
2848
3042
 
2849
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#20
3043
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:20
2850
3044
  Kramdown::Parser::Kramdown::LAZY_END_HTML_SPAN_ELEMENTS = T.let(T.unsafe(nil), Array)
2851
3045
 
2852
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#21
3046
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:21
2853
3047
  Kramdown::Parser::Kramdown::LAZY_END_HTML_START = T.let(T.unsafe(nil), Regexp)
2854
3048
 
2855
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#22
3049
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:22
2856
3050
  Kramdown::Parser::Kramdown::LAZY_END_HTML_STOP = T.let(T.unsafe(nil), Regexp)
2857
3051
 
2858
- # source://kramdown//lib/kramdown/parser/kramdown/line_break.rb#14
3052
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/line_break.rb:14
2859
3053
  Kramdown::Parser::Kramdown::LINE_BREAK = T.let(T.unsafe(nil), Regexp)
2860
3054
 
2861
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#53
3055
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:53
2862
3056
  Kramdown::Parser::Kramdown::LINK_BRACKET_STOP_RE = T.let(T.unsafe(nil), Regexp)
2863
3057
 
2864
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#21
3058
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:21
2865
3059
  Kramdown::Parser::Kramdown::LINK_DEFINITION_START = T.let(T.unsafe(nil), Regexp)
2866
3060
 
2867
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#55
3061
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:55
2868
3062
  Kramdown::Parser::Kramdown::LINK_INLINE_ID_RE = T.let(T.unsafe(nil), Regexp)
2869
3063
 
2870
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#56
3064
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:56
2871
3065
  Kramdown::Parser::Kramdown::LINK_INLINE_TITLE_RE = T.let(T.unsafe(nil), Regexp)
2872
3066
 
2873
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#54
3067
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:54
2874
3068
  Kramdown::Parser::Kramdown::LINK_PAREN_STOP_RE = T.let(T.unsafe(nil), Regexp)
2875
3069
 
2876
- # source://kramdown//lib/kramdown/parser/kramdown/link.rb#57
3070
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:57
2877
3071
  Kramdown::Parser::Kramdown::LINK_START = T.let(T.unsafe(nil), Regexp)
2878
3072
 
2879
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#19
3073
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:19
2880
3074
  Kramdown::Parser::Kramdown::LIST_ITEM_IAL = T.let(T.unsafe(nil), Regexp)
2881
3075
 
2882
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#20
3076
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:20
2883
3077
  Kramdown::Parser::Kramdown::LIST_ITEM_IAL_CHECK = T.let(T.unsafe(nil), Regexp)
2884
3078
 
2885
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#51
3079
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:51
2886
3080
  Kramdown::Parser::Kramdown::LIST_START = T.let(T.unsafe(nil), Regexp)
2887
3081
 
2888
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#50
3082
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:50
2889
3083
  Kramdown::Parser::Kramdown::LIST_START_OL = T.let(T.unsafe(nil), Regexp)
2890
3084
 
2891
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#49
3085
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:49
2892
3086
  Kramdown::Parser::Kramdown::LIST_START_UL = T.let(T.unsafe(nil), Regexp)
2893
3087
 
2894
3088
  # Regexp for matching the optional space (zero or up to three spaces)
2895
3089
  #
2896
- # source://kramdown//lib/kramdown/parser/kramdown.rb#346
3090
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:347
2897
3091
  Kramdown::Parser::Kramdown::OPT_SPACE = T.let(T.unsafe(nil), Regexp)
2898
3092
 
2899
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#28
3093
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:28
2900
3094
  Kramdown::Parser::Kramdown::PARAGRAPH_END = T.let(T.unsafe(nil), Regexp)
2901
3095
 
2902
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#27
3096
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:27
2903
3097
  Kramdown::Parser::Kramdown::PARAGRAPH_MATCH = T.let(T.unsafe(nil), Regexp)
2904
3098
 
2905
- # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#26
3099
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:26
2906
3100
  Kramdown::Parser::Kramdown::PARAGRAPH_START = T.let(T.unsafe(nil), Regexp)
2907
3101
 
2908
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#22
3102
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:22
2909
3103
  Kramdown::Parser::Kramdown::PARSE_FIRST_LIST_LINE_REGEXP_CACHE = T.let(T.unsafe(nil), Hash)
2910
3104
 
2911
- # source://kramdown//lib/kramdown/parser/kramdown/list.rb#47
3105
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:47
2912
3106
  Kramdown::Parser::Kramdown::PATTERN_TAIL = T.let(T.unsafe(nil), Regexp)
2913
3107
 
2914
- # source://kramdown//lib/kramdown/parser/kramdown/header.rb#17
3108
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:17
2915
3109
  Kramdown::Parser::Kramdown::SETEXT_HEADER_START = T.let(T.unsafe(nil), Regexp)
2916
3110
 
2917
- # source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#155
3111
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:155
2918
3112
  Kramdown::Parser::Kramdown::SMART_QUOTES_RE = T.let(T.unsafe(nil), Regexp)
2919
3113
 
2920
- # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#189
3114
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:189
2921
3115
  Kramdown::Parser::Kramdown::SPAN_EXTENSIONS_START = T.let(T.unsafe(nil), Regexp)
2922
3116
 
2923
- # source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#122
3117
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:122
2924
3118
  Kramdown::Parser::Kramdown::SQ_CLOSE = T.let(T.unsafe(nil), String)
2925
3119
 
2926
- # source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#121
3120
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:121
2927
3121
  Kramdown::Parser::Kramdown::SQ_PUNCT = T.let(T.unsafe(nil), String)
2928
3122
 
2929
- # source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#124
3123
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:124
2930
3124
  Kramdown::Parser::Kramdown::SQ_RULES = T.let(T.unsafe(nil), Array)
2931
3125
 
2932
3126
  # '"
2933
3127
  #
2934
- # source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#145
3128
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:145
2935
3129
  Kramdown::Parser::Kramdown::SQ_SUBSTS = T.let(T.unsafe(nil), Hash)
2936
3130
 
2937
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#18
3131
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:18
2938
3132
  Kramdown::Parser::Kramdown::TABLE_FSEP_LINE = T.let(T.unsafe(nil), Regexp)
2939
3133
 
2940
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#17
3134
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:17
2941
3135
  Kramdown::Parser::Kramdown::TABLE_HSEP_ALIGN = T.let(T.unsafe(nil), Regexp)
2942
3136
 
2943
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#21
3137
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:21
2944
3138
  Kramdown::Parser::Kramdown::TABLE_LINE = T.let(T.unsafe(nil), Regexp)
2945
3139
 
2946
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#20
3140
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:20
2947
3141
  Kramdown::Parser::Kramdown::TABLE_PIPE_CHECK = T.let(T.unsafe(nil), Regexp)
2948
3142
 
2949
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#19
3143
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:19
2950
3144
  Kramdown::Parser::Kramdown::TABLE_ROW_LINE = T.let(T.unsafe(nil), Regexp)
2951
3145
 
2952
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#16
3146
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:16
2953
3147
  Kramdown::Parser::Kramdown::TABLE_SEP_LINE = T.let(T.unsafe(nil), Regexp)
2954
3148
 
2955
- # source://kramdown//lib/kramdown/parser/kramdown/table.rb#22
3149
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:22
2956
3150
  Kramdown::Parser::Kramdown::TABLE_START = T.let(T.unsafe(nil), Regexp)
2957
3151
 
2958
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#23
3152
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:24
2959
3153
  Kramdown::Parser::Kramdown::TRAILING_WHITESPACE = T.let(T.unsafe(nil), Regexp)
2960
3154
 
2961
- # source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#14
3155
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:14
2962
3156
  Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Array)
2963
3157
 
2964
- # source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#19
3158
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:19
2965
3159
  Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS_RE = T.let(T.unsafe(nil), Regexp)
2966
3160
 
2967
- # source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#18
3161
+ # pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:18
2968
3162
  Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS_SUBST = T.let(T.unsafe(nil), Hash)
2969
3163
 
2970
3164
  # Used for parsing a document in Markdown format.
@@ -2977,43 +3171,41 @@ Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS_SUBST = T.let(T.unsafe(nil), Hash)
2977
3171
  # Note, though, that the parser basically fails just one of the Markdown test cases (some others
2978
3172
  # also fail but those failures are negligible).
2979
3173
  #
2980
- # source://kramdown//lib/kramdown/parser/markdown.rb#25
3174
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:25
2981
3175
  class Kramdown::Parser::Markdown < ::Kramdown::Parser::Kramdown
2982
- # @return [Markdown] a new instance of Markdown
2983
- #
2984
- # source://kramdown//lib/kramdown/parser/markdown.rb#32
3176
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:32
2985
3177
  def initialize(source, options); end
2986
3178
  end
2987
3179
 
2988
3180
  # :stopdoc:
2989
3181
  #
2990
- # source://kramdown//lib/kramdown/parser/markdown.rb#40
3182
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:40
2991
3183
  Kramdown::Parser::Markdown::BLOCK_BOUNDARY = T.let(T.unsafe(nil), Regexp)
2992
3184
 
2993
- # source://kramdown//lib/kramdown/parser/markdown.rb#43
3185
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:43
2994
3186
  Kramdown::Parser::Markdown::CODEBLOCK_MATCH = T.let(T.unsafe(nil), Regexp)
2995
3187
 
2996
3188
  # Array with all the parsing methods that should be removed from the standard kramdown parser.
2997
3189
  #
2998
- # source://kramdown//lib/kramdown/parser/markdown.rb#28
3190
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:28
2999
3191
  Kramdown::Parser::Markdown::EXTENDED = T.let(T.unsafe(nil), Array)
3000
3192
 
3001
- # source://kramdown//lib/kramdown/parser/markdown.rb#46
3193
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:46
3002
3194
  Kramdown::Parser::Markdown::IAL_RAND_CHARS = T.let(T.unsafe(nil), Array)
3003
3195
 
3004
- # source://kramdown//lib/kramdown/parser/markdown.rb#47
3196
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:47
3005
3197
  Kramdown::Parser::Markdown::IAL_RAND_STRING = T.let(T.unsafe(nil), String)
3006
3198
 
3007
- # source://kramdown//lib/kramdown/parser/markdown.rb#49
3199
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:49
3008
3200
  Kramdown::Parser::Markdown::IAL_SPAN_START = T.let(T.unsafe(nil), Regexp)
3009
3201
 
3010
- # source://kramdown//lib/kramdown/parser/markdown.rb#41
3202
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:41
3011
3203
  Kramdown::Parser::Markdown::LAZY_END = T.let(T.unsafe(nil), Regexp)
3012
3204
 
3013
- # source://kramdown//lib/kramdown/parser/markdown.rb#48
3205
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:48
3014
3206
  Kramdown::Parser::Markdown::LIST_ITEM_IAL = T.let(T.unsafe(nil), Regexp)
3015
3207
 
3016
- # source://kramdown//lib/kramdown/parser/markdown.rb#44
3208
+ # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:44
3017
3209
  Kramdown::Parser::Markdown::PARAGRAPH_END = T.let(T.unsafe(nil), Regexp)
3018
3210
 
3019
3211
  # == \Utils Module
@@ -3021,27 +3213,27 @@ Kramdown::Parser::Markdown::PARAGRAPH_END = T.let(T.unsafe(nil), Regexp)
3021
3213
  # This module contains utility class/modules/methods that can be used by both parsers and
3022
3214
  # converters.
3023
3215
  #
3024
- # source://kramdown//lib/kramdown/utils.rb#16
3216
+ # pkg:gem/kramdown#lib/kramdown/utils.rb:16
3025
3217
  module Kramdown::Utils
3026
3218
  class << self
3027
3219
  # Treat +name+ as if it were snake cased (e.g. snake_case) and camelize it (e.g. SnakeCase).
3028
3220
  #
3029
- # source://kramdown//lib/kramdown/utils.rb#26
3221
+ # pkg:gem/kramdown#lib/kramdown/utils.rb:26
3030
3222
  def camelize(name); end
3031
3223
 
3032
- # source://kramdown//lib/kramdown/utils.rb#39
3224
+ # pkg:gem/kramdown#lib/kramdown/utils.rb:39
3033
3225
  def deep_const_get(str); end
3034
3226
 
3035
3227
  # Treat +name+ as if it were camelized (e.g. CamelizedName) and snake-case it (e.g. camelized_name).
3036
3228
  #
3037
- # source://kramdown//lib/kramdown/utils.rb#31
3229
+ # pkg:gem/kramdown#lib/kramdown/utils.rb:31
3038
3230
  def snake_case(name); end
3039
3231
  end
3040
3232
  end
3041
3233
 
3042
3234
  # Methods for registering configurable extensions.
3043
3235
  #
3044
- # source://kramdown//lib/kramdown/utils/configurable.rb#14
3236
+ # pkg:gem/kramdown#lib/kramdown/utils/configurable.rb:14
3045
3237
  module Kramdown::Utils::Configurable
3046
3238
  # Create a new configurable extension called +name+.
3047
3239
  #
@@ -3056,32 +3248,32 @@ module Kramdown::Utils::Configurable
3056
3248
  # add_<name>(ext_name, data=nil, &block):: Define an extension +ext_name+ by specifying either
3057
3249
  # the data as argument or by using a block.
3058
3250
  #
3059
- # source://kramdown//lib/kramdown/utils/configurable.rb#28
3251
+ # pkg:gem/kramdown#lib/kramdown/utils/configurable.rb:28
3060
3252
  def configurable(name); end
3061
3253
  end
3062
3254
 
3063
3255
  # Provides convenience methods for handling named and numeric entities.
3064
3256
  #
3065
- # source://kramdown//lib/kramdown/utils/entities.rb#15
3257
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:15
3066
3258
  module Kramdown::Utils::Entities
3067
3259
  private
3068
3260
 
3069
3261
  # Return the entity for the given code point or name +point_or_name+.
3070
3262
  #
3071
- # source://kramdown//lib/kramdown/utils/entities.rb#334
3263
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:990
3072
3264
  def entity(point_or_name); end
3073
3265
 
3074
3266
  class << self
3075
3267
  # Return the entity for the given code point or name +point_or_name+.
3076
3268
  #
3077
- # source://kramdown//lib/kramdown/utils/entities.rb#334
3269
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:994
3078
3270
  def entity(point_or_name); end
3079
3271
  end
3080
3272
  end
3081
3273
 
3082
3274
  # Contains the mapping of code point (or name) to the actual Entity object.
3083
3275
  #
3084
- # source://kramdown//lib/kramdown/utils/entities.rb#317
3276
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:973
3085
3277
  Kramdown::Utils::Entities::ENTITY_MAP = T.let(T.unsafe(nil), Hash)
3086
3278
 
3087
3279
  # Array of arrays. Each sub-array specifies a code point and the associated name.
@@ -3089,45 +3281,42 @@ Kramdown::Utils::Entities::ENTITY_MAP = T.let(T.unsafe(nil), Hash)
3089
3281
  # This table is not used directly -- Entity objects are automatically created from it and put
3090
3282
  # into a Hash map when this file is loaded.
3091
3283
  #
3092
- # source://kramdown//lib/kramdown/utils/entities.rb#29
3284
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:29
3093
3285
  Kramdown::Utils::Entities::ENTITY_TABLE = T.let(T.unsafe(nil), Array)
3094
3286
 
3095
3287
  # Represents an entity that has a +code_point+ and +name+.
3096
3288
  #
3097
- # source://kramdown//lib/kramdown/utils/entities.rb#18
3289
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3098
3290
  class Kramdown::Utils::Entities::Entity < ::Struct
3099
- # Return the UTF8 representation of the entity.
3100
- #
3101
- # source://kramdown//lib/kramdown/utils/entities.rb#20
3291
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:20
3102
3292
  def char; end
3103
3293
 
3104
- # Returns the value of attribute code_point
3105
- #
3106
- # @return [Object] the current value of code_point
3294
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3107
3295
  def code_point; end
3108
3296
 
3109
- # Sets the attribute code_point
3110
- #
3111
- # @param value [Object] the value to set the attribute code_point to.
3112
- # @return [Object] the newly set value
3297
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3113
3298
  def code_point=(_); end
3114
3299
 
3115
- # Returns the value of attribute name
3116
- #
3117
- # @return [Object] the current value of name
3300
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3118
3301
  def name; end
3119
3302
 
3120
- # Sets the attribute name
3121
- #
3122
- # @param value [Object] the value to set the attribute name to.
3123
- # @return [Object] the newly set value
3303
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3124
3304
  def name=(_); end
3125
3305
 
3126
3306
  class << self
3307
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3127
3308
  def [](*_arg0); end
3309
+
3310
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3128
3311
  def inspect; end
3312
+
3313
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3129
3314
  def keyword_init?; end
3315
+
3316
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3130
3317
  def members; end
3318
+
3319
+ # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18
3131
3320
  def new(*_arg0); end
3132
3321
  end
3133
3322
  end
@@ -3138,14 +3327,14 @@ end
3138
3327
  # of type :root) and an @options (containing an options hash) instance variable so that some of
3139
3328
  # the methods can work correctly.
3140
3329
  #
3141
- # source://kramdown//lib/kramdown/utils/html.rb#21
3330
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:21
3142
3331
  module Kramdown::Utils::Html
3143
3332
  # Convert the entity +e+ to a string. The optional parameter +original+ may contain the
3144
3333
  # original representation of the entity.
3145
3334
  #
3146
3335
  # This method uses the option +entity_output+ to determine the output form for the entity.
3147
3336
  #
3148
- # source://kramdown//lib/kramdown/utils/html.rb#27
3337
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:27
3149
3338
  def entity_to_str(e, original = T.unsafe(nil)); end
3150
3339
 
3151
3340
  # Escape the special HTML characters in the string +str+. The parameter +type+ specifies what
@@ -3153,36 +3342,36 @@ module Kramdown::Utils::Html
3153
3342
  # entities, :text - all special HTML characters except the quotation mark but no entities and
3154
3343
  # :attribute - all special HTML characters including the quotation mark but no entities.
3155
3344
  #
3156
- # source://kramdown//lib/kramdown/utils/html.rb#69
3345
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:69
3157
3346
  def escape_html(str, type = T.unsafe(nil)); end
3158
3347
 
3159
- # source://kramdown//lib/kramdown/utils/html.rb#74
3348
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:74
3160
3349
  def fix_cjk_line_break(str); end
3161
3350
 
3162
3351
  # Return the HTML representation of the attributes +attr+.
3163
3352
  #
3164
- # source://kramdown//lib/kramdown/utils/html.rb#44
3353
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:44
3165
3354
  def html_attributes(attr); end
3166
3355
  end
3167
3356
 
3168
- # source://kramdown//lib/kramdown/utils/html.rb#59
3357
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:59
3169
3358
  Kramdown::Utils::Html::ESCAPE_ALL_RE = T.let(T.unsafe(nil), Regexp)
3170
3359
 
3171
- # source://kramdown//lib/kramdown/utils/html.rb#61
3360
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:61
3172
3361
  Kramdown::Utils::Html::ESCAPE_ATTRIBUTE_RE = T.let(T.unsafe(nil), Regexp)
3173
3362
 
3174
3363
  # :stopdoc:
3175
3364
  #
3176
- # source://kramdown//lib/kramdown/utils/html.rb#53
3365
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:53
3177
3366
  Kramdown::Utils::Html::ESCAPE_MAP = T.let(T.unsafe(nil), Hash)
3178
3367
 
3179
- # source://kramdown//lib/kramdown/utils/html.rb#62
3368
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:62
3180
3369
  Kramdown::Utils::Html::ESCAPE_RE_FROM_TYPE = T.let(T.unsafe(nil), Hash)
3181
3370
 
3182
- # source://kramdown//lib/kramdown/utils/html.rb#60
3371
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:60
3183
3372
  Kramdown::Utils::Html::ESCAPE_TEXT_RE = T.let(T.unsafe(nil), Regexp)
3184
3373
 
3185
- # source://kramdown//lib/kramdown/utils/html.rb#73
3374
+ # pkg:gem/kramdown#lib/kramdown/utils/html.rb:73
3186
3375
  Kramdown::Utils::Html::REDUNDANT_LINE_BREAK_REGEX = T.let(T.unsafe(nil), Regexp)
3187
3376
 
3188
3377
  # A simple least recently used (LRU) cache.
@@ -3191,38 +3380,34 @@ Kramdown::Utils::Html::REDUNDANT_LINE_BREAK_REGEX = T.let(T.unsafe(nil), Regexp)
3191
3380
  # and re-inserting a key-value pair on access moves the key to the last position. When an
3192
3381
  # entry is added and the cache is full, the first entry is removed.
3193
3382
  #
3194
- # source://kramdown//lib/kramdown/utils/lru_cache.rb#18
3383
+ # pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:18
3195
3384
  class Kramdown::Utils::LRUCache
3196
3385
  # Creates a new LRUCache that can hold +size+ entries.
3197
3386
  #
3198
- # @return [LRUCache] a new instance of LRUCache
3199
- #
3200
- # source://kramdown//lib/kramdown/utils/lru_cache.rb#21
3387
+ # pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:21
3201
3388
  def initialize(size); end
3202
3389
 
3203
3390
  # Returns the stored value for +key+ or +nil+ if no value was stored under the key.
3204
3391
  #
3205
- # source://kramdown//lib/kramdown/utils/lru_cache.rb#27
3392
+ # pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:27
3206
3393
  def [](key); end
3207
3394
 
3208
3395
  # Stores the +value+ under the +key+.
3209
3396
  #
3210
- # source://kramdown//lib/kramdown/utils/lru_cache.rb#32
3397
+ # pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:32
3211
3398
  def []=(key, value); end
3212
3399
  end
3213
3400
 
3214
3401
  # This patched StringScanner adds line number information for current scan position and a
3215
3402
  # start_line_number override for nested StringScanners.
3216
3403
  #
3217
- # source://kramdown//lib/kramdown/utils/string_scanner.rb#17
3404
+ # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:17
3218
3405
  class Kramdown::Utils::StringScanner < ::StringScanner
3219
3406
  # Takes the start line number as optional second argument.
3220
3407
  #
3221
3408
  # Note: The original second argument is no longer used so this should be safe.
3222
3409
  #
3223
- # @return [StringScanner] a new instance of StringScanner
3224
- #
3225
- # source://kramdown//lib/kramdown/utils/string_scanner.rb#26
3410
+ # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:26
3226
3411
  def initialize(string, start_line_number = T.unsafe(nil)); end
3227
3412
 
3228
3413
  # Returns the line number for current charpos.
@@ -3232,7 +3417,7 @@ class Kramdown::Utils::StringScanner < ::StringScanner
3232
3417
  # NOTE: Normally we'd have to add one to the count of newlines to get the correct line number.
3233
3418
  # However we add the one indirectly by using a one-based start_line_number.
3234
3419
  #
3235
- # source://kramdown//lib/kramdown/utils/string_scanner.rb#67
3420
+ # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:67
3236
3421
  def current_line_number; end
3237
3422
 
3238
3423
  # Sets the byte position of the scan pointer.
@@ -3240,12 +3425,12 @@ class Kramdown::Utils::StringScanner < ::StringScanner
3240
3425
  # Note: This also resets some internal variables, so always use pos= when setting the position
3241
3426
  # and don't use any other method for that!
3242
3427
  #
3243
- # source://kramdown//lib/kramdown/utils/string_scanner.rb#37
3428
+ # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:37
3244
3429
  def pos=(pos); end
3245
3430
 
3246
3431
  # Revert the position to one saved by #save_pos.
3247
3432
  #
3248
- # source://kramdown//lib/kramdown/utils/string_scanner.rb#56
3433
+ # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:56
3249
3434
  def revert_pos(data); end
3250
3435
 
3251
3436
  # Return information needed to revert the byte position of the string scanner in a performant
@@ -3255,17 +3440,17 @@ class Kramdown::Utils::StringScanner < ::StringScanner
3255
3440
  #
3256
3441
  # Note: Just saving #pos won't be enough.
3257
3442
  #
3258
- # source://kramdown//lib/kramdown/utils/string_scanner.rb#51
3443
+ # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:51
3259
3444
  def save_pos; end
3260
3445
 
3261
3446
  # The start line number. Used for nested StringScanners that scan a sub-string of the source
3262
3447
  # document. The kramdown parser uses this, e.g., for span level parsers.
3263
3448
  #
3264
- # source://kramdown//lib/kramdown/utils/string_scanner.rb#21
3449
+ # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:21
3265
3450
  def start_line_number; end
3266
3451
  end
3267
3452
 
3268
3453
  # The kramdown version.
3269
3454
  #
3270
- # source://kramdown//lib/kramdown/version.rb#13
3455
+ # pkg:gem/kramdown#lib/kramdown/version.rb:13
3271
3456
  Kramdown::VERSION = T.let(T.unsafe(nil), String)