lunchmoney 1.4.1 → 1.5.0

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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
  3. data/.github/workflows/ci.yml +9 -10
  4. data/.github/workflows/rbi-updater.yml +1 -1
  5. data/.github/workflows/release_pipeline.yml +1 -1
  6. data/.rubocop.yml +1 -1
  7. data/.ruby-version +1 -1
  8. data/.toys/.toys.rb +8 -0
  9. data/Gemfile +1 -1
  10. data/Gemfile.lock +76 -60
  11. data/README.md +0 -2
  12. data/SECURITY.md +151 -0
  13. data/bin/check_vcr_version +94 -0
  14. data/lib/lunchmoney/api.rb +25 -38
  15. data/lib/lunchmoney/calls/assets.rb +10 -13
  16. data/lib/lunchmoney/calls/base.rb +59 -7
  17. data/lib/lunchmoney/calls/budgets.rb +22 -25
  18. data/lib/lunchmoney/calls/categories.rb +28 -36
  19. data/lib/lunchmoney/calls/crypto.rb +7 -9
  20. data/lib/lunchmoney/calls/plaid_accounts.rb +7 -9
  21. data/lib/lunchmoney/calls/recurring_expenses.rb +4 -5
  22. data/lib/lunchmoney/calls/tags.rb +3 -4
  23. data/lib/lunchmoney/calls/transactions.rb +28 -36
  24. data/lib/lunchmoney/calls/users.rb +3 -4
  25. data/lib/lunchmoney/configuration.rb +20 -0
  26. data/lib/lunchmoney/objects/object.rb +4 -9
  27. data/lib/lunchmoney/validators.rb +8 -6
  28. data/lib/lunchmoney/version.rb +1 -1
  29. data/lib/lunchmoney.rb +3 -3
  30. data/lunchmoney.gemspec +1 -1
  31. data/sorbet/rbi/annotations/activesupport.rbi +35 -0
  32. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -2
  33. data/sorbet/rbi/gems/{activesupport@7.2.2.1.rbi → activesupport@8.0.2.1.rbi} +1369 -989
  34. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +4 -3
  35. data/sorbet/rbi/gems/{base64@0.2.0.rbi → base64@0.3.0.rbi} +76 -39
  36. data/sorbet/rbi/gems/{benchmark@0.4.0.rbi → benchmark@0.4.1.rbi} +50 -49
  37. data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +275 -0
  38. data/sorbet/rbi/gems/{dotenv@3.1.7.rbi → dotenv@3.1.8.rbi} +9 -9
  39. data/sorbet/rbi/gems/{drb@2.2.1.rbi → drb@2.2.3.rbi} +503 -188
  40. data/sorbet/rbi/gems/{faraday-net_http@3.4.0.rbi → faraday-net_http@3.4.1.rbi} +23 -23
  41. data/sorbet/rbi/gems/{faraday@2.12.2.rbi → faraday@2.13.4.rbi} +468 -141
  42. data/sorbet/rbi/gems/{hashdiff@1.1.2.rbi → hashdiff@1.2.0.rbi} +5 -3
  43. data/sorbet/rbi/gems/{json@2.10.2.rbi → json@2.13.2.rbi} +386 -175
  44. data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +316 -234
  45. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  46. data/sorbet/rbi/gems/{logger@1.6.6.rbi → logger@1.7.0.rbi} +63 -40
  47. data/sorbet/rbi/gems/{parser@3.3.7.1.rbi → parser@3.3.9.0.rbi} +303 -291
  48. data/sorbet/rbi/gems/{rack@3.1.9.rbi → rack@3.2.1.rbi} +712 -547
  49. data/sorbet/rbi/gems/{rake@13.2.1.rbi → rake@13.3.0.rbi} +238 -227
  50. data/sorbet/rbi/gems/{rbi@0.3.1.rbi → rbi@0.3.6.rbi} +1084 -2521
  51. data/sorbet/rbi/gems/{rbs@3.9.0.rbi → rbs@4.0.0.dev.4.rbi} +1336 -419
  52. data/sorbet/rbi/gems/{regexp_parser@2.10.0.rbi → regexp_parser@2.11.2.rbi} +1044 -956
  53. data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
  54. data/sorbet/rbi/gems/{rexml@3.4.1.rbi → rexml@3.4.2.rbi} +302 -292
  55. data/sorbet/rbi/gems/{rubocop-ast@1.38.0.rbi → rubocop-ast@1.46.0.rbi} +802 -1016
  56. data/sorbet/rbi/gems/{rubocop-minitest@0.36.0.rbi → rubocop-minitest@0.38.2.rbi} +129 -93
  57. data/sorbet/rbi/gems/{rubocop-rails@2.29.1.rbi → rubocop-rails@2.33.3.rbi} +575 -230
  58. data/sorbet/rbi/gems/{rubocop-shopify@2.15.1.rbi → rubocop-shopify@2.17.1.rbi} +1 -0
  59. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.7.rbi → rubocop-sorbet@0.10.5.rbi} +761 -83
  60. data/sorbet/rbi/gems/{rubocop@1.71.2.rbi → rubocop@1.80.1.rbi} +6543 -3097
  61. data/sorbet/rbi/gems/{spoom@1.6.1.rbi → spoom@1.7.6.rbi} +1179 -2621
  62. data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.7.rbi} +623 -745
  63. data/sorbet/rbi/gems/{thor@1.3.2.rbi → thor@1.4.0.rbi} +88 -67
  64. data/sorbet/rbi/gems/{unicode-display_width@3.1.4.rbi → unicode-display_width@3.1.5.rbi} +5 -5
  65. data/sorbet/rbi/gems/{vcr@6.3.1.rbi → vcr@6.3.1-ce35c236fe48899f02ddf780973b44cdb756c0ee.rbi} +140 -123
  66. metadata +42 -38
  67. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +0 -78
  68. /data/sorbet/rbi/gems/{connection_pool@2.5.0.rbi → connection_pool@2.5.3.rbi} +0 -0
  69. /data/sorbet/rbi/gems/{language_server-protocol@3.17.0.4.rbi → language_server-protocol@3.17.0.5.rbi} +0 -0
  70. /data/sorbet/rbi/gems/{parallel@1.26.3.rbi → parallel@1.27.0.rbi} +0 -0
@@ -4,6 +4,7 @@
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
+
7
8
  # source://kramdown//lib/kramdown/version.rb#10
8
9
  module Kramdown
9
10
  class << self
@@ -26,19 +27,19 @@ module Kramdown::Converter
26
27
  extend ::Kramdown::Utils::Configurable
27
28
 
28
29
  class << self
29
- # source://kramdown//lib/kramdown/utils/configurable.rb#37
30
+ # source://kramdown//lib/kramdown/converter.rb#50
30
31
  def add_math_engine(data, *args, &block); end
31
32
 
32
- # source://kramdown//lib/kramdown/utils/configurable.rb#37
33
+ # source://kramdown//lib/kramdown/converter.rb#34
33
34
  def add_syntax_highlighter(data, *args, &block); end
34
35
 
35
- # source://kramdown//lib/kramdown/utils/configurable.rb#30
36
+ # source://kramdown//lib/kramdown/converter.rb#34
36
37
  def configurables; end
37
38
 
38
- # source://kramdown//lib/kramdown/utils/configurable.rb#34
39
+ # source://kramdown//lib/kramdown/converter.rb#50
39
40
  def math_engine(data); end
40
41
 
41
- # source://kramdown//lib/kramdown/utils/configurable.rb#34
42
+ # source://kramdown//lib/kramdown/converter.rb#34
42
43
  def syntax_highlighter(data); end
43
44
  end
44
45
  end
@@ -229,7 +230,10 @@ class Kramdown::Converter::Base
229
230
 
230
231
  private
231
232
 
233
+ # source://kramdown//lib/kramdown/converter/base.rb#61
232
234
  def allocate; end
235
+
236
+ # source://kramdown//lib/kramdown/converter/base.rb#61
233
237
  def new(*_arg0); end
234
238
  end
235
239
  end
@@ -276,7 +280,7 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base
276
280
  # Add the syntax highlighter name to the 'class' attribute of the given attribute hash. And
277
281
  # overwrites or add a "language-LANG" part using the +lang+ parameter if +lang+ is not nil.
278
282
  #
279
- # source://kramdown//lib/kramdown/converter/html.rb#409
283
+ # source://kramdown//lib/kramdown/converter/html.rb#417
280
284
  def add_syntax_highlighter_to_class_attr(attr, lang = T.unsafe(nil)); end
281
285
 
282
286
  # Dispatch the conversion of the element +el+ to a +convert_TYPE+ method using the +type+ of
@@ -285,79 +289,79 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base
285
289
  # source://kramdown//lib/kramdown/converter/html.rb#57
286
290
  def convert(el, indent = T.unsafe(nil)); end
287
291
 
288
- # source://kramdown//lib/kramdown/converter/html.rb#272
292
+ # source://kramdown//lib/kramdown/converter/html.rb#283
289
293
  def convert_a(el, indent); end
290
294
 
291
- # source://kramdown//lib/kramdown/converter/html.rb#365
295
+ # source://kramdown//lib/kramdown/converter/html.rb#377
292
296
  def convert_abbreviation(el, _indent); end
293
297
 
294
298
  # source://kramdown//lib/kramdown/converter/html.rb#77
295
299
  def convert_blank(_el, _indent); end
296
300
 
297
- # source://kramdown//lib/kramdown/converter/html.rb#141
301
+ # source://kramdown//lib/kramdown/converter/html.rb#145
298
302
  def convert_blockquote(el, indent); end
299
303
 
300
- # source://kramdown//lib/kramdown/converter/html.rb#268
304
+ # source://kramdown//lib/kramdown/converter/html.rb#279
301
305
  def convert_br(_el, _indent); end
302
306
 
303
- # source://kramdown//lib/kramdown/converter/html.rb#111
307
+ # source://kramdown//lib/kramdown/converter/html.rb#115
304
308
  def convert_codeblock(el, indent); end
305
309
 
306
- # source://kramdown//lib/kramdown/converter/html.rb#280
310
+ # source://kramdown//lib/kramdown/converter/html.rb#291
307
311
  def convert_codespan(el, _indent); end
308
312
 
309
- # source://kramdown//lib/kramdown/converter/html.rb#260
313
+ # source://kramdown//lib/kramdown/converter/html.rb#271
310
314
  def convert_comment(el, indent); end
311
315
 
312
- # source://kramdown//lib/kramdown/converter/html.rb#178
316
+ # source://kramdown//lib/kramdown/converter/html.rb#199
313
317
  def convert_dd(el, indent); end
