securemark 0.231.0 → 0.232.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.
package/markdown.d.ts CHANGED
@@ -87,6 +87,7 @@ export namespace MarkdownParser {
87
87
  BlockParser.MathBlockParser,
88
88
  BlockParser.ExtensionParser,
89
89
  BlockParser.BlockquoteParser,
90
+ BlockParser.ReplyParser,
90
91
  BlockParser.ParagraphParser,
91
92
  ]> {
92
93
  }
@@ -550,65 +551,66 @@ export namespace MarkdownParser {
550
551
  }
551
552
  }
552
553
  }
553
- export interface ParagraphParser extends
554
+ export interface ReplyParser extends
555
+ // >>1
556
+ // > text
554
557
  // abc
555
- Block<'paragraph'>,
558
+ Block<'reply'>,
556
559
  Parser<HTMLParagraphElement, Context, [
557
- ParagraphParser.MentionParser,
558
560
  Parser<string | HTMLElement, Context, [
559
- ParagraphParser.MentionParser.QuoteParser,
561
+ ReplyParser.CiteParser,
562
+ ReplyParser.QuoteParser,
563
+ ]>,
564
+ Parser<string | HTMLElement, Context, [
565
+ ReplyParser.QuoteParser,
560
566
  InlineParser,
561
567
  ]>,
562
568
  ]> {
563
569
  }
564
- export namespace ParagraphParser {
565
- export interface MentionParser extends
566
- // >>1
567
- // > text
568
- Block<'paragraph/mention'>,
570
+ export namespace ReplyParser {
571
+ export interface CiteParser extends
572
+ Block<'reply/cite'>,
569
573
  Parser<HTMLSpanElement | HTMLBRElement, Context, [
570
- ParagraphParser.MentionParser.CiteParser,
571
- ParagraphParser.MentionParser.QuoteParser,
574
+ SourceParser.StrParser,
575
+ InlineParser.AutolinkParser.AnchorParser,
572
576
  ]> {
573
577
  }
574
- export namespace MentionParser {
575
- export interface CiteParser extends
576
- Block<'paragraph/mention/cite'>,
577
- Parser<HTMLSpanElement | HTMLBRElement, Context, [
578
- SourceParser.StrParser,
579
- InlineParser.AutolinkParser.AnchorParser,
578
+ export interface QuoteParser extends
579
+ Block<'reply/quote'>,
580
+ Parser<HTMLSpanElement | HTMLBRElement, Context, [
581
+ QuoteParser.BlockParser,
582
+ QuoteParser.PlaceholderParser,
583
+ ]> {
584
+ }
585
+ export namespace QuoteParser {
586
+ export interface BlockParser extends
587
+ Block<'reply/quote/block'>,
588
+ Parser<string | HTMLElement, Context, [
589
+ TextParser,
580
590
  ]> {
581
591
  }
582
- export interface QuoteParser extends
583
- Block<'paragraph/mention/quote'>,
584
- Parser<HTMLSpanElement | HTMLBRElement, Context, [
585
- QuoteParser.BlockParser,
586
- QuoteParser.PlaceholderParser,
592
+ export interface TextParser extends
593
+ Block<'reply/quote/text'>,
594
+ Parser<string | HTMLElement, Context, [
595
+ InlineParser.MathParser,
596
+ AutolinkParser,
587
597
  ]> {
588
598
  }
589
- export namespace QuoteParser {
590
- export interface BlockParser extends
591
- Block<'paragraph/mention/quote/block'>,
592
- Parser<string | HTMLElement, Context, [
593
- TextParser,
594
- ]> {
595
- }
596
- export interface TextParser extends
597
- Block<'paragraph/mention/quote/text'>,
598
- Parser<string | HTMLElement, Context, [
599
- InlineParser.MathParser,
600
- AutolinkParser,
601
- ]> {
602
- }
603
- export interface PlaceholderParser extends
604
- Block<'paragraph/mention/quote/placeholder'>,
605
- Parser<string | HTMLElement, Context, [
606
- SourceParser.StrParser,
607
- ]> {
608
- }
599
+ export interface PlaceholderParser extends
600
+ Block<'reply/quote/placeholder'>,
601
+ Parser<string | HTMLElement, Context, [
602
+ SourceParser.StrParser,
603
+ ]> {
609
604
  }
610
605
  }
611
606
  }
607
+ export interface ParagraphParser extends
608
+ // abc
609
+ Block<'paragraph'>,
610
+ Parser<HTMLParagraphElement, Context, [
611
+ InlineParser,
612
+ ]> {
613
+ }
612
614
  }
613
615
  export interface InlineParser extends
614
616
  Markdown<'inline'>,