314
318
 
315
- # source://kramdown//lib/kramdown/converter/html.rb#174
319
+ # source://kramdown//lib/kramdown/converter/html.rb#185
316
320
  def convert_dl(el, indent); end
317
321
 
318
- # source://kramdown//lib/kramdown/converter/html.rb#190
322
+ # source://kramdown//lib/kramdown/converter/html.rb#201
319
323
  def convert_dt(el, indent); end
320
324
 
321
- # source://kramdown//lib/kramdown/converter/html.rb#319
325
+ # source://kramdown//lib/kramdown/converter/html.rb#331
322
326
  def convert_em(el, indent); end
323
327
 
324
- # source://kramdown//lib/kramdown/converter/html.rb#324
328
+ # source://kramdown//lib/kramdown/converter/html.rb#336
325
329
  def convert_entity(el, _indent); end
326
330
 
327
- # source://kramdown//lib/kramdown/converter/html.rb#294
331
+ # source://kramdown//lib/kramdown/converter/html.rb#305
328
332
  def convert_footnote(el, _indent); end
329
333
 
330
- # source://kramdown//lib/kramdown/converter/html.rb#145
334
+ # source://kramdown//lib/kramdown/converter/html.rb#149
331
335
  def convert_header(el, indent); end
332
336
 
333
- # source://kramdown//lib/kramdown/converter/html.rb#155
337
+ # source://kramdown//lib/kramdown/converter/html.rb#166
334
338
  def convert_hr(el, indent); end
335
339
 
336
- # source://kramdown//lib/kramdown/converter/html.rb#201
340
+ # source://kramdown//lib/kramdown/converter/html.rb#212
337
341
  def convert_html_element(el, indent); end
338
342
 
339
- # source://kramdown//lib/kramdown/converter/html.rb#276
343
+ # source://kramdown//lib/kramdown/converter/html.rb#287
340
344
  def convert_img(el, _indent); end
341
345
 
342
- # source://kramdown//lib/kramdown/converter/html.rb#178
346
+ # source://kramdown//lib/kramdown/converter/html.rb#189
343
347
  def convert_li(el, indent); end
344
348
 
345
- # source://kramdown//lib/kramdown/converter/html.rb#351
349
+ # source://kramdown//lib/kramdown/converter/html.rb#363
346
350
  def convert_math(el, indent); end
347
351
 
348
- # source://kramdown//lib/kramdown/converter/html.rb#162
352
+ # source://kramdown//lib/kramdown/converter/html.rb#183
349
353
  def convert_ol(el, indent); end
350
354
 
351
355
  # source://kramdown//lib/kramdown/converter/html.rb#86
352
356
  def convert_p(el, indent); end
353
357
 
354
- # source://kramdown//lib/kramdown/converter/html.rb#311
358
+ # source://kramdown//lib/kramdown/converter/html.rb#323
355
359
  def convert_raw(el, _indent); end
356
360
 
357
- # source://kramdown//lib/kramdown/converter/html.rb#372
361
+ # source://kramdown//lib/kramdown/converter/html.rb#384
358
362
  def convert_root(el, indent); end
359
363
 
360
- # source://kramdown//lib/kramdown/converter/html.rb#347
364
+ # source://kramdown//lib/kramdown/converter/html.rb#359
361
365
  def convert_smart_quote(el, _indent); end
362
366
 
363
367
  # Helper method used by +convert_p+ to convert a paragraph that only contains a single :img
@@ -366,71 +370,71 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base
366
370
  # source://kramdown//lib/kramdown/converter/html.rb#99
367
371
  def convert_standalone_image(el, indent); end
368
372
 
369
- # source://kramdown//lib/kramdown/converter/html.rb#319
373
+ # source://kramdown//lib/kramdown/converter/html.rb#334
370
374
  def convert_strong(el, indent); end
371
375
 
372
- # source://kramdown//lib/kramdown/converter/html.rb#238
376
+ # source://kramdown//lib/kramdown/converter/html.rb#249
373
377
  def convert_table(el, indent); end
374
378
 
375
- # source://kramdown//lib/kramdown/converter/html.rb#238
379
+ # source://kramdown//lib/kramdown/converter/html.rb#253
376
380
  def convert_tbody(el, indent); end
377
381
 
378
- # source://kramdown//lib/kramdown/converter/html.rb#248
382
+ # source://kramdown//lib/kramdown/converter/html.rb#259
379
383
  def convert_td(el, indent); end
380
384
 
381
385
  # source://kramdown//lib/kramdown/converter/html.rb#81
382
386
  def convert_text(el, _indent); end
383
387
 
384
- # source://kramdown//lib/kramdown/converter/html.rb#238
388
+ # source://kramdown//lib/kramdown/converter/html.rb#254
385
389
  def convert_tfoot(el, indent); end
386
390
 
387
- # source://kramdown//lib/kramdown/converter/html.rb#238
391
+ # source://kramdown//lib/kramdown/converter/html.rb#252
388
392
  def convert_thead(el, indent); end
389
393
 
390
- # source://kramdown//lib/kramdown/converter/html.rb#238
394
+ # source://kramdown//lib/kramdown/converter/html.rb#255
391
395
  def convert_tr(el, indent); end
392
396
 
393
- # source://kramdown//lib/kramdown/converter/html.rb#339
397
+ # source://kramdown//lib/kramdown/converter/html.rb#351
394
398
  def convert_typographic_sym(el, _indent); end
395
399
 
396
- # source://kramdown//lib/kramdown/converter/html.rb#162
400
+ # source://kramdown//lib/kramdown/converter/html.rb#173
397
401
  def convert_ul(el, indent); end
398
402
 
399
- # source://kramdown//lib/kramdown/converter/html.rb#228
403
+ # source://kramdown//lib/kramdown/converter/html.rb#239
400
404
  def convert_xml_comment(el, indent); end
401
405
 
402
- # source://kramdown//lib/kramdown/converter/html.rb#228
406
+ # source://kramdown//lib/kramdown/converter/html.rb#247
403
407
  def convert_xml_pi(el, indent); end
404
408
 
405
409
  # Fixes the elements for use in a TOC entry.
406
410
  #
407
- # source://kramdown//lib/kramdown/converter/html.rb#453
411
+ # source://kramdown//lib/kramdown/converter/html.rb#461
408
412
  def fix_for_toc_entry(elements); end
409
413
 
410
414
  # Return an HTML ordered list with the footnote content for the used footnotes.
411
415
  #
412
- # source://kramdown//lib/kramdown/converter/html.rb#488
416
+ # source://kramdown//lib/kramdown/converter/html.rb#496
413
417
  def footnote_content; end
414
418
 
415
419
  # Format the given element as block HTML.
416
420
  #
417
- # source://kramdown//lib/kramdown/converter/html.rb#397
421
+ # source://kramdown//lib/kramdown/converter/html.rb#405
418
422
  def format_as_block_html(name, attr, body, indent); end
419
423
 
420
424
  # Format the given element as block HTML with a newline after the start tag and indentation
421
425
  # before the end tag.
422
426
  #
423
- # source://kramdown//lib/kramdown/converter/html.rb#403
427
+ # source://kramdown//lib/kramdown/converter/html.rb#411
424
428
  def format_as_indented_block_html(name, attr, body, indent); end
425
429
 
426
430
  # Format the given element as span HTML.
427
431
  #
428
- # source://kramdown//lib/kramdown/converter/html.rb#392
432
+ # source://kramdown//lib/kramdown/converter/html.rb#400
429
433
  def format_as_span_html(name, attr, body); end
430
434
 
431
435
  # Generate and return an element tree for the table of contents.
432
436
  #
433
- # source://kramdown//lib/kramdown/converter/html.rb#415
437
+ # source://kramdown//lib/kramdown/converter/html.rb#423
434
438
  def generate_toc_tree(toc, type, attr); end
435
439
 
436
440
  # The amount of indentation used when nesting HTML tags.
@@ -454,30 +458,30 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base
454
458
 
455
459
  # Obfuscate the +text+ by using HTML entities.
456
460
  #
457
- # source://kramdown//lib/kramdown/converter/html.rb#476
461
+ # source://kramdown//lib/kramdown/converter/html.rb#484
458
462
  def obfuscate(text); end
459
463
 
460
464
  # Remove all footnotes from the given elements.
461
465
  #
462
- # source://kramdown//lib/kramdown/converter/html.rb#468
466
+ # source://kramdown//lib/kramdown/converter/html.rb#476
463
467
  def remove_footnotes(elements); end
464
468
 
465
469
  # Remove all link elements by unwrapping them.
466
470
  #
467
- # source://kramdown//lib/kramdown/converter/html.rb#460
471
+ # source://kramdown//lib/kramdown/converter/html.rb#468
468
472
  def unwrap_links(elements); end
469
473
  end
470
474
 
471
- # source://kramdown//lib/kramdown/converter/html.rb#246
475
+ # source://kramdown//lib/kramdown/converter/html.rb#257
472
476
  Kramdown::Converter::Html::ENTITY_NBSP = T.let(T.unsafe(nil), Kramdown::Utils::Entities::Entity)
473
477
 
474
- # source://kramdown//lib/kramdown/converter/html.rb#485
478
+ # source://kramdown//lib/kramdown/converter/html.rb#493
475
479
  Kramdown::Converter::Html::FOOTNOTE_BACKLINK_FMT = T.let(T.unsafe(nil), String)
476
480
 
477
- # source://kramdown//lib/kramdown/converter/html.rb#328
481
+ # source://kramdown//lib/kramdown/converter/html.rb#340
478
482
  Kramdown::Converter::Html::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash)
479
483
 
480
- # source://kramdown//lib/kramdown/converter/html.rb#159
484
+ # source://kramdown//lib/kramdown/converter/html.rb#170
481
485
  Kramdown::Converter::Html::ZERO_TO_ONETWENTYEIGHT = T.let(T.unsafe(nil), Array)
482
486
 
483
487
  # Converts an element tree to the kramdown format.
@@ -494,148 +498,148 @@ class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base
494
498
  # source://kramdown//lib/kramdown/converter/kramdown.rb#34
495
499
  def convert(el, opts = T.unsafe(nil)); end
496
500
 
497
- # source://kramdown//lib/kramdown/converter/kramdown.rb#291
501
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#296
498
502
  def convert_a(el, opts); end
499
503
 
500
- # source://kramdown//lib/kramdown/converter/kramdown.rb#377
504
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#382
501
505
  def convert_abbreviation(el, _opts); end
502
506
 
503
- # source://kramdown//lib/kramdown/converter/kramdown.rb#70
507
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#71
504
508
  def convert_blank(_el, _opts); end
505
509
 
506
- # source://kramdown//lib/kramdown/converter/kramdown.rb#107
510
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#111
507
511
  def convert_blockquote(el, opts); end
508
512
 
509
- # source://kramdown//lib/kramdown/converter/kramdown.rb#287
510
- def convert_br(_el, _opts); end
513
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#292
514
+ def convert_br(_el, opts); end
511
515
 
512
- # source://kramdown//lib/kramdown/converter/kramdown.rb#103
516
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#107
513
517
  def convert_codeblock(el, _opts); end
514
518
 
515
- # source://kramdown//lib/kramdown/converter/kramdown.rb#324
519
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#329
516
520
  def convert_codespan(el, _opts); end
517
521
 
518
- # source://kramdown//lib/kramdown/converter/kramdown.rb#279
522
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#284
519
523
  def convert_comment(el, _opts); end
520
524
 
521
- # source://kramdown//lib/kramdown/converter/kramdown.rb#158
525
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#163
522
526
  def convert_dd(el, opts); end
523
527
 
524
- # source://kramdown//lib/kramdown/converter/kramdown.rb#124
528
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#133
525
529
  def convert_dl(el, opts); end
526
530
 
527
- # source://kramdown//lib/kramdown/converter/kramdown.rb#182
531
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#187
528
532
  def convert_dt(el, opts); end
529
533
 
530
- # source://kramdown//lib/kramdown/converter/kramdown.rb#346
534
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#351
531
535
  def convert_em(el, opts); end
532
536
 
533
- # source://kramdown//lib/kramdown/converter/kramdown.rb#356
537
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#361
534
538
  def convert_entity(el, _opts); end
535
539
 
536
- # source://kramdown//lib/kramdown/converter/kramdown.rb#329
540
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#334
537
541
  def convert_footnote(el, _opts); end
538
542
 
539
- # source://kramdown//lib/kramdown/converter/kramdown.rb#112
543
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#116
540
544
  def convert_header(el, opts); end
541
545
 
542
- # source://kramdown//lib/kramdown/converter/kramdown.rb#120
546
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#125
543
547
  def convert_hr(_el, _opts); end
544
548
 
545
- # source://kramdown//lib/kramdown/converter/kramdown.rb#195
549
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#200
546
550
  def convert_html_element(el, opts); end
547
551
 
548
- # source://kramdown//lib/kramdown/converter/kramdown.rb#308
552
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#313
549
553
  def convert_img(el, _opts); end
550
554
 
551
- # source://kramdown//lib/kramdown/converter/kramdown.rb#130
555
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#135
552
556
  def convert_li(el, opts); end
553
557
 
554
- # source://kramdown//lib/kramdown/converter/kramdown.rb#373
558
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#378
555
559
  def convert_math(el, _opts); end
556
560
 
557
- # source://kramdown//lib/kramdown/converter/kramdown.rb#124
561
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#132
558
562
  def convert_ol(el, opts); end
559
563
 
560
- # source://kramdown//lib/kramdown/converter/kramdown.rb#88
564
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#92
561
565
  def convert_p(el, opts); end
562
566
 
563
- # source://kramdown//lib/kramdown/converter/kramdown.rb#334
567
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#339
564
568
  def convert_raw(el, _opts); end
565
569
 
566
- # source://kramdown//lib/kramdown/converter/kramdown.rb#381
570
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#386
567
571
  def convert_root(el, opts); end
568
572
 
569
- # source://kramdown//lib/kramdown/converter/kramdown.rb#369
573
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#374
570
574
  def convert_smart_quote(el, _opts); end
571
575
 
572
- # source://kramdown//lib/kramdown/converter/kramdown.rb#351
576
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#356
573
577
  def convert_strong(el, opts); end
574
578
 
575
- # source://kramdown//lib/kramdown/converter/kramdown.rb#239
579
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#244
576
580
  def convert_table(el, opts); end
577
581
 
578
- # source://kramdown//lib/kramdown/converter/kramdown.rb#260
582
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#265
579
583
  def convert_tbody(el, opts); end
580
584
 
581
- # source://kramdown//lib/kramdown/converter/kramdown.rb#275
585
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#280
582
586
  def convert_td(el, opts); end
583
587
 
584
- # source://kramdown//lib/kramdown/converter/kramdown.rb#76
588
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#77
585
589
  def convert_text(el, opts); end
586
590
 
587
- # source://kramdown//lib/kramdown/converter/kramdown.rb#267
591
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#272
588
592
  def convert_tfoot(el, opts); end
589
593
 
590
- # source://kramdown//lib/kramdown/converter/kramdown.rb#244
594
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#249
591
595
  def convert_thead(el, opts); end
592
596
 
593
- # source://kramdown//lib/kramdown/converter/kramdown.rb#271
597
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#276
594
598
  def convert_tr(el, opts); end
595
599
 
596
- # source://kramdown//lib/kramdown/converter/kramdown.rb#365
600
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#370
597
601
  def convert_typographic_sym(el, _opts); end
598
602
 
599
- # source://kramdown//lib/kramdown/converter/kramdown.rb#124
603
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#129
600
604
  def convert_ul(el, opts); end
601
605
 
602
- # source://kramdown//lib/kramdown/converter/kramdown.rb#229
606
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#234
603
607
  def convert_xml_comment(el, _opts); end
604
608
 
605
- # source://kramdown//lib/kramdown/converter/kramdown.rb#229
609
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#242
606
610
  def convert_xml_pi(el, _opts); end
607
611
 
608
- # source://kramdown//lib/kramdown/converter/kramdown.rb#408
612
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#413
609
613
  def create_abbrev_defs; end
610
614
 
611
- # source://kramdown//lib/kramdown/converter/kramdown.rb#399
615
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#404
612
616
  def create_footnote_defs; end
613
617
 
614
- # source://kramdown//lib/kramdown/converter/kramdown.rb#389
618
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#394
615
619
  def create_link_defs; end
616
620
 
617
621
  # Return the IAL containing the attributes of the element +el+.
618
622
  #
619
- # source://kramdown//lib/kramdown/converter/kramdown.rb#419
623
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#424
620
624
  def ial_for_element(el); end
621
625
 
622
- # source://kramdown//lib/kramdown/converter/kramdown.rb#54
626
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#55
623
627
  def inner(el, opts = T.unsafe(nil)); end
624
628
 
625
- # source://kramdown//lib/kramdown/converter/kramdown.rb#444
629
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#449
626
630
  def parse_title(attr); end
627
631
  end
628
632
 
629
- # source://kramdown//lib/kramdown/converter/kramdown.rb#74
633
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#75
630
634
  Kramdown::Converter::Kramdown::ESCAPED_CHAR_RE = T.let(T.unsafe(nil), Regexp)
631
635
 
632
- # source://kramdown//lib/kramdown/converter/kramdown.rb#192
636
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#197
633
637
  Kramdown::Converter::Kramdown::HTML_ELEMENT_TYPES = T.let(T.unsafe(nil), Array)
634
638
 
635
- # source://kramdown//lib/kramdown/converter/kramdown.rb#190
639
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#195
636
640
  Kramdown::Converter::Kramdown::HTML_TAGS_WITH_BODY = T.let(T.unsafe(nil), Array)
637
641
 
638
- # source://kramdown//lib/kramdown/converter/kramdown.rb#360
642
+ # source://kramdown//lib/kramdown/converter/kramdown.rb#365
639
643
  Kramdown::Converter::Kramdown::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash)
640
644
 
641
645
  # Converts an element tree to LaTeX.
@@ -664,7 +668,7 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
664
668
 
665
669
  # Return a LaTeX comment containing all attributes as 'key="value"' pairs.
666
670
  #
667
- # source://kramdown//lib/kramdown/converter/latex.rb#599
671
+ # source://kramdown//lib/kramdown/converter/latex.rb#600
668
672
  def attribute_list(el); end
669
673
 
670
674
  # Dispatch the conversion of the element +el+ to a +convert_TYPE+ method using the +type+ of
@@ -673,10 +677,10 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
673
677
  # source://kramdown//lib/kramdown/converter/latex.rb#41
674
678
  def convert(el, opts = T.unsafe(nil)); end
675
679
 
676
- # source://kramdown//lib/kramdown/converter/latex.rb#216
680
+ # source://kramdown//lib/kramdown/converter/latex.rb#217
677
681
  def convert_a(el, opts); end
678
682
 
679
- # source://kramdown//lib/kramdown/converter/latex.rb#569
683
+ # source://kramdown//lib/kramdown/converter/latex.rb#570
680
684
  def convert_abbreviation(el, _opts); end
681
685
 
682
686
  # source://kramdown//lib/kramdown/converter/latex.rb#61
@@ -685,16 +689,16 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
685
689
  # source://kramdown//lib/kramdown/converter/latex.rb#110
686
690
  def convert_blockquote(el, opts); end
687
691
 
688
- # source://kramdown//lib/kramdown/converter/latex.rb#209
692
+ # source://kramdown//lib/kramdown/converter/latex.rb#210
689
693
  def convert_br(_el, opts); end
690
694
 
691
695
  # source://kramdown//lib/kramdown/converter/latex.rb#87
692
696
  def convert_codeblock(el, _opts); end
693
697
 
694
- # source://kramdown//lib/kramdown/converter/latex.rb#239
698
+ # source://kramdown//lib/kramdown/converter/latex.rb#240
695
699
  def convert_codespan(el, _opts); end
696
700
 
697
- # source://kramdown//lib/kramdown/converter/latex.rb#205
701
+ # source://kramdown//lib/kramdown/converter/latex.rb#206
698
702
  def convert_comment(el, _opts); end
699
703
 
700
704
  # source://kramdown//lib/kramdown/converter/latex.rb#151
@@ -706,13 +710,13 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
706
710
  # source://kramdown//lib/kramdown/converter/latex.rb#147
707
711
  def convert_dt(el, opts); end
708
712
 
709
- # source://kramdown//lib/kramdown/converter/latex.rb#263
713
+ # source://kramdown//lib/kramdown/converter/latex.rb#264
710
714
  def convert_em(el, opts); end
711
715
 
712
- # source://kramdown//lib/kramdown/converter/latex.rb#533
716
+ # source://kramdown//lib/kramdown/converter/latex.rb#534
713
717
  def convert_entity(el, _opts); end
714
718
 
715
- # source://kramdown//lib/kramdown/converter/latex.rb#250
719
+ # source://kramdown//lib/kramdown/converter/latex.rb#251
716
720
  def convert_footnote(el, opts); end
717
721
 
718
722
  # source://kramdown//lib/kramdown/converter/latex.rb#114
@@ -724,28 +728,28 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
724
728
  # source://kramdown//lib/kramdown/converter/latex.rb#155
725
729
  def convert_html_element(el, opts); end
726
730
 
727
- # source://kramdown//lib/kramdown/converter/latex.rb#225
731
+ # source://kramdown//lib/kramdown/converter/latex.rb#226
728
732
  def convert_img(el, _opts); end
729
733
 
730
734
  # source://kramdown//lib/kramdown/converter/latex.rb#143
731
735
  def convert_li(el, opts); end
732
736
 
733
- # source://kramdown//lib/kramdown/converter/latex.rb#556
737
+ # source://kramdown//lib/kramdown/converter/latex.rb#557
734
738
  def convert_math(el, _opts); end
735
739
 
736
- # source://kramdown//lib/kramdown/converter/latex.rb#129
740
+ # source://kramdown//lib/kramdown/converter/latex.rb#137
737
741
  def convert_ol(el, opts); end
738
742
 
739
743
  # source://kramdown//lib/kramdown/converter/latex.rb#69
740
744
  def convert_p(el, opts); end
741
745
 
742
- # source://kramdown//lib/kramdown/converter/latex.rb#255
746
+ # source://kramdown//lib/kramdown/converter/latex.rb#256
743
747
  def convert_raw(el, _opts); end
744
748
 
745
749
  # source://kramdown//lib/kramdown/converter/latex.rb#57
746
750
  def convert_root(el, opts); end
747
751
 
748
- # source://kramdown//lib/kramdown/converter/latex.rb#550
752
+ # source://kramdown//lib/kramdown/converter/latex.rb#551
749
753
  def convert_smart_quote(el, opts); end
750
754
 
751
755
  # Helper method used by +convert_p+ to convert a paragraph that only contains a single :img
@@ -754,48 +758,48 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
754
758
  # source://kramdown//lib/kramdown/converter/latex.rb#80
755
759
  def convert_standalone_image(el, _opts, img); end
756
760
 
757
- # source://kramdown//lib/kramdown/converter/latex.rb#267
761
+ # source://kramdown//lib/kramdown/converter/latex.rb#268
758
762
  def convert_strong(el, opts); end
759
763
 
760
- # source://kramdown//lib/kramdown/converter/latex.rb#177
764
+ # source://kramdown//lib/kramdown/converter/latex.rb#178
761
765
  def convert_table(el, opts); end
762
766
 
763
- # source://kramdown//lib/kramdown/converter/latex.rb#189
767
+ # source://kramdown//lib/kramdown/converter/latex.rb#190
764
768
  def convert_tbody(el, opts); end
765
769
 
766
- # source://kramdown//lib/kramdown/converter/latex.rb#201
770
+ # source://kramdown//lib/kramdown/converter/latex.rb#202
767
771
  def convert_td(el, opts); end
768
772
 
769
773
  # source://kramdown//lib/kramdown/converter/latex.rb#65
770
774
  def convert_text(el, _opts); end
771
775
 
772
- # source://kramdown//lib/kramdown/converter/latex.rb#193
776
+ # source://kramdown//lib/kramdown/converter/latex.rb#194
773
777
  def convert_tfoot(el, opts); end
774
778
 
775
- # source://kramdown//lib/kramdown/converter/latex.rb#185
779
+ # source://kramdown//lib/kramdown/converter/latex.rb#186
776
780
  def convert_thead(el, opts); end
777
781
 
778
- # source://kramdown//lib/kramdown/converter/latex.rb#197
782
+ # source://kramdown//lib/kramdown/converter/latex.rb#198
779
783
  def convert_tr(el, opts); end
780
784
 
781
- # source://kramdown//lib/kramdown/converter/latex.rb#542
785
+ # source://kramdown//lib/kramdown/converter/latex.rb#543
782
786
  def convert_typographic_sym(el, _opts); end
783
787
 
784
788
  # source://kramdown//lib/kramdown/converter/latex.rb#129
785
789
  def convert_ul(el, opts); end
786
790
 
787
- # source://kramdown//lib/kramdown/converter/latex.rb#166
791
+ # source://kramdown//lib/kramdown/converter/latex.rb#167
788
792
  def convert_xml_comment(el, _opts); end
789
793
 
790
- # source://kramdown//lib/kramdown/converter/latex.rb#170
794
+ # source://kramdown//lib/kramdown/converter/latex.rb#171
791
795
  def convert_xml_pi(_el, _opts); end
792
796
 
793
- # source://kramdown//lib/kramdown/converter/latex.rb#522
797
+ # source://kramdown//lib/kramdown/converter/latex.rb#523
794
798
  def entity_to_latex(entity); end
795
799
 
796
800
  # Escape the special LaTeX characters in the string +str+.
797
801
  #
798
- # source://kramdown//lib/kramdown/converter/latex.rb#618
802
+ # source://kramdown//lib/kramdown/converter/latex.rb#619
799
803
  def escape(str); end
800
804
 
801
805
  # Return the converted content of the children of +el+ as a string.
@@ -807,38 +811,38 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base
807
811
  # the method #attribute_list -- the resulting string is appended to both the \\begin and the
808
812
  # \\end lines of the LaTeX environment for easier post-processing of LaTeX environments.
809
813
  #
810
- # source://kramdown//lib/kramdown/converter/latex.rb#582
814
+ # source://kramdown//lib/kramdown/converter/latex.rb#583
811
815
  def latex_environment(type, el, text); end
812
816
 
813
817
  # Return a string containing a valid \hypertarget command if the element has an ID defined, or
814
818
  # +nil+ otherwise. If the parameter +add_label+ is +true+, a \label command will also be used
815
819
  # additionally to the \hypertarget command.
816
820
  #
817
- # source://kramdown//lib/kramdown/converter/latex.rb#590
821
+ # source://kramdown//lib/kramdown/converter/latex.rb#591
818
822
  def latex_link_target(el, add_label = T.unsafe(nil)); end
819
823
 
820
824
  # Normalize the abbreviation key so that it only contains allowed ASCII character
821
825
  #
822
- # source://kramdown//lib/kramdown/converter/latex.rb#575
826
+ # source://kramdown//lib/kramdown/converter/latex.rb#576
823
827
  def normalize_abbreviation_key(key); end
824
828
  end
825
829
 
826
830
  # Inspired by Maruku: entity conversion table based on the one from htmltolatex
827
831
  # (http://sourceforge.net/projects/htmltolatex/), with some small adjustments/additions
828
832
  #
829
- # source://kramdown//lib/kramdown/converter/latex.rb#273
833
+ # source://kramdown//lib/kramdown/converter/latex.rb#274
830
834
  Kramdown::Converter::Latex::ENTITY_CONV_TABLE = T.let(T.unsafe(nil), Hash)
831
835
 
832
- # source://kramdown//lib/kramdown/converter/latex.rb#605
836
+ # source://kramdown//lib/kramdown/converter/latex.rb#606
833
837
  Kramdown::Converter::Latex::ESCAPE_MAP = T.let(T.unsafe(nil), Hash)
834
838
 
835
- # source://kramdown//lib/kramdown/converter/latex.rb#615
839
+ # source://kramdown//lib/kramdown/converter/latex.rb#616
836
840
  Kramdown::Converter::Latex::ESCAPE_RE = T.let(T.unsafe(nil), Regexp)
837
841
 
838
- # source://kramdown//lib/kramdown/converter/latex.rb#175
842
+ # source://kramdown//lib/kramdown/converter/latex.rb#176
839
843
  Kramdown::Converter::Latex::TABLE_ALIGNMENT_CHAR = T.let(T.unsafe(nil), Hash)
840
844
 
841
- # source://kramdown//lib/kramdown/converter/latex.rb#537
845
+ # source://kramdown//lib/kramdown/converter/latex.rb#538
842
846
  Kramdown::Converter::Latex::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash)
843
847
 
844
848
  # Converts a Kramdown::Document to a manpage in groff format. See man(7), groff_man(7) and
@@ -872,13 +876,13 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base
872
876
  # source://kramdown//lib/kramdown/converter/man.rb#221
873
877
  def convert_codespan(el, opts); end
874
878
 
875
- # source://kramdown//lib/kramdown/converter/man.rb#186
879
+ # source://kramdown//lib/kramdown/converter/man.rb#189
876
880
  def convert_comment(el, opts); end
877
881
 
878
882
  # source://kramdown//lib/kramdown/converter/man.rb#127
879
883
  def convert_dd(el, opts); end
880
884
 
881
- # source://kramdown//lib/kramdown/converter/man.rb#101
885
+ # source://kramdown//lib/kramdown/converter/man.rb#107
882
886
  def convert_dl(el, opts); end
883
887
 
884
888
  # source://kramdown//lib/kramdown/converter/man.rb#121
@@ -896,7 +900,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base
896
900
  # source://kramdown//lib/kramdown/converter/man.rb#61
897
901
  def convert_header(el, opts); end
898
902
 
899
- # source://kramdown//lib/kramdown/converter/man.rb#47
903
+ # source://kramdown//lib/kramdown/converter/man.rb#49
900
904
  def convert_hr(*_arg0); end
901
905
 
902
906
  # source://kramdown//lib/kramdown/converter/man.rb#182
@@ -911,7 +915,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base
911
915
  # source://kramdown//lib/kramdown/converter/man.rb#233
912
916
  def convert_math(el, opts); end
913
917
 
914
- # source://kramdown//lib/kramdown/converter/man.rb#101
918
+ # source://kramdown//lib/kramdown/converter/man.rb#108
915
919
  def convert_ol(el, opts); end
916
920
 
917
921
  # source://kramdown//lib/kramdown/converter/man.rb#52
@@ -959,7 +963,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base
959
963
  # source://kramdown//lib/kramdown/converter/man.rb#186
960
964
  def convert_xml_comment(el, opts); end
961
965
 
962
- # source://kramdown//lib/kramdown/converter/man.rb#47
966
+ # source://kramdown//lib/kramdown/converter/man.rb#50
963
967
  def convert_xml_pi(*_arg0); end
964
968
 
965
969
  # source://kramdown//lib/kramdown/converter/man.rb#285
@@ -1713,7 +1717,7 @@ module Kramdown::Options
1713
1717
  # Merge the #defaults Hash with the *parsed* options from the given Hash, i.e. only valid option
1714
1718
  # names are considered and their value is run through the #parse method.
1715
1719
  #
1716
- # source://kramdown//lib/kramdown/options.rb#82
1720
+ # source://kramdown//lib/kramdown/options.rb#83
1717
1721
  def merge(hash); end
1718
1722
 
1719
1723
  # Parse the given value +data+ as if it was a value for the option +name+ and return the parsed
@@ -1724,7 +1728,7 @@ module Kramdown::Options
1724
1728
  #
1725
1729
  # @raise [ArgumentError]
1726
1730
  #
1727
- # source://kramdown//lib/kramdown/options.rb#96
1731
+ # source://kramdown//lib/kramdown/options.rb#97
1728
1732
  def parse(name, data); end
1729
1733
 
1730
1734
  # Ensures that the option value +val+ for the option called +name+ is a valid array. The
@@ -1735,7 +1739,7 @@ module Kramdown::Options
1735
1739
  #
1736
1740
  # Optionally, the array is checked for the correct size.
1737
1741
  #
1738
- # source://kramdown//lib/kramdown/options.rb#141
1742
+ # source://kramdown//lib/kramdown/options.rb#142
1739
1743
  def simple_array_validator(val, name, size = T.unsafe(nil)); end
1740
1744
 
1741
1745
  # Ensures that the option value +val+ for the option called +name+ is a valid hash. The
@@ -1746,7 +1750,7 @@ module Kramdown::Options
1746
1750
  #
1747
1751
  # @raise [Kramdown::Error]
1748
1752
  #
1749
- # source://kramdown//lib/kramdown/options.rb#158
1753
+ # source://kramdown//lib/kramdown/options.rb#159
1750
1754
  def simple_hash_validator(val, name); end
1751
1755
 
1752
1756
  # Converts the given String +data+ into a Symbol or +nil+ with the
@@ -1755,7 +1759,7 @@ module Kramdown::Options
1755
1759
  # - A leading colon is stripped from the string.
1756
1760
  # - An empty value or a value equal to "nil" results in +nil+.
1757
1761
  #
1758
- # source://kramdown//lib/kramdown/options.rb#122
1762
+ # source://kramdown//lib/kramdown/options.rb#123
1759
1763
  def str_to_sym(data); end
1760
1764
  end
1761
1765
  end
@@ -1785,77 +1789,106 @@ class Kramdown::Options::Definition < ::Struct
1785
1789
  # Returns the value of attribute default
1786
1790
  #
1787
1791
  # @return [Object] the current value of default
1792
+ #
1793
+ # source://kramdown//lib/kramdown/options.rb#36
1788
1794
  def default; end
1789
1795
 
1790
1796
  # Sets the attribute default
1791
1797
  #
1792
1798
  # @param value [Object] the value to set the attribute default to.
1793
1799
  # @return [Object] the newly set value
1800
+ #
1801
+ # source://kramdown//lib/kramdown/options.rb#36
1794
1802
  def default=(_); end
1795
1803
 
1796
1804
  # Returns the value of attribute desc
1797
1805
  #
1798
1806
  # @return [Object] the current value of desc
1807
+ #
1808
+ # source://kramdown//lib/kramdown/options.rb#36
1799
1809
  def desc; end
1800
1810
 
1801
1811
  # Sets the attribute desc
1802
1812
  #
1803
1813
  # @param value [Object] the value to set the attribute desc to.
1804
1814
  # @return [Object] the newly set value
1815
+ #
1816
+ # source://kramdown//lib/kramdown/options.rb#36
1805
1817
  def desc=(_); end
1806
1818
 
1807
1819
  # Returns the value of attribute name
1808
1820
  #
1809
1821
  # @return [Object] the current value of name
1822
+ #
1823
+ # source://kramdown//lib/kramdown/options.rb#36
1810
1824
  def name; end
1811
1825
 
1812
1826
  # Sets the attribute name
1813
1827
  #
1814
1828
  # @param value [Object] the value to set the attribute name to.
1815
1829
  # @return [Object] the newly set value
1830
+ #
1831
+ # source://kramdown//lib/kramdown/options.rb#36
1816
1832
  def name=(_); end
1817
1833
 
1818
1834
  # Returns the value of attribute type
1819
1835
  #
1820
1836
  # @return [Object] the current value of type
1837
+ #
1838
+ # source://kramdown//lib/kramdown/options.rb#36
1821
1839
  def type; end
1822
1840
 
1823
1841
  # Sets the attribute type
1824
1842
  #
1825
1843
  # @param value [Object] the value to set the attribute type to.
1826
1844
  # @return [Object] the newly set value
1845
+ #
1846
+ # source://kramdown//lib/kramdown/options.rb#36
1827
1847
  def type=(_); end
1828
1848
 
1829
1849
  # Returns the value of attribute validator
1830
1850
  #
1831
1851
  # @return [Object] the current value of validator
1852
+ #
1853
+ # source://kramdown//lib/kramdown/options.rb#36
1832
1854
  def validator; end
1833
1855
 
1834
1856
  # Sets the attribute validator
1835
1857
  #
1836
1858
  # @param value [Object] the value to set the attribute validator to.
1837
1859
  # @return [Object] the newly set value
1860
+ #
1861
+ # source://kramdown//lib/kramdown/options.rb#36
1838
1862
  def validator=(_); end
1839
1863
 
1840
1864
  class << self
1865
+ # source://kramdown//lib/kramdown/options.rb#36
1841
1866
  def [](*_arg0); end
1867
+
1868
+ # source://kramdown//lib/kramdown/options.rb#36
1842
1869
  def inspect; end
1870
+
1871
+ # source://kramdown//lib/kramdown/options.rb#36
1843
1872
  def keyword_init?; end
1873
+
1874
+ # source://kramdown//lib/kramdown/options.rb#36
1844
1875
  def members; end
1876
+
1877
+ # source://kramdown//lib/kramdown/options.rb#36
1845
1878
  def new(*_arg0); end
1846
1879
  end
1847
1880
  end
1848
1881
 
1849
- # source://kramdown//lib/kramdown/options.rb#396
1882
+ # source://kramdown//lib/kramdown/options.rb#406
1850
1883
  Kramdown::Options::SMART_QUOTES_ENTITIES = T.let(T.unsafe(nil), Array)
1851
1884
 
1852
- # source://kramdown//lib/kramdown/options.rb#397
1885
+ # source://kramdown//lib/kramdown/options.rb#407
1853
1886
  Kramdown::Options::SMART_QUOTES_STR = T.let(T.unsafe(nil), String)
1854
1887
 
1855
- # source://kramdown//lib/kramdown/options.rb#336
1888
+ # source://kramdown//lib/kramdown/options.rb#346
1856
1889
  Kramdown::Options::TOC_LEVELS_ARRAY = T.let(T.unsafe(nil), Array)
1857
1890
 
1858
- # source://kramdown//lib/kramdown/options.rb#335
1891
+ # source://kramdown//lib/kramdown/options.rb#345
1859
1892
  Kramdown::Options::TOC_LEVELS_RANGE = T.let(T.unsafe(nil), Range)
1860
1893
 
1861
1894
  # This module contains all available parsers. A parser takes an input string and converts the
@@ -1900,19 +1933,19 @@ class Kramdown::Parser::Base
1900
1933
  # Modify the string +source+ to be usable by the parser (unifies line ending characters to
1901
1934
  # +\n+ and makes sure +source+ ends with a new line character).
1902
1935
  #
1903
- # source://kramdown//lib/kramdown/parser/base.rb#91
1936
+ # source://kramdown//lib/kramdown/parser/base.rb#97
1904
1937
  def adapt_source(source); end
1905
1938
 
1906
1939
  # This helper method adds the given +text+ either to the last element in the +tree+ if it is a
1907
1940
  # +type+ element or creates a new text element with the given +type+.
1908
1941
  #
1909
- # source://kramdown//lib/kramdown/parser/base.rb#103
1942
+ # source://kramdown//lib/kramdown/parser/base.rb#109
1910
1943
  def add_text(text, tree = T.unsafe(nil), type = T.unsafe(nil)); end
1911
1944
 
1912
1945
  # Extract the part of the StringScanner +strscan+ backed string specified by the +range+. This
1913
1946
  # method works correctly under Ruby 1.8 and Ruby 1.9.
1914
1947
  #
1915
- # source://kramdown//lib/kramdown/parser/base.rb#115
1948
+ # source://kramdown//lib/kramdown/parser/base.rb#121
1916
1949
  def extract_string(range, strscan); end
1917
1950
 
1918
1951
  # The hash with the parsing options.
@@ -1929,7 +1962,7 @@ class Kramdown::Parser::Base
1929
1962
  #
1930
1963
  # @raise [NotImplementedError]
1931
1964
  #
1932
- # source://kramdown//lib/kramdown/parser/base.rb#79
1965
+ # source://kramdown//lib/kramdown/parser/base.rb#85
1933
1966
  def parse; end
1934
1967
 
1935
1968
  # The root element of element tree that is created from the source string.
@@ -1944,7 +1977,7 @@ class Kramdown::Parser::Base
1944
1977
 
1945
1978
  # Add the given warning +text+ to the warning array.
1946
1979
  #
1947
- # source://kramdown//lib/kramdown/parser/base.rb#84
1980
+ # source://kramdown//lib/kramdown/parser/base.rb#90
1948
1981
  def warning(text); end
1949
1982
 
1950
1983
  # The array with the parser warnings.
@@ -1959,12 +1992,15 @@ class Kramdown::Parser::Base
1959
1992
  # Initializes a new instance of the calling class and then calls the +#parse+ method that must
1960
1993
  # be implemented by each subclass.
1961
1994
  #
1962
- # source://kramdown//lib/kramdown/parser/base.rb#67
1995
+ # source://kramdown//lib/kramdown/parser/base.rb#73
1963
1996
  def parse(source, options = T.unsafe(nil)); end
1964
1997
 
1965
1998
  private
1966
1999
 
2000
+ # source://kramdown//lib/kramdown/parser/base.rb#66
1967
2001
  def allocate; end
2002
+
2003
+ # source://kramdown//lib/kramdown/parser/base.rb#66
1968
2004
  def new(*_arg0); end
1969
2005
  end
1970
2006
  end
@@ -1980,7 +2016,7 @@ class Kramdown::Parser::Html < ::Kramdown::Parser::Base
1980
2016
 
1981
2017
  # Parse the source string provided on initialization as HTML document.
1982
2018
  #
1983
- # source://kramdown//lib/kramdown/parser/html.rb#586
2019
+ # source://kramdown//lib/kramdown/parser/html.rb#593
1984
2020
  def parse; end
1985
2021
  end
1986
2022
 
@@ -1989,28 +2025,31 @@ end
1989
2025
  # source://kramdown//lib/kramdown/parser/html.rb#25
1990
2026
  module Kramdown::Parser::Html::Constants; end
1991
2027
 
1992
- # source://kramdown//lib/kramdown/parser/html.rb#32
2028
+ # source://kramdown//lib/kramdown/parser/html.rb#33
1993
2029
  Kramdown::Parser::Html::Constants::HTML_ATTRIBUTE_RE = T.let(T.unsafe(nil), Regexp)
1994
2030
 
1995
- # source://kramdown//lib/kramdown/parser/html.rb#59
2031
+ # source://kramdown//lib/kramdown/parser/html.rb#60
1996
2032
  Kramdown::Parser::Html::Constants::HTML_BLOCK_ELEMENTS = T.let(T.unsafe(nil), Array)
1997
2033
 
2034
+ # source://kramdown//lib/kramdown/parser/html.rb#32
2035
+ Kramdown::Parser::Html::Constants::HTML_CDATA_RE = T.let(T.unsafe(nil), Regexp)
2036
+
1998
2037
  # source://kramdown//lib/kramdown/parser/html.rb#30
1999
2038
  Kramdown::Parser::Html::Constants::HTML_COMMENT_RE = T.let(T.unsafe(nil), Regexp)
2000
2039
 
2001
2040
  # The following elements are also parsed as raw since they need child elements that cannot
2002
2041
  # be expressed using kramdown syntax: colgroup table tbody thead tfoot tr ul ol
2003
2042
  #
2004
- # source://kramdown//lib/kramdown/parser/html.rb#48
2043
+ # source://kramdown//lib/kramdown/parser/html.rb#49
2005
2044
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL = T.let(T.unsafe(nil), Hash)
2006
2045
 
2007
- # source://kramdown//lib/kramdown/parser/html.rb#37
2046
+ # source://kramdown//lib/kramdown/parser/html.rb#38
2008
2047
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_BLOCK = T.let(T.unsafe(nil), Array)
2009
2048
 
2010
- # source://kramdown//lib/kramdown/parser/html.rb#44
2049
+ # source://kramdown//lib/kramdown/parser/html.rb#45
2011
2050
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_RAW = T.let(T.unsafe(nil), Array)
2012
2051
 
2013
- # source://kramdown//lib/kramdown/parser/html.rb#41
2052
+ # source://kramdown//lib/kramdown/parser/html.rb#42
2014
2053
  Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_SPAN = T.let(T.unsafe(nil), Array)
2015
2054
 
2016
2055
  # :stopdoc:
@@ -2019,13 +2058,13 @@ Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_SPAN = T.let(T.unsafe(nil)
2019
2058
  # source://kramdown//lib/kramdown/parser/html.rb#29
2020
2059
  Kramdown::Parser::Html::Constants::HTML_DOCTYPE_RE = T.let(T.unsafe(nil), Regexp)
2021
2060
 
2022
- # source://kramdown//lib/kramdown/parser/html.rb#66
2061
+ # source://kramdown//lib/kramdown/parser/html.rb#67
2023
2062
  Kramdown::Parser::Html::Constants::HTML_ELEMENT = T.let(T.unsafe(nil), Hash)
2024
2063
 
2025
- # source://kramdown//lib/kramdown/parser/html.rb#63
2064
+ # source://kramdown//lib/kramdown/parser/html.rb#64
2026
2065
  Kramdown::Parser::Html::Constants::HTML_ELEMENTS_WITHOUT_BODY = T.let(T.unsafe(nil), Array)
2027
2066
 
2028
- # source://kramdown//lib/kramdown/parser/html.rb#35
2067
+ # source://kramdown//lib/kramdown/parser/html.rb#36
2029
2068
  Kramdown::Parser::Html::Constants::HTML_ENTITY_RE = T.let(T.unsafe(nil), Regexp)
2030
2069
 
2031
2070
  # source://kramdown//lib/kramdown/parser/html.rb#31
@@ -2035,152 +2074,152 @@ Kramdown::Parser::Html::Constants::HTML_INSTRUCTION_RE = T.let(T.unsafe(nil), Re
2035
2074
  # span HTML) and don't appear therefore!
2036
2075
  # script, textarea
2037
2076
  #
2038
- # source://kramdown//lib/kramdown/parser/html.rb#56
2077
+ # source://kramdown//lib/kramdown/parser/html.rb#57
2039
2078
  Kramdown::Parser::Html::Constants::HTML_SPAN_ELEMENTS = T.let(T.unsafe(nil), Array)
2040
2079
 
2041
- # source://kramdown//lib/kramdown/parser/html.rb#34
2080
+ # source://kramdown//lib/kramdown/parser/html.rb#35
2042
2081
  Kramdown::Parser::Html::Constants::HTML_TAG_CLOSE_RE = T.let(T.unsafe(nil), Regexp)
2043
2082
 
2044
- # source://kramdown//lib/kramdown/parser/html.rb#33
2083
+ # source://kramdown//lib/kramdown/parser/html.rb#34
2045
2084
  Kramdown::Parser::Html::Constants::HTML_TAG_RE = T.let(T.unsafe(nil), Regexp)
2046
2085
 
2047
2086
  # Converts HTML elements to native elements if possible.
2048
2087
  #
2049
- # source://kramdown//lib/kramdown/parser/html.rb#197
2088
+ # source://kramdown//lib/kramdown/parser/html.rb#200
2050
2089
  class Kramdown::Parser::Html::ElementConverter
2051
2090
  include ::Kramdown::Parser::Html::Constants
2052
2091
  include ::Kramdown::Utils::Entities
2053
2092
 
2054
2093
  # @return [ElementConverter] a new instance of ElementConverter
2055
2094
  #
2056
- # source://kramdown//lib/kramdown/parser/html.rb#216
2095
+ # source://kramdown//lib/kramdown/parser/html.rb#219
2057
2096
  def initialize(root); end
2058
2097
 
2059
- # source://kramdown//lib/kramdown/parser/html.rb#384
2098
+ # source://kramdown//lib/kramdown/parser/html.rb#388
2060
2099
  def convert_a(el); end
2061
2100
 
2062
- # source://kramdown//lib/kramdown/parser/html.rb#394
2101
+ # source://kramdown//lib/kramdown/parser/html.rb#409
2063
2102
  def convert_b(el); end
2064
2103
 
2065
- # source://kramdown//lib/kramdown/parser/html.rb#417
2104
+ # source://kramdown//lib/kramdown/parser/html.rb#421
2066
2105
  def convert_code(el); end
2067
2106
 
2068
- # source://kramdown//lib/kramdown/parser/html.rb#394
2107
+ # source://kramdown//lib/kramdown/parser/html.rb#398
2069
2108
  def convert_em(el); end
2070
2109
 
2071
- # source://kramdown//lib/kramdown/parser/html.rb#408
2110
+ # source://kramdown//lib/kramdown/parser/html.rb#412
2072
2111
  def convert_h1(el); end
2073
2112
 
2074
- # source://kramdown//lib/kramdown/parser/html.rb#408
2113
+ # source://kramdown//lib/kramdown/parser/html.rb#418
2075
2114
  def convert_h2(el); end
2076
2115
 
2077
- # source://kramdown//lib/kramdown/parser/html.rb#408
2116
+ # source://kramdown//lib/kramdown/parser/html.rb#418
2078
2117
  def convert_h3(el); end
2079
2118
 
2080
- # source://kramdown//lib/kramdown/parser/html.rb#408
2119
+ # source://kramdown//lib/kramdown/parser/html.rb#418
2081
2120
  def convert_h4(el); end
2082
2121
 
2083
- # source://kramdown//lib/kramdown/parser/html.rb#408
2122
+ # source://kramdown//lib/kramdown/parser/html.rb#418
2084
2123
  def convert_h5(el); end
2085
2124
 
2086
- # source://kramdown//lib/kramdown/parser/html.rb#408
2125
+ # source://kramdown//lib/kramdown/parser/html.rb#418
2087
2126
  def convert_h6(el); end
2088
2127
 
2089
- # source://kramdown//lib/kramdown/parser/html.rb#394
2128
+ # source://kramdown//lib/kramdown/parser/html.rb#409
2090
2129
  def convert_i(el); end
2091
2130
 
2092
- # source://kramdown//lib/kramdown/parser/html.rb#417
2131
+ # source://kramdown//lib/kramdown/parser/html.rb#463
2093
2132
  def convert_pre(el); end
2094
2133
 
2095
- # source://kramdown//lib/kramdown/parser/html.rb#563
2134
+ # source://kramdown//lib/kramdown/parser/html.rb#570
2096
2135
  def convert_script(el); end
2097
2136
 
2098
- # source://kramdown//lib/kramdown/parser/html.rb#394
2137
+ # source://kramdown//lib/kramdown/parser/html.rb#409
2099
2138
  def convert_strong(el); end
2100
2139
 
2101
- # source://kramdown//lib/kramdown/parser/html.rb#460
2140
+ # source://kramdown//lib/kramdown/parser/html.rb#465
2102
2141
  def convert_table(el); end
2103
2142
 
2104
- # source://kramdown//lib/kramdown/parser/html.rb#380
2143
+ # source://kramdown//lib/kramdown/parser/html.rb#384
2105
2144
  def convert_textarea(el); end
2106
2145
 
2107
- # source://kramdown//lib/kramdown/parser/html.rb#375
2146
+ # source://kramdown//lib/kramdown/parser/html.rb#379
2108
2147
  def extract_text(el, raw); end
2109
2148
 
2110
- # source://kramdown//lib/kramdown/parser/html.rb#575
2149
+ # source://kramdown//lib/kramdown/parser/html.rb#582
2111
2150
  def handle_math_tag(el); end
2112
2151
 
2113
2152
  # @return [Boolean]
2114
2153
  #
2115
- # source://kramdown//lib/kramdown/parser/html.rb#571
2154
+ # source://kramdown//lib/kramdown/parser/html.rb#578
2116
2155
  def is_math_tag?(el); end
2117
2156
 
2118
2157
  # @return [Boolean]
2119
2158
  #
2120
- # source://kramdown//lib/kramdown/parser/html.rb#503
2159
+ # source://kramdown//lib/kramdown/parser/html.rb#508
2121
2160
  def is_simple_table?(el); end
2122
2161
 
2123
2162
  # Convert the element +el+ and its children.
2124
2163
  #
2125
- # source://kramdown//lib/kramdown/parser/html.rb#225
2164
+ # source://kramdown//lib/kramdown/parser/html.rb#228
2126
2165
  def process(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil), parent = T.unsafe(nil)); end
2127
2166
 
2128
- # source://kramdown//lib/kramdown/parser/html.rb#278
2167
+ # source://kramdown//lib/kramdown/parser/html.rb#282
2129
2168
  def process_children(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil)); end
2130
2169
 
2131
- # source://kramdown//lib/kramdown/parser/html.rb#320
2170
+ # source://kramdown//lib/kramdown/parser/html.rb#324
2132
2171
  def process_html_element(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil)); end
2133
2172
 
2134
2173
  # Process the HTML text +raw+: compress whitespace (if +preserve+ is +false+) and convert
2135
2174
  # entities in entity elements.
2136
2175
  #
2137
- # source://kramdown//lib/kramdown/parser/html.rb#291
2176
+ # source://kramdown//lib/kramdown/parser/html.rb#295
2138
2177
  def process_text(raw, preserve = T.unsafe(nil)); end
2139
2178
 
2140
- # source://kramdown//lib/kramdown/parser/html.rb#326
2179
+ # source://kramdown//lib/kramdown/parser/html.rb#330
2141
2180
  def remove_text_children(el); end
2142
2181
 
2143
- # source://kramdown//lib/kramdown/parser/html.rb#359
2182
+ # source://kramdown//lib/kramdown/parser/html.rb#363
2144
2183
  def remove_whitespace_children(el); end
2145
2184
 
2146
- # source://kramdown//lib/kramdown/parser/html.rb#369
2185
+ # source://kramdown//lib/kramdown/parser/html.rb#373
2147
2186
  def set_basics(el, type, opts = T.unsafe(nil)); end
2148
2187
 
2149
- # source://kramdown//lib/kramdown/parser/html.rb#349
2188
+ # source://kramdown//lib/kramdown/parser/html.rb#353
2150
2189
  def strip_whitespace(el); end
2151
2190
 
2152
- # source://kramdown//lib/kramdown/parser/html.rb#330
2191
+ # source://kramdown//lib/kramdown/parser/html.rb#334
2153
2192
  def wrap_text_children(el); end
2154
2193
 
2155
2194
  class << self
2156
- # source://kramdown//lib/kramdown/parser/html.rb#220
2195
+ # source://kramdown//lib/kramdown/parser/html.rb#223
2157
2196
  def convert(root, el = T.unsafe(nil)); end
2158
2197
  end
2159
2198
  end
2160
2199
 
2161
- # source://kramdown//lib/kramdown/parser/html.rb#393
2200
+ # source://kramdown//lib/kramdown/parser/html.rb#397
2162
2201
  Kramdown::Parser::Html::ElementConverter::EMPHASIS_TYPE_MAP = T.let(T.unsafe(nil), Hash)
2163
2202
 
2164
- # source://kramdown//lib/kramdown/parser/html.rb#204
2203
+ # source://kramdown//lib/kramdown/parser/html.rb#207
2165
2204
  Kramdown::Parser::Html::ElementConverter::REMOVE_TEXT_CHILDREN = T.let(T.unsafe(nil), Array)
2166
2205
 
2167
- # source://kramdown//lib/kramdown/parser/html.rb#208
2206
+ # source://kramdown//lib/kramdown/parser/html.rb#211
2168
2207
  Kramdown::Parser::Html::ElementConverter::REMOVE_WHITESPACE_CHILDREN = T.let(T.unsafe(nil), Array)
2169
2208
 
2170
- # source://kramdown//lib/kramdown/parser/html.rb#213
2209
+ # source://kramdown//lib/kramdown/parser/html.rb#216
2171
2210
  Kramdown::Parser::Html::ElementConverter::SIMPLE_ELEMENTS = T.let(T.unsafe(nil), Array)
2172
2211
 
2173
- # source://kramdown//lib/kramdown/parser/html.rb#210
2212
+ # source://kramdown//lib/kramdown/parser/html.rb#213
2174
2213
  Kramdown::Parser::Html::ElementConverter::STRIP_WHITESPACE = T.let(T.unsafe(nil), Array)
2175
2214
 
2176
- # source://kramdown//lib/kramdown/parser/html.rb#206
2215
+ # source://kramdown//lib/kramdown/parser/html.rb#209
2177
2216
  Kramdown::Parser::Html::ElementConverter::WRAP_TEXT_CHILDREN = T.let(T.unsafe(nil), Array)
2178
2217
 
2179
2218
  # Contains the parsing methods. This module can be mixed into any parser to get HTML parsing
2180
2219
  # functionality. The only thing that must be provided by the class are instance variable
2181
2220
  # parsing.
2182
2221
  #
2183
- # source://kramdown//lib/kramdown/parser/html.rb#77
2222
+ # source://kramdown//lib/kramdown/parser/html.rb#78
2184
2223
  module Kramdown::Parser::Html::Parser
2185
2224
  include ::Kramdown::Parser::Html::Constants
2186
2225
 
@@ -2191,12 +2230,12 @@ module Kramdown::Parser::Html::Parser
2191
2230
  # element is already closed, ie. contains no body; the third parameter specifies whether the
2192
2231
  # body - and the end tag - need to be handled in case closed=false).
2193
2232
  #
2194
- # source://kramdown//lib/kramdown/parser/html.rb#87
2233
+ # source://kramdown//lib/kramdown/parser/html.rb#88
2195
2234
  def handle_html_start_tag(line = T.unsafe(nil)); end
2196
2235
 
2197
2236
  # Handle the raw HTML tag at the current position.
2198
2237
  #
2199
- # source://kramdown//lib/kramdown/parser/html.rb#127
2238
+ # source://kramdown//lib/kramdown/parser/html.rb#128
2200
2239
  def handle_raw_html_tag(name); end
2201
2240
 
2202
2241
  # Parses the given string for HTML attributes and returns the resulting hash.
@@ -2206,7 +2245,7 @@ module Kramdown::Parser::Html::Parser
2206
2245
  # If the optional +in_html_tag+ parameter is set to +false+, attributes are not modified to
2207
2246
  # contain only lowercase letters.
2208
2247
  #
2209
- # source://kramdown//lib/kramdown/parser/html.rb#114
2248
+ # source://kramdown//lib/kramdown/parser/html.rb#115
2210
2249
  def parse_html_attributes(str, line = T.unsafe(nil), in_html_tag = T.unsafe(nil)); end
2211
2250
 
2212
2251
  # Parse raw HTML from the current source position, storing the found elements in +el+.
@@ -2219,11 +2258,11 @@ module Kramdown::Parser::Html::Parser
2219
2258
  # When an HTML start tag is found, processing is deferred to #handle_html_start_tag,
2220
2259
  # providing the block given to this method.
2221
2260
  #
2222
- # source://kramdown//lib/kramdown/parser/html.rb#150
2261
+ # source://kramdown//lib/kramdown/parser/html.rb#151
2223
2262
  def parse_raw_html(el, &block); end
2224
2263
  end
2225
2264
 
2226
- # source://kramdown//lib/kramdown/parser/html.rb#139
2265
+ # source://kramdown//lib/kramdown/parser/html.rb#140
2227
2266
  Kramdown::Parser::Html::Parser::HTML_RAW_START = T.let(T.unsafe(nil), Regexp)
2228
2267
 
2229
2268
  # Used for parsing a document in kramdown format.
@@ -2270,6 +2309,7 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2270
2309
  include ::Kramdown
2271
2310
  include ::Kramdown::Parser::Html::Constants
2272
2311
  include ::Kramdown::Parser::Html::Parser
2312
+ include ::Kramdown::Utils::Html
2273
2313
 
2274
2314
  # Create a new Kramdown parser object with the given +options+.
2275
2315
  #
@@ -2306,7 +2346,7 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2306
2346
  # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#96
2307
2347
  def handle_extension(name, opts, body, type, line_no = T.unsafe(nil)); end
2308
2348
 
2309
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#25
2349
+ # source://kramdown//lib/kramdown/parser/kramdown/html.rb#26
2310
2350
  def handle_kramdown_html_tag(el, closed, handle_body); end
2311
2351
 
2312
2352
  # Normalize the link identifier.
@@ -2356,7 +2396,7 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2356
2396
 
2357
2397
  # Parse the HTML at the current position as block-level HTML.
2358
2398
  #
2359
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#71
2399
+ # source://kramdown//lib/kramdown/parser/kramdown/html.rb#73
2360
2400
  def parse_block_html; end
2361
2401
 
2362
2402
  # Parse the math block at the current location.
@@ -2520,7 +2560,7 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2520
2560
  # Create a new block-level element, taking care of applying a preceding block IAL if it
2521
2561
  # exists. This method should always be used for creating a block-level element!
2522
2562
  #
2523
- # source://kramdown//lib/kramdown/parser/kramdown.rb#305
2563
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#306
2524
2564
  def new_block_el(*args); end
2525
2565
 
2526
2566
  # Parse all block-level elements in +text+ into the element +el+.
@@ -2543,23 +2583,23 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2543
2583
  #
2544
2584
  # The parameter +text_type+ specifies the type which should be used for created text nodes.
2545
2585
  #
2546
- # source://kramdown//lib/kramdown/parser/kramdown.rb#214
2586
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#215
2547
2587
  def parse_spans(el, stop_re = T.unsafe(nil), parsers = T.unsafe(nil), text_type = T.unsafe(nil)); end
2548
2588
 
2549
2589
  # Reset the current parsing environment. The parameter +env+ can be used to set initial
2550
2590
  # values for one or more environment variables.
2551
2591
  #
2552
- # source://kramdown//lib/kramdown/parser/kramdown.rb#253
2592
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#254
2553
2593
  def reset_env(opts = T.unsafe(nil)); end
2554
2594
 
2555
2595
  # Restore the current parsing environment.
2556
2596
  #
2557
- # source://kramdown//lib/kramdown/parser/kramdown.rb#268
2597
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#269
2558
2598
  def restore_env(env); end
2559
2599
 
2560
2600
  # Return the current parsing environment.
2561
2601
  #
2562
- # source://kramdown//lib/kramdown/parser/kramdown.rb#263
2602
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#264
2563
2603
  def save_env; end
2564
2604
 
2565
2605
  # Create the needed span parser regexps.
@@ -2570,7 +2610,7 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2570
2610
  # Update the given attributes hash +attr+ with the information from the inline attribute list
2571
2611
  # +ial+ and all referenced ALDs.
2572
2612
  #
2573
- # source://kramdown//lib/kramdown/parser/kramdown.rb#274
2613
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#275
2574
2614
  def update_attr_with_ial(attr, ial); end
2575
2615
 
2576
2616
  #
@@ -2585,7 +2625,7 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2585
2625
 
2586
2626
  # Update the raw text for automatic ID generation.
2587
2627
  #
2588
- # source://kramdown//lib/kramdown/parser/kramdown.rb#288
2628
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#289
2589
2629
  def update_raw_text(item); end
2590
2630
 
2591
2631
  # Update the tree by parsing all :+raw_text+ elements with the span-level parser (resets the
@@ -2602,7 +2642,7 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2602
2642
  # source://kramdown//lib/kramdown/parser/kramdown/list.rb#258
2603
2643
  def fetch_pattern(type, indentation); end
2604
2644
 
2605
- # source://kramdown//lib/kramdown/parser/kramdown.rb#200
2645
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#201
2606
2646
  def span_pattern_cache(stop_re, span_start); end
2607
2647
 
2608
2648
  class << self
@@ -2616,19 +2656,19 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base
2616
2656
  # to the registry. The method name is automatically derived from the +name+ or can explicitly
2617
2657
  # be set by using the +meth_name+ parameter.
2618
2658
  #
2619
- # source://kramdown//lib/kramdown/parser/kramdown.rb#328
2659
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#329
2620
2660
  def define_parser(name, start_re, span_start = T.unsafe(nil), meth_name = T.unsafe(nil)); end
2621
2661
 
2622
2662
  # Return +true+ if there is a parser called +name+.
2623
2663
  #
2624
2664
  # @return [Boolean]
2625
2665
  #
2626
- # source://kramdown//lib/kramdown/parser/kramdown.rb#339
2666
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#340
2627
2667
  def has_parser?(name); end
2628
2668
 
2629
2669
  # Return the Data structure for the parser +name+.
2630
2670
  #
2631
- # source://kramdown//lib/kramdown/parser/kramdown.rb#334
2671
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#335
2632
2672
  def parser(name = T.unsafe(nil)); end
2633
2673
  end
2634
2674
  end
@@ -2713,57 +2753,82 @@ Kramdown::Parser::Kramdown::DEFINITION_LIST_START = T.let(T.unsafe(nil), Regexp)
2713
2753
 
2714
2754
  # Struct class holding all the needed data for one block/span-level parser method.
2715
2755
  #
2716
- # source://kramdown//lib/kramdown/parser/kramdown.rb#317
2756
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2717
2757
  class Kramdown::Parser::Kramdown::Data < ::Struct
2718
2758
  # Returns the value of attribute method
2719
2759
  #
2720
2760
  # @return [Object] the current value of method
2761
+ #
2762
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2721
2763
  def method; end
2722
2764
 
2723
2765
  # Sets the attribute method
2724
2766
  #
2725
2767
  # @param value [Object] the value to set the attribute method to.
2726
2768
  # @return [Object] the newly set value
2769
+ #
2770
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2727
2771
  def method=(_); end
2728
2772
 
2729
2773
  # Returns the value of attribute name
2730
2774
  #
2731
2775
  # @return [Object] the current value of name
2776
+ #
2777
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2732
2778
  def name; end
2733
2779
 
2734
2780
  # Sets the attribute name
2735
2781
  #
2736
2782
  # @param value [Object] the value to set the attribute name to.
2737
2783
  # @return [Object] the newly set value
2784
+ #
2785
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2738
2786
  def name=(_); end
2739
2787
 
2740
2788
  # Returns the value of attribute span_start
2741
2789
  #
2742
2790
  # @return [Object] the current value of span_start
2791
+ #
2792
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2743
2793
  def span_start; end
2744
2794
 
2745
2795
  # Sets the attribute span_start
2746
2796
  #
2747
2797
  # @param value [Object] the value to set the attribute span_start to.
2748
2798
  # @return [Object] the newly set value
2799
+ #
2800
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2749
2801
  def span_start=(_); end
2750
2802
 
2751
2803
  # Returns the value of attribute start_re
2752
2804
  #
2753
2805
  # @return [Object] the current value of start_re
2806
+ #
2807
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2754
2808
  def start_re; end
2755
2809
 
2756
2810
  # Sets the attribute start_re
2757
2811
  #
2758
2812
  # @param value [Object] the value to set the attribute start_re to.
2759
2813
  # @return [Object] the newly set value
2814
+ #
2815
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2760
2816
  def start_re=(_); end
2761
2817
 
2762
2818
  class << self
2819
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2763
2820
  def [](*_arg0); end
2821
+
2822
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2764
2823
  def inspect; end
2824
+
2825
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2765
2826
  def keyword_init?; end
2827
+
2828
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2766
2829
  def members; end
2830
+
2831
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#318
2767
2832
  def new(*_arg0); end
2768
2833
  end
2769
2834
  end
@@ -2810,14 +2875,14 @@ Kramdown::Parser::Kramdown::HEADER_ID = T.let(T.unsafe(nil), Regexp)
2810
2875
  # source://kramdown//lib/kramdown/parser/kramdown/horizontal_rule.rb#14
2811
2876
  Kramdown::Parser::Kramdown::HR_START = T.let(T.unsafe(nil), Regexp)
2812
2877
 
2813
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#68
2878
+ # source://kramdown//lib/kramdown/parser/kramdown/html.rb#70
2814
2879
  Kramdown::Parser::Kramdown::HTML_BLOCK_START = T.let(T.unsafe(nil), Regexp)
2815
2880
 
2816
2881
  # Mapping of markdown attribute value to content model. I.e. :raw when "0", :default when "1"
2817
2882
  # (use default content model for the HTML element), :span when "span", :block when block and
2818
2883
  # for everything else +nil+ is returned.
2819
2884
  #
2820
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#21
2885
+ # source://kramdown//lib/kramdown/parser/kramdown/html.rb#22
2821
2886
  Kramdown::Parser::Kramdown::HTML_MARKDOWN_ATTR_MAP = T.let(T.unsafe(nil), Hash)
2822
2887
 
2823
2888
  # source://kramdown//lib/kramdown/parser/kramdown/html.rb#99
@@ -2837,7 +2902,7 @@ Kramdown::Parser::Kramdown::IAL_SPAN_START = T.let(T.unsafe(nil), Regexp)
2837
2902
 
2838
2903
  # Regexp for matching indentation (one tab or four spaces)
2839
2904
  #
2840
- # source://kramdown//lib/kramdown/parser/kramdown.rb#344
2905
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#345
2841
2906
  Kramdown::Parser::Kramdown::INDENT = T.let(T.unsafe(nil), Regexp)
2842
2907
 
2843
2908
  # source://kramdown//lib/kramdown/parser/kramdown/math.rb#41
@@ -2893,7 +2958,7 @@ Kramdown::Parser::Kramdown::LIST_START_UL = T.let(T.unsafe(nil), Regexp)
2893
2958
 
2894
2959
  # Regexp for matching the optional space (zero or up to three spaces)
2895
2960
  #
2896
- # source://kramdown//lib/kramdown/parser/kramdown.rb#346
2961
+ # source://kramdown//lib/kramdown/parser/kramdown.rb#347
2897
2962
  Kramdown::Parser::Kramdown::OPT_SPACE = T.let(T.unsafe(nil), Regexp)
2898
2963
 
2899
2964
  # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#28
@@ -2955,7 +3020,7 @@ Kramdown::Parser::Kramdown::TABLE_SEP_LINE = T.let(T.unsafe(nil), Regexp)
2955
3020
  # source://kramdown//lib/kramdown/parser/kramdown/table.rb#22
2956
3021
  Kramdown::Parser::Kramdown::TABLE_START = T.let(T.unsafe(nil), Regexp)
2957
3022
 
2958
- # source://kramdown//lib/kramdown/parser/kramdown/html.rb#23
3023
+ # source://kramdown//lib/kramdown/parser/kramdown/html.rb#24
2959
3024
  Kramdown::Parser::Kramdown::TRAILING_WHITESPACE = T.let(T.unsafe(nil), Regexp)
2960
3025
 
2961
3026
  # source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#14
@@ -3068,20 +3133,20 @@ module Kramdown::Utils::Entities
3068
3133
 
3069
3134
  # Return the entity for the given code point or name +point_or_name+.
3070
3135
  #
3071
- # source://kramdown//lib/kramdown/utils/entities.rb#334
3136
+ # source://kramdown//lib/kramdown/utils/entities.rb#990
3072
3137
  def entity(point_or_name); end
3073
3138
 
3074
3139
  class << self
3075
3140
  # Return the entity for the given code point or name +point_or_name+.
3076
3141
  #
3077
- # source://kramdown//lib/kramdown/utils/entities.rb#334
3142
+ # source://kramdown//lib/kramdown/utils/entities.rb#994
3078
3143
  def entity(point_or_name); end
3079
3144
  end
3080
3145
  end
3081
3146
 
3082
3147
  # Contains the mapping of code point (or name) to the actual Entity object.
3083
3148
  #
3084
- # source://kramdown//lib/kramdown/utils/entities.rb#317
3149
+ # source://kramdown//lib/kramdown/utils/entities.rb#973
3085
3150
  Kramdown::Utils::Entities::ENTITY_MAP = T.let(T.unsafe(nil), Hash)
3086
3151
 
3087
3152
  # Array of arrays. Each sub-array specifies a code point and the associated name.
@@ -3104,30 +3169,47 @@ class Kramdown::Utils::Entities::Entity < ::Struct
3104
3169
  # Returns the value of attribute code_point
3105
3170
  #
3106
3171
  # @return [Object] the current value of code_point
3172
+ #
3173
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3107
3174
  def code_point; end
3108
3175
 
3109
3176
  # Sets the attribute code_point
3110
3177
  #
3111
3178
  # @param value [Object] the value to set the attribute code_point to.
3112
3179
  # @return [Object] the newly set value
3180
+ #
3181
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3113
3182
  def code_point=(_); end
3114
3183
 
3115
3184
  # Returns the value of attribute name
3116
3185
  #
3117
3186
  # @return [Object] the current value of name
3187
+ #
3188
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3118
3189
  def name; end
3119
3190
 
3120
3191
  # Sets the attribute name
3121
3192
  #
3122
3193
  # @param value [Object] the value to set the attribute name to.
3123
3194
  # @return [Object] the newly set value
3195
+ #
3196
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3124
3197
  def name=(_); end
3125
3198
 
3126
3199
  class << self
3200
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3127
3201
  def [](*_arg0); end
3202
+
3203
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3128
3204
  def inspect; end
3205
+
3206
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3129
3207
  def keyword_init?; end
3208
+
3209
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3130
3210
  def members; end
3211
+
3212
+ # source://kramdown//lib/kramdown/utils/entities.rb#18
3131
3213
  def new(*_arg0); end
3132
3214
  end
3133
3215
  end