diff --git a/markdown/core/api/core.api b/markdown/core/api/core.api index 176a86af59..2e712f2c7d 100644 --- a/markdown/core/api/core.api +++ b/markdown/core/api/core.api @@ -26,7 +26,7 @@ public final class org/jetbrains/jewel/markdown/MarkdownBlock$BlockQuote : org/j public final fun copy (Ljava/util/List;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$BlockQuote; public static synthetic fun copy$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$BlockQuote;Ljava/util/List;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$BlockQuote; public fun equals (Ljava/lang/Object;)Z - public final fun getContent ()Ljava/util/List; + public final fun getChildren ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -61,80 +61,19 @@ public final class org/jetbrains/jewel/markdown/MarkdownBlock$CodeBlock$Indented public fun toString ()Ljava/lang/String; } -public abstract interface class org/jetbrains/jewel/markdown/MarkdownBlock$Extension : org/jetbrains/jewel/markdown/MarkdownBlock { +public abstract interface class org/jetbrains/jewel/markdown/MarkdownBlock$CustomBlock : org/jetbrains/jewel/markdown/MarkdownBlock { } -public abstract interface class org/jetbrains/jewel/markdown/MarkdownBlock$Heading : org/jetbrains/jewel/markdown/BlockWithInlineMarkdown, org/jetbrains/jewel/markdown/MarkdownBlock { -} - -public final class org/jetbrains/jewel/markdown/MarkdownBlock$Heading$H1 : org/jetbrains/jewel/markdown/MarkdownBlock$Heading { - public static final field $stable I - public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-Ns87O_s ()Ljava/lang/String; - public final fun copy-0TBB8uk (Ljava/lang/String;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H1; - public static synthetic fun copy-0TBB8uk$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H1;Ljava/lang/String;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H1; - public fun equals (Ljava/lang/Object;)Z - public fun getInlineContent-Ns87O_s ()Ljava/lang/String; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; -} - -public final class org/jetbrains/jewel/markdown/MarkdownBlock$Heading$H2 : org/jetbrains/jewel/markdown/MarkdownBlock$Heading { - public static final field $stable I - public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-Ns87O_s ()Ljava/lang/String; - public final fun copy-0TBB8uk (Ljava/lang/String;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H2; - public static synthetic fun copy-0TBB8uk$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H2;Ljava/lang/String;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H2; - public fun equals (Ljava/lang/Object;)Z - public fun getInlineContent-Ns87O_s ()Ljava/lang/String; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; -} - -public final class org/jetbrains/jewel/markdown/MarkdownBlock$Heading$H3 : org/jetbrains/jewel/markdown/MarkdownBlock$Heading { - public static final field $stable I - public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-Ns87O_s ()Ljava/lang/String; - public final fun copy-0TBB8uk (Ljava/lang/String;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H3; - public static synthetic fun copy-0TBB8uk$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H3;Ljava/lang/String;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H3; - public fun equals (Ljava/lang/Object;)Z - public fun getInlineContent-Ns87O_s ()Ljava/lang/String; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; -} - -public final class org/jetbrains/jewel/markdown/MarkdownBlock$Heading$H4 : org/jetbrains/jewel/markdown/MarkdownBlock$Heading { - public static final field $stable I - public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-Ns87O_s ()Ljava/lang/String; - public final fun copy-0TBB8uk (Ljava/lang/String;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H4; - public static synthetic fun copy-0TBB8uk$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H4;Ljava/lang/String;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H4; - public fun equals (Ljava/lang/Object;)Z - public fun getInlineContent-Ns87O_s ()Ljava/lang/String; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; -} - -public final class org/jetbrains/jewel/markdown/MarkdownBlock$Heading$H5 : org/jetbrains/jewel/markdown/MarkdownBlock$Heading { - public static final field $stable I - public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-Ns87O_s ()Ljava/lang/String; - public final fun copy-0TBB8uk (Ljava/lang/String;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H5; - public static synthetic fun copy-0TBB8uk$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H5;Ljava/lang/String;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H5; - public fun equals (Ljava/lang/Object;)Z - public fun getInlineContent-Ns87O_s ()Ljava/lang/String; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; -} - -public final class org/jetbrains/jewel/markdown/MarkdownBlock$Heading$H6 : org/jetbrains/jewel/markdown/MarkdownBlock$Heading { +public final class org/jetbrains/jewel/markdown/MarkdownBlock$Heading : org/jetbrains/jewel/markdown/BlockWithInlineMarkdown, org/jetbrains/jewel/markdown/MarkdownBlock { public static final field $stable I - public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-Ns87O_s ()Ljava/lang/String; - public final fun copy-0TBB8uk (Ljava/lang/String;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H6; - public static synthetic fun copy-0TBB8uk$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H6;Ljava/lang/String;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H6; + public final fun component2 ()I + public final fun copy-44Ri3s0 (Ljava/lang/String;I)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading; + public static synthetic fun copy-44Ri3s0$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading;Ljava/lang/String;IILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading; public fun equals (Ljava/lang/Object;)Z public fun getInlineContent-Ns87O_s ()Ljava/lang/String; + public final fun getLevel ()I public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -166,7 +105,7 @@ public final class org/jetbrains/jewel/markdown/MarkdownBlock$Image : org/jetbra } public abstract interface class org/jetbrains/jewel/markdown/MarkdownBlock$ListBlock : org/jetbrains/jewel/markdown/MarkdownBlock { - public abstract fun getItems ()Ljava/util/List; + public abstract fun getChildren ()Ljava/util/List; public abstract fun isTight ()Z } @@ -180,8 +119,8 @@ public final class org/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$OrderedL public final fun copy (Ljava/util/List;ZIC)Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$OrderedList; public static synthetic fun copy$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$OrderedList;Ljava/util/List;ZICILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$OrderedList; public fun equals (Ljava/lang/Object;)Z + public fun getChildren ()Ljava/util/List; public final fun getDelimiter ()C - public fun getItems ()Ljava/util/List; public final fun getStartFrom ()I public fun hashCode ()I public fun isTight ()Z @@ -197,8 +136,8 @@ public final class org/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$Unordere public final fun copy (Ljava/util/List;ZC)Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$UnorderedList; public static synthetic fun copy$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$UnorderedList;Ljava/util/List;ZCILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListBlock$UnorderedList; public fun equals (Ljava/lang/Object;)Z - public final fun getBulletMarker ()C - public fun getItems ()Ljava/util/List; + public fun getChildren ()Ljava/util/List; + public final fun getMarker ()C public fun hashCode ()I public fun isTight ()Z public fun toString ()Ljava/lang/String; @@ -211,7 +150,7 @@ public final class org/jetbrains/jewel/markdown/MarkdownBlock$ListItem : org/jet public final fun copy (Ljava/util/List;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListItem; public static synthetic fun copy$default (Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListItem;Ljava/util/List;ILjava/lang/Object;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$ListItem; public fun equals (Ljava/lang/Object;)Z - public final fun getContent ()Ljava/util/List; + public final fun getChildren ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -304,12 +243,12 @@ public final class org/jetbrains/jewel/markdown/MimeTypeKt { public abstract interface class org/jetbrains/jewel/markdown/extensions/MarkdownBlockProcessorExtension { public abstract fun canProcess (Lorg/commonmark/node/CustomBlock;)Z - public abstract fun processMarkdownBlock (Lorg/commonmark/node/CustomBlock;Lorg/jetbrains/jewel/markdown/processing/MarkdownProcessor;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$Extension; + public abstract fun processMarkdownBlock (Lorg/commonmark/node/CustomBlock;Lorg/jetbrains/jewel/markdown/processing/MarkdownProcessor;)Lorg/jetbrains/jewel/markdown/MarkdownBlock$CustomBlock; } public abstract interface class org/jetbrains/jewel/markdown/extensions/MarkdownBlockRendererExtension { - public abstract fun canRender (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Extension;)Z - public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Extension;Lorg/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer;Lorg/jetbrains/jewel/markdown/rendering/InlineMarkdownRenderer;Landroidx/compose/runtime/Composer;I)V + public abstract fun canRender (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CustomBlock;)Z + public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CustomBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer;Lorg/jetbrains/jewel/markdown/rendering/InlineMarkdownRenderer;Landroidx/compose/runtime/Composer;I)V } public abstract interface class org/jetbrains/jewel/markdown/extensions/MarkdownProcessorExtension { @@ -351,12 +290,7 @@ public class org/jetbrains/jewel/markdown/rendering/DefaultMarkdownBlockRenderer public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CodeBlock$FencedCodeBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Code$Fenced;Landroidx/compose/runtime/Composer;I)V public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CodeBlock$IndentedCodeBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Code$Indented;Landroidx/compose/runtime/Composer;I)V public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CodeBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Code;Landroidx/compose/runtime/Composer;I)V - public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H1;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H1;Landroidx/compose/runtime/Composer;I)V - public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H2;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H2;Landroidx/compose/runtime/Composer;I)V - public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H3;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H3;Landroidx/compose/runtime/Composer;I)V - public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H4;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H4;Landroidx/compose/runtime/Composer;I)V - public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H5;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H5;Landroidx/compose/runtime/Composer;I)V - public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H6;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H6;Landroidx/compose/runtime/Composer;I)V + public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN;Landroidx/compose/runtime/Composer;I)V public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading;Landroidx/compose/runtime/Composer;I)V public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$HtmlBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$HtmlBlock;Landroidx/compose/runtime/Composer;I)V public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Image;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Image;Landroidx/compose/runtime/Composer;I)V @@ -405,12 +339,7 @@ public abstract interface class org/jetbrains/jewel/markdown/rendering/MarkdownB public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CodeBlock$FencedCodeBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Code$Fenced;Landroidx/compose/runtime/Composer;I)V public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CodeBlock$IndentedCodeBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Code$Indented;Landroidx/compose/runtime/Composer;I)V public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CodeBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Code;Landroidx/compose/runtime/Composer;I)V - public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H1;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H1;Landroidx/compose/runtime/Composer;I)V - public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H2;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H2;Landroidx/compose/runtime/Composer;I)V - public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H3;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H3;Landroidx/compose/runtime/Composer;I)V - public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H4;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H4;Landroidx/compose/runtime/Composer;I)V - public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H5;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H5;Landroidx/compose/runtime/Composer;I)V - public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading$H6;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H6;Landroidx/compose/runtime/Composer;I)V + public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN;Landroidx/compose/runtime/Composer;I)V public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Heading;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading;Landroidx/compose/runtime/Composer;I)V public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$HtmlBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$HtmlBlock;Landroidx/compose/runtime/Composer;I)V public abstract fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Image;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Image;Landroidx/compose/runtime/Composer;I)V @@ -552,13 +481,13 @@ public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Headin public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$Companion { } -public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H1 : org/jetbrains/jewel/markdown/rendering/WithInlinesStyling, org/jetbrains/jewel/markdown/rendering/WithUnderline { +public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H1 : org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN { public static final field $stable I public static final field Companion Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H1$Companion; public synthetic fun (Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling;FJFLandroidx/compose/foundation/layout/PaddingValues;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun equals (Ljava/lang/Object;)Z public fun getInlinesStyling ()Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling; - public final fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; + public fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; public fun getUnderlineColor-0d7_KjU ()J public fun getUnderlineGap-D9Ej5fM ()F public fun getUnderlineWidth-D9Ej5fM ()F @@ -569,13 +498,13 @@ public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Headin public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H1$Companion { } -public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H2 : org/jetbrains/jewel/markdown/rendering/WithInlinesStyling, org/jetbrains/jewel/markdown/rendering/WithUnderline { +public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H2 : org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN { public static final field $stable I public static final field Companion Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H2$Companion; public synthetic fun (Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling;FJFLandroidx/compose/foundation/layout/PaddingValues;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun equals (Ljava/lang/Object;)Z public fun getInlinesStyling ()Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling; - public final fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; + public fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; public fun getUnderlineColor-0d7_KjU ()J public fun getUnderlineGap-D9Ej5fM ()F public fun getUnderlineWidth-D9Ej5fM ()F @@ -586,13 +515,13 @@ public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Headin public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H2$Companion { } -public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H3 : org/jetbrains/jewel/markdown/rendering/WithInlinesStyling, org/jetbrains/jewel/markdown/rendering/WithUnderline { +public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H3 : org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN { public static final field $stable I public static final field Companion Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H3$Companion; public synthetic fun (Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling;FJFLandroidx/compose/foundation/layout/PaddingValues;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun equals (Ljava/lang/Object;)Z public fun getInlinesStyling ()Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling; - public final fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; + public fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; public fun getUnderlineColor-0d7_KjU ()J public fun getUnderlineGap-D9Ej5fM ()F public fun getUnderlineWidth-D9Ej5fM ()F @@ -603,13 +532,13 @@ public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Headin public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H3$Companion { } -public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H4 : org/jetbrains/jewel/markdown/rendering/WithInlinesStyling, org/jetbrains/jewel/markdown/rendering/WithUnderline { +public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H4 : org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN { public static final field $stable I public static final field Companion Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H4$Companion; public synthetic fun (Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling;FJFLandroidx/compose/foundation/layout/PaddingValues;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun equals (Ljava/lang/Object;)Z public fun getInlinesStyling ()Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling; - public final fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; + public fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; public fun getUnderlineColor-0d7_KjU ()J public fun getUnderlineGap-D9Ej5fM ()F public fun getUnderlineWidth-D9Ej5fM ()F @@ -620,13 +549,13 @@ public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Headin public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H4$Companion { } -public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H5 : org/jetbrains/jewel/markdown/rendering/WithInlinesStyling, org/jetbrains/jewel/markdown/rendering/WithUnderline { +public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H5 : org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN { public static final field $stable I public static final field Companion Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H5$Companion; public synthetic fun (Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling;FJFLandroidx/compose/foundation/layout/PaddingValues;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun equals (Ljava/lang/Object;)Z public fun getInlinesStyling ()Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling; - public final fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; + public fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; public fun getUnderlineColor-0d7_KjU ()J public fun getUnderlineGap-D9Ej5fM ()F public fun getUnderlineWidth-D9Ej5fM ()F @@ -637,13 +566,13 @@ public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Headin public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H5$Companion { } -public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H6 : org/jetbrains/jewel/markdown/rendering/WithInlinesStyling, org/jetbrains/jewel/markdown/rendering/WithUnderline { +public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H6 : org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN { public static final field $stable I public static final field Companion Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H6$Companion; public synthetic fun (Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling;FJFLandroidx/compose/foundation/layout/PaddingValues;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun equals (Ljava/lang/Object;)Z public fun getInlinesStyling ()Lorg/jetbrains/jewel/markdown/rendering/InlinesStyling; - public final fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; + public fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; public fun getUnderlineColor-0d7_KjU ()J public fun getUnderlineGap-D9Ej5fM ()F public fun getUnderlineWidth-D9Ej5fM ()F @@ -654,6 +583,10 @@ public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Headin public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$H6$Companion { } +public abstract interface class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$Heading$HN : org/jetbrains/jewel/markdown/rendering/WithInlinesStyling, org/jetbrains/jewel/markdown/rendering/WithUnderline { + public abstract fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues; +} + public final class org/jetbrains/jewel/markdown/rendering/MarkdownStyling$HtmlBlock { public static final field $stable I public static final field Companion Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling$HtmlBlock$Companion; diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/MarkdownBlock.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/MarkdownBlock.kt index 5c6a9026db..1f15df7861 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/MarkdownBlock.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/MarkdownBlock.kt @@ -7,44 +7,31 @@ public sealed interface MarkdownBlock { public data class Paragraph(override val inlineContent: InlineMarkdown) : MarkdownBlock, BlockWithInlineMarkdown - public sealed interface Heading : MarkdownBlock, BlockWithInlineMarkdown { + public data class Heading(override val inlineContent: InlineMarkdown, val level: Int) : MarkdownBlock, BlockWithInlineMarkdown - public data class H1(override val inlineContent: InlineMarkdown) : Heading - - public data class H2(override val inlineContent: InlineMarkdown) : Heading - - public data class H3(override val inlineContent: InlineMarkdown) : Heading - - public data class H4(override val inlineContent: InlineMarkdown) : Heading - - public data class H5(override val inlineContent: InlineMarkdown) : Heading - - public data class H6(override val inlineContent: InlineMarkdown) : Heading - } - - public data class BlockQuote(val content: List) : MarkdownBlock + public data class BlockQuote(val children: List) : MarkdownBlock public sealed interface ListBlock : MarkdownBlock { - public val items: List + public val children: List public val isTight: Boolean public data class OrderedList( - override val items: List, + override val children: List, override val isTight: Boolean, val startFrom: Int, val delimiter: Char, ) : ListBlock public data class UnorderedList( - override val items: List, + override val children: List, override val isTight: Boolean, - val bulletMarker: Char, + val marker: Char, ) : ListBlock } public data class ListItem( - val content: List, + val children: List, ) : MarkdownBlock public sealed interface CodeBlock : MarkdownBlock { @@ -67,7 +54,7 @@ public sealed interface MarkdownBlock { public data class HtmlBlock(val content: String) : MarkdownBlock - public interface Extension : MarkdownBlock + public interface CustomBlock : MarkdownBlock } public interface BlockWithInlineMarkdown { diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockProcessorExtension.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockProcessorExtension.kt index 996e67a8dd..860797a7b1 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockProcessorExtension.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockProcessorExtension.kt @@ -14,10 +14,10 @@ public interface MarkdownBlockProcessorExtension { public fun canProcess(block: CustomBlock): Boolean /** - * Processes the [block] as a [MarkdownBlock.Extension], if possible. Note + * Processes the [block] as a [MarkdownBlock.CustomBlock], if possible. Note * that you should always check that [canProcess] returns true for the same * [block], as implementations might throw an exception for unsupported * block types. */ - public fun processMarkdownBlock(block: CustomBlock, processor: MarkdownProcessor): MarkdownBlock.Extension? + public fun processMarkdownBlock(block: CustomBlock, processor: MarkdownProcessor): MarkdownBlock.CustomBlock? } diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockRendererExtension.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockRendererExtension.kt index 7b3d728c31..ea5cb42a2d 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockRendererExtension.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockRendererExtension.kt @@ -2,26 +2,26 @@ package org.jetbrains.jewel.markdown.extensions import androidx.compose.runtime.Composable import org.jetbrains.jewel.markdown.MarkdownBlock -import org.jetbrains.jewel.markdown.MarkdownBlock.Extension +import org.jetbrains.jewel.markdown.MarkdownBlock.CustomBlock import org.jetbrains.jewel.markdown.rendering.InlineMarkdownRenderer import org.jetbrains.jewel.markdown.rendering.MarkdownBlockRenderer /** * An extension for [MarkdownBlockRenderer] that can render one or more - * [MarkdownBlock.Extension]s. + * [MarkdownBlock.CustomBlock]s. */ public interface MarkdownBlockRendererExtension { /** Check whether the provided [block] can be rendered by this extension. */ - public fun canRender(block: Extension): Boolean + public fun canRender(block: CustomBlock): Boolean /** - * Render a [MarkdownBlock.Extension] as a native Composable. Note that if + * Render a [MarkdownBlock.CustomBlock] as a native Composable. Note that if * [canRender] returns `false` for [block], the implementation might throw. */ @Composable public fun render( - block: Extension, + block: CustomBlock, blockRenderer: MarkdownBlockRenderer, inlineRenderer: InlineMarkdownRenderer, ) diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownProcessorExtension.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownProcessorExtension.kt index 8f5d706b43..f484bf8832 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownProcessorExtension.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownProcessorExtension.kt @@ -27,7 +27,7 @@ public interface MarkdownProcessorExtension { * An extension for * [`MarkdownParser`][org.jetbrains.jewel.markdown.parsing.MarkdownParser] * that will transform a supported [CustomBlock] into the corresponding - * [MarkdownBlock.Extension]. + * [MarkdownBlock.CustomBlock]. */ public val processorExtension: MarkdownBlockProcessorExtension } diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownRendererExtension.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownRendererExtension.kt index 6ec625008f..bd6fd86d89 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownRendererExtension.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownRendererExtension.kt @@ -10,7 +10,7 @@ public interface MarkdownRendererExtension { * An extension for * [`MarkdownBlockRenderer`][org.jetbrains.jewel.markdown.rendering.MarkdownBlockRenderer] * that will render a supported - * [`Extension`][org.jetbrains.jewel.markdown.MarkdownBlock.Extension] into + * [`CustomBlock`][org.jetbrains.jewel.markdown.MarkdownBlock.CustomBlock] into * a native Jewel UI. */ public val blockRenderer: MarkdownBlockRendererExtension diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/processing/MarkdownProcessor.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/processing/MarkdownProcessor.kt index d19305639b..d7980901c7 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/processing/MarkdownProcessor.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/processing/MarkdownProcessor.kt @@ -15,7 +15,6 @@ import org.commonmark.node.HtmlInline import org.commonmark.node.Image import org.commonmark.node.IndentedCodeBlock import org.commonmark.node.Link -import org.commonmark.node.ListBlock import org.commonmark.node.ListItem import org.commonmark.node.Node import org.commonmark.node.OrderedList @@ -34,16 +33,11 @@ import org.jetbrains.jewel.foundation.ExperimentalJewelApi import org.jetbrains.jewel.markdown.InlineMarkdown import org.jetbrains.jewel.markdown.MarkdownBlock import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H1 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H2 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H3 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H4 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H5 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H6 -import org.jetbrains.jewel.markdown.MarkdownBlock.ListBlock.UnorderedList +import org.jetbrains.jewel.markdown.MarkdownBlock.ListBlock import org.jetbrains.jewel.markdown.MimeType import org.jetbrains.jewel.markdown.extensions.MarkdownProcessorExtension import org.jetbrains.jewel.markdown.rendering.DefaultInlineMarkdownRenderer +import org.commonmark.node.ListBlock as CMListBlock /** * @param optimizeEdits Optional. Indicates whether the processing should only update the changed blocks @@ -221,16 +215,10 @@ public class MarkdownProcessor( private fun BlockQuote.toMarkdownBlockQuote(): MarkdownBlock.BlockQuote = MarkdownBlock.BlockQuote(processChildren(this)) - private fun Heading.toMarkdownHeadingOrNull(): MarkdownBlock.Heading? = - when (level) { - 1 -> H1(contentsAsInlineMarkdown()) - 2 -> H2(contentsAsInlineMarkdown()) - 3 -> H3(contentsAsInlineMarkdown()) - 4 -> H4(contentsAsInlineMarkdown()) - 5 -> H5(contentsAsInlineMarkdown()) - 6 -> H6(contentsAsInlineMarkdown()) - else -> null - } + private fun Heading.toMarkdownHeadingOrNull(): MarkdownBlock.Heading? { + if (level < 1 || level > 6) return null + return MarkdownBlock.Heading(contentsAsInlineMarkdown(), level) + } private fun Paragraph.toMarkdownParagraphOrNull(): MarkdownBlock.Paragraph? { val inlineMarkdown = contentsAsInlineMarkdown() @@ -254,21 +242,21 @@ public class MarkdownProcessor( return MarkdownBlock.Image(destination.trim(), title.trim()) } - private fun BulletList.toMarkdownListOrNull(): UnorderedList? { + private fun BulletList.toMarkdownListOrNull(): ListBlock.UnorderedList? { val children = processListItems() if (children.isEmpty()) return null - return UnorderedList(children, isTight, bulletMarker) + return ListBlock.UnorderedList(children, isTight, bulletMarker) } - private fun OrderedList.toMarkdownListOrNull(): MarkdownBlock.ListBlock.OrderedList? { + private fun OrderedList.toMarkdownListOrNull(): ListBlock.OrderedList? { val children = processListItems() if (children.isEmpty()) return null return MarkdownBlock.ListBlock.OrderedList(children, isTight, startNumber, delimiter) } - private fun ListBlock.processListItems() = buildList { + private fun CMListBlock.processListItems() = buildList { forEachChild { child -> if (child !is ListItem) return@forEachChild add(MarkdownBlock.ListItem(processChildren(child))) diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/DefaultMarkdownBlockRenderer.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/DefaultMarkdownBlockRenderer.kt index 9dc387f69e..1a71a58cc5 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/DefaultMarkdownBlockRenderer.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/DefaultMarkdownBlockRenderer.kt @@ -55,14 +55,8 @@ import org.jetbrains.jewel.markdown.MarkdownBlock.BlockQuote import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock.FencedCodeBlock import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock.IndentedCodeBlock -import org.jetbrains.jewel.markdown.MarkdownBlock.Extension +import org.jetbrains.jewel.markdown.MarkdownBlock.CustomBlock import org.jetbrains.jewel.markdown.MarkdownBlock.Heading -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H1 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H2 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H3 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H4 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H5 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H6 import org.jetbrains.jewel.markdown.MarkdownBlock.HtmlBlock import org.jetbrains.jewel.markdown.MarkdownBlock.Image import org.jetbrains.jewel.markdown.MarkdownBlock.ListBlock @@ -99,12 +93,7 @@ public open class DefaultMarkdownBlockRenderer( is BlockQuote -> render(block, rootStyling.blockQuote) is FencedCodeBlock -> render(block, rootStyling.code.fenced) is IndentedCodeBlock -> render(block, rootStyling.code.indented) - is H1 -> render(block, rootStyling.heading.h1) - is H2 -> render(block, rootStyling.heading.h2) - is H3 -> render(block, rootStyling.heading.h3) - is H4 -> render(block, rootStyling.heading.h4) - is H5 -> render(block, rootStyling.heading.h5) - is H6 -> render(block, rootStyling.heading.h6) + is Heading -> render(block, rootStyling.heading) is HtmlBlock -> render(block, rootStyling.htmlBlock) is Image -> render(block, rootStyling.image) is OrderedList -> render(block, rootStyling.list.ordered) @@ -112,7 +101,7 @@ public open class DefaultMarkdownBlockRenderer( is ListItem -> render(block) is Paragraph -> render(block, rootStyling.paragraph) ThematicBreak -> renderThematicBreak(rootStyling.thematicBreak) - is Extension -> { + is CustomBlock -> { rendererExtensions.find { it.blockRenderer.canRender(block) } ?.blockRenderer?.render(block, this, inlineRenderer) } @@ -127,83 +116,19 @@ public open class DefaultMarkdownBlockRenderer( @Composable override fun render(block: Heading, styling: MarkdownStyling.Heading) { - when (block) { - is H1 -> render(block, styling) - is H2 -> render(block, styling) - is H3 -> render(block, styling) - is H4 -> render(block, styling) - is H5 -> render(block, styling) - is H6 -> render(block, styling) + when (block.level) { + 1 -> render(block, styling.h1) + 2 -> render(block, styling.h2) + 3 -> render(block, styling.h3) + 4 -> render(block, styling.h4) + 5 -> render(block, styling.h5) + 6 -> render(block, styling.h6) + else -> error("Heading level ${block.level} not supported:\n$block") } } @Composable - override fun render(block: H1, styling: MarkdownStyling.Heading.H1) { - val renderedContent = rememberRenderedContent(block, styling.inlinesStyling) - Heading( - renderedContent, - styling.inlinesStyling.textStyle, - styling.padding, - styling.underlineWidth, - styling.underlineColor, - styling.underlineGap, - ) - } - - @Composable - override fun render(block: H2, styling: MarkdownStyling.Heading.H2) { - val renderedContent = rememberRenderedContent(block, styling.inlinesStyling) - Heading( - renderedContent, - styling.inlinesStyling.textStyle, - styling.padding, - styling.underlineWidth, - styling.underlineColor, - styling.underlineGap, - ) - } - - @Composable - override fun render(block: H3, styling: MarkdownStyling.Heading.H3) { - val renderedContent = rememberRenderedContent(block, styling.inlinesStyling) - Heading( - renderedContent, - styling.inlinesStyling.textStyle, - styling.padding, - styling.underlineWidth, - styling.underlineColor, - styling.underlineGap, - ) - } - - @Composable - override fun render(block: H4, styling: MarkdownStyling.Heading.H4) { - val renderedContent = rememberRenderedContent(block, styling.inlinesStyling) - Heading( - renderedContent, - styling.inlinesStyling.textStyle, - styling.padding, - styling.underlineWidth, - styling.underlineColor, - styling.underlineGap, - ) - } - - @Composable - override fun render(block: H5, styling: MarkdownStyling.Heading.H5) { - val renderedContent = rememberRenderedContent(block, styling.inlinesStyling) - Heading( - renderedContent, - styling.inlinesStyling.textStyle, - styling.padding, - styling.underlineWidth, - styling.underlineColor, - styling.underlineGap, - ) - } - - @Composable - override fun render(block: H6, styling: MarkdownStyling.Heading.H6) { + override fun render(block: Heading, styling: MarkdownStyling.Heading.HN) { val renderedContent = rememberRenderedContent(block, styling.inlinesStyling) Heading( renderedContent, @@ -258,7 +183,7 @@ public open class DefaultMarkdownBlockRenderer( verticalArrangement = Arrangement.spacedBy(rootStyling.blockVerticalSpacing), ) { CompositionLocalProvider(LocalContentColor provides styling.textColor) { - render(block.content) + render(block.children) } } } @@ -284,7 +209,7 @@ public open class DefaultMarkdownBlockRenderer( modifier = Modifier.padding(styling.padding), verticalArrangement = Arrangement.spacedBy(itemSpacing), ) { - for ((index, item) in block.items.withIndex()) { + for ((index, item) in block.children.withIndex()) { Row { val number = block.startFrom + index Text( @@ -316,7 +241,7 @@ public open class DefaultMarkdownBlockRenderer( modifier = Modifier.padding(styling.padding), verticalArrangement = Arrangement.spacedBy(itemSpacing), ) { - for (item in block.items) { + for (item in block.children) { Row { Text( text = styling.bullet.toString(), @@ -335,7 +260,7 @@ public open class DefaultMarkdownBlockRenderer( @Composable override fun render(block: ListItem) { Column(verticalArrangement = Arrangement.spacedBy(rootStyling.blockVerticalSpacing)) { - render(block.content) + render(block.children) } } diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer.kt index 794f792c12..5e651a37d3 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer.kt @@ -7,12 +7,6 @@ import org.jetbrains.jewel.markdown.MarkdownBlock.BlockQuote import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock.FencedCodeBlock import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock.IndentedCodeBlock -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H1 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H2 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H3 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H4 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H5 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H6 import org.jetbrains.jewel.markdown.MarkdownBlock.HtmlBlock import org.jetbrains.jewel.markdown.MarkdownBlock.Image import org.jetbrains.jewel.markdown.MarkdownBlock.ListBlock @@ -36,22 +30,7 @@ public interface MarkdownBlockRenderer { public fun render(block: MarkdownBlock.Heading, styling: MarkdownStyling.Heading) @Composable - public fun render(block: H1, styling: MarkdownStyling.Heading.H1) - - @Composable - public fun render(block: H2, styling: MarkdownStyling.Heading.H2) - - @Composable - public fun render(block: H3, styling: MarkdownStyling.Heading.H3) - - @Composable - public fun render(block: H4, styling: MarkdownStyling.Heading.H4) - - @Composable - public fun render(block: H5, styling: MarkdownStyling.Heading.H5) - - @Composable - public fun render(block: H6, styling: MarkdownStyling.Heading.H6) + public fun render(block: MarkdownBlock.Heading, styling: MarkdownStyling.Heading.HN) @Composable public fun render(block: BlockQuote, styling: MarkdownStyling.BlockQuote) diff --git a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownStyling.kt b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownStyling.kt index 8c7a33142e..34a3ed5f3e 100644 --- a/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownStyling.kt +++ b/markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownStyling.kt @@ -52,14 +52,18 @@ public class MarkdownStyling( public val h6: H6, ) { + public sealed interface HN : WithInlinesStyling, WithUnderline { + public val padding: PaddingValues + } + @GenerateDataFunctions public class H1( override val inlinesStyling: InlinesStyling, override val underlineWidth: Dp, override val underlineColor: Color, override val underlineGap: Dp, - public val padding: PaddingValues, - ) : WithInlinesStyling, WithUnderline { + override val padding: PaddingValues, + ) : HN { public companion object } @@ -70,8 +74,8 @@ public class MarkdownStyling( override val underlineWidth: Dp, override val underlineColor: Color, override val underlineGap: Dp, - public val padding: PaddingValues, - ) : WithInlinesStyling, WithUnderline { + override val padding: PaddingValues, + ) : HN { public companion object } @@ -82,8 +86,8 @@ public class MarkdownStyling( override val underlineWidth: Dp, override val underlineColor: Color, override val underlineGap: Dp, - public val padding: PaddingValues, - ) : WithInlinesStyling, WithUnderline { + override val padding: PaddingValues, + ) : HN { public companion object } @@ -94,8 +98,8 @@ public class MarkdownStyling( override val underlineWidth: Dp, override val underlineColor: Color, override val underlineGap: Dp, - public val padding: PaddingValues, - ) : WithInlinesStyling, WithUnderline { + override val padding: PaddingValues, + ) : HN { public companion object } @@ -106,8 +110,8 @@ public class MarkdownStyling( override val underlineWidth: Dp, override val underlineColor: Color, override val underlineGap: Dp, - public val padding: PaddingValues, - ) : WithInlinesStyling, WithUnderline { + override val padding: PaddingValues, + ) : HN { public companion object } @@ -118,8 +122,8 @@ public class MarkdownStyling( override val underlineWidth: Dp, override val underlineColor: Color, override val underlineGap: Dp, - public val padding: PaddingValues, - ) : WithInlinesStyling, WithUnderline { + override val padding: PaddingValues, + ) : HN { public companion object } diff --git a/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingExtraTest.kt b/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingExtraTest.kt index 2156fb6742..2dd8f7dfcb 100644 --- a/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingExtraTest.kt +++ b/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingExtraTest.kt @@ -8,7 +8,7 @@ class MarkdownProcessorDocumentParsingExtraTest { private val processor = MarkdownProcessor() @Test - fun `should parse spec sample 461b correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 461b correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*_foo *bar*_*") /* @@ -19,7 +19,7 @@ class MarkdownProcessorDocumentParsingExtraTest { } @Test - fun `should parse spec sample 461c correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 461c correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo *bar***") /* @@ -30,7 +30,7 @@ class MarkdownProcessorDocumentParsingExtraTest { } @Test - fun `should parse spec sample 461d correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 461d correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*_foo *bar* a_*") /* @@ -41,7 +41,7 @@ class MarkdownProcessorDocumentParsingExtraTest { } @Test - fun `should parse spec sample 461e correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 461e correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo *bar* a**") /* @@ -52,7 +52,7 @@ class MarkdownProcessorDocumentParsingExtraTest { } @Test - fun `should parse spec sample 461f correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 461f correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*_*foo *bar* a*_*") /* diff --git a/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingTest.kt b/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingTest.kt index 22f59c8ca5..af5d232a32 100644 --- a/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingTest.kt +++ b/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingTest.kt @@ -1,6 +1,5 @@ package org.jetbrains.jewel.markdown -import org.jetbrains.jewel.markdown.MarkdownBlock.ThematicBreak import org.jetbrains.jewel.markdown.processing.MarkdownProcessor import org.junit.Test @@ -30,7 +29,7 @@ class MarkdownProcessorDocumentParsingTest { private val processor = MarkdownProcessor() @Test - fun `should parse spec sample 1 correctly (Tabs)`() { + fun `should parse spec sample 1 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument("\tfoo\tbaz\t\tbim") /* @@ -42,7 +41,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 2 correctly (Tabs)`() { + fun `should parse spec sample 2 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument(" \tfoo\tbaz\t\tbim") /* @@ -54,7 +53,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 3 correctly (Tabs)`() { + fun `should parse spec sample 3 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument(" a\ta\n ὐ\ta") /* @@ -67,7 +66,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 4 correctly (Tabs)`() { + fun `should parse spec sample 4 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument(" - foo\n\n\tbar") /* @@ -91,7 +90,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 5 correctly (Tabs)`() { + fun `should parse spec sample 5 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument("- foo\n\n\t\tbar") /* @@ -116,7 +115,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 6 correctly (Tabs)`() { + fun `should parse spec sample 6 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument(">\t\tfoo") /* @@ -130,7 +129,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 7 correctly (Tabs)`() { + fun `should parse spec sample 7 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument("-\t\tfoo") /* @@ -146,7 +145,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 8 correctly (Tabs)`() { + fun `should parse spec sample 8 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument(" foo\n\tbar") /* @@ -159,7 +158,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 9 correctly (Tabs)`() { + fun `should parse spec sample 9 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument(" - foo\n - bar\n\t - baz") /* @@ -192,7 +191,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 10 correctly (Tabs)`() { + fun `should parse spec sample 10 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument("#\tFoo") /* @@ -203,18 +202,18 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 11 correctly (Tabs)`() { + fun `should parse spec sample 11 correctly {Tabs}`() { val parsed = processor.processMarkdownDocument("*\t*\t*\t") /* * Expected HTML: *
*/ - parsed.assertEquals(ThematicBreak) + parsed.assertEquals(thematicBreak()) } @Test - fun `should parse spec sample 12 correctly (Backslash escapes)`() { + fun `should parse spec sample 12 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument( "\\!\\\"\\#\\\$\\%\\&\\'\\(\\)\\*\\+\\,\\-\\.\\/\\:\\;\\<\\=\\>\\?\\@" + @@ -233,7 +232,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 13 correctly (Backslash escapes)`() { + fun `should parse spec sample 13 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument("\\\t\\A\\a\\ \\3\\φ\\«") /* @@ -244,7 +243,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 14 correctly (Backslash escapes)`() { + fun `should parse spec sample 14 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument( """ @@ -289,7 +288,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 15 correctly (Backslash escapes)`() { + fun `should parse spec sample 15 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument("\\\\*emphasis*") /* @@ -300,7 +299,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 16 correctly (Backslash escapes)`() { + fun `should parse spec sample 16 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument( """ @@ -319,7 +318,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 17 correctly (Backslash escapes)`() { + fun `should parse spec sample 17 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument("`` \\[\\` ``") /* @@ -330,7 +329,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 18 correctly (Backslash escapes)`() { + fun `should parse spec sample 18 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument(" \\[\\]") /* @@ -342,7 +341,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 19 correctly (Backslash escapes)`() { + fun `should parse spec sample 19 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument( """ @@ -362,7 +361,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 20 correctly (Backslash escapes)`() { + fun `should parse spec sample 20 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument("") /* @@ -373,7 +372,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 21 correctly (Backslash escapes)`() { + fun `should parse spec sample 21 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument("") /* @@ -384,7 +383,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 22 correctly (Backslash escapes)`() { + fun `should parse spec sample 22 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument("[foo](/bar\\* \"ti\\*tle\")") /* @@ -395,7 +394,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 22b correctly (Backslash escapes)`() { + fun `should parse spec sample 22b correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument("[](/bar\\* \"ti\\*tle\")") /* @@ -406,7 +405,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 23 correctly (Backslash escapes)`() { + fun `should parse spec sample 23 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument( """ @@ -425,7 +424,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 24 correctly (Backslash escapes)`() { + fun `should parse spec sample 24 correctly {Backslash escapes}`() { val parsed = processor.processMarkdownDocument( """ @@ -445,7 +444,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 25 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 25 correctly {Entity and numeric character references}`() { @Suppress("CheckDtdRefs") // Malformed on purpose val parsed = processor.processMarkdownDocument( @@ -467,7 +466,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 26 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 26 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("# Ӓ Ϡ �") /* @@ -478,7 +477,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 27 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 27 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("" ആ ಫ") /* @@ -490,7 +489,7 @@ class MarkdownProcessorDocumentParsingTest { @Suppress("CheckDtdRefs") @Test - fun `should parse spec sample 28 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 28 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument( """ @@ -515,7 +514,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 29 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 29 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("©") /* @@ -527,7 +526,7 @@ class MarkdownProcessorDocumentParsingTest { @Suppress("CheckDtdRefs") // Malformed on purpose @Test - fun `should parse spec sample 30 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 30 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("&MadeUpEntity;") /* @@ -538,7 +537,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 31 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 31 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("") /* @@ -549,7 +548,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 32 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 32 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("[foo](/föö \"föö\")") /* @@ -560,7 +559,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 33 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 33 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument( """ @@ -580,7 +579,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 34 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 34 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument( """ @@ -600,7 +599,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 35 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 35 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("`föö`") /* @@ -611,7 +610,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 36 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 36 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument(" föfö") /* @@ -623,7 +622,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 37 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 37 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("*foo*\n*foo*") /* @@ -635,7 +634,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 38 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 38 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument( """ @@ -660,7 +659,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 39 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 39 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("foo bar") /* @@ -673,7 +672,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 40 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 40 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument(" foo") /* @@ -684,7 +683,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 41 correctly (Entity and numeric character references)`() { + fun `should parse spec sample 41 correctly {Entity and numeric character references}`() { val parsed = processor.processMarkdownDocument("[a](url "tit")") /* @@ -695,7 +694,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 42 correctly (Precedence)`() { + fun `should parse spec sample 42 correctly {Precedence}`() { val parsed = processor.processMarkdownDocument( """ @@ -721,7 +720,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 43 correctly (Thematic breaks)`() { + fun `should parse spec sample 43 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -739,14 +738,14 @@ class MarkdownProcessorDocumentParsingTest { *
*/ parsed.assertEquals( - ThematicBreak, - ThematicBreak, - ThematicBreak, + thematicBreak(), + thematicBreak(), + thematicBreak(), ) } @Test - fun `should parse spec sample 44 correctly (Thematic breaks)`() { + fun `should parse spec sample 44 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument("+++") /* @@ -757,7 +756,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 45 correctly (Thematic breaks)`() { + fun `should parse spec sample 45 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument("===") /* @@ -768,7 +767,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 46 correctly (Thematic breaks)`() { + fun `should parse spec sample 46 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -789,7 +788,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 47 correctly (Thematic breaks)`() { + fun `should parse spec sample 47 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -807,14 +806,14 @@ class MarkdownProcessorDocumentParsingTest { *
*/ parsed.assertEquals( - ThematicBreak, - ThematicBreak, - ThematicBreak, + thematicBreak(), + thematicBreak(), + thematicBreak(), ) } @Test - fun `should parse spec sample 48 correctly (Thematic breaks)`() { + fun `should parse spec sample 48 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument(" ***") /* @@ -826,7 +825,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 49 correctly (Thematic breaks)`() { + fun `should parse spec sample 49 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -845,62 +844,62 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 50 correctly (Thematic breaks)`() { + fun `should parse spec sample 50 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument("_____________________________________") /* * Expected HTML: *
*/ - parsed.assertEquals(ThematicBreak) + parsed.assertEquals(thematicBreak()) } @Test - fun `should parse spec sample 51 correctly (Thematic breaks)`() { + fun `should parse spec sample 51 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument(" - - -") /* * Expected HTML: *
*/ - parsed.assertEquals(ThematicBreak) + parsed.assertEquals(thematicBreak()) } @Test - fun `should parse spec sample 52 correctly (Thematic breaks)`() { + fun `should parse spec sample 52 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument(" ** * ** * ** * **") /* * Expected HTML: *
*/ - parsed.assertEquals(ThematicBreak) + parsed.assertEquals(thematicBreak()) } @Test - fun `should parse spec sample 53 correctly (Thematic breaks)`() { + fun `should parse spec sample 53 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument("- - - -") /* * Expected HTML: *
*/ - parsed.assertEquals(ThematicBreak) + parsed.assertEquals(thematicBreak()) } @Test - fun `should parse spec sample 54 correctly (Thematic breaks)`() { + fun `should parse spec sample 54 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument("- - - - ") /* * Expected HTML: *
*/ - parsed.assertEquals(ThematicBreak) + parsed.assertEquals(thematicBreak()) } @Test - fun `should parse spec sample 55 correctly (Thematic breaks)`() { + fun `should parse spec sample 55 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -927,7 +926,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 56 correctly (Thematic breaks)`() { + fun `should parse spec sample 56 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument(" *-*") /* @@ -938,7 +937,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 57 correctly (Thematic breaks)`() { + fun `should parse spec sample 57 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -961,13 +960,13 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( unorderedList(listItem(paragraph("foo"))), - ThematicBreak, + thematicBreak(), unorderedList(listItem(paragraph("bar"))), ) } @Test - fun `should parse spec sample 58 correctly (Thematic breaks)`() { + fun `should parse spec sample 58 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -986,13 +985,13 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( paragraph("Foo"), - ThematicBreak, + thematicBreak(), paragraph("bar"), ) } @Test - fun `should parse spec sample 59 correctly (Thematic breaks)`() { + fun `should parse spec sample 59 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -1015,7 +1014,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 60 correctly (Thematic breaks)`() { + fun `should parse spec sample 60 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -1038,13 +1037,13 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( unorderedList(listItem(paragraph("Foo")), bulletMarker = '*'), - ThematicBreak, + thematicBreak(), unorderedList(listItem(paragraph("Bar")), bulletMarker = '*'), ) } @Test - fun `should parse spec sample 61 correctly (Thematic breaks)`() { + fun `should parse spec sample 61 correctly {Thematic breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -1066,13 +1065,13 @@ class MarkdownProcessorDocumentParsingTest { parsed.assertEquals( unorderedList( listItem(paragraph("Foo")), - listItem(ThematicBreak), + listItem(thematicBreak()), ), ) } @Test - fun `should parse spec sample 62 correctly (ATX headings)`() { + fun `should parse spec sample 62 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1106,7 +1105,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 63 correctly (ATX headings)`() { + fun `should parse spec sample 63 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument("####### foo") /* @@ -1117,7 +1116,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 64 correctly (ATX headings)`() { + fun `should parse spec sample 64 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1140,7 +1139,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 65 correctly (ATX headings)`() { + fun `should parse spec sample 65 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument("\\## foo") /* @@ -1151,7 +1150,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 66 correctly (ATX headings)`() { + fun `should parse spec sample 66 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument("# foo *bar* \\*baz\\*") /* @@ -1164,7 +1163,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 67 correctly (ATX headings)`() { + fun `should parse spec sample 67 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument("# foo ") /* @@ -1175,7 +1174,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 68 correctly (ATX headings)`() { + fun `should parse spec sample 68 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1200,7 +1199,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 69 correctly (ATX headings)`() { + fun `should parse spec sample 69 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument(" # foo") /* @@ -1212,7 +1211,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 70 correctly (ATX headings)`() { + fun `should parse spec sample 70 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1231,7 +1230,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 71 correctly (ATX headings)`() { + fun `should parse spec sample 71 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1253,7 +1252,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 72 correctly (ATX headings)`() { + fun `should parse spec sample 72 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1275,7 +1274,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 73 correctly (ATX headings)`() { + fun `should parse spec sample 73 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument("### foo ### ") /* @@ -1286,7 +1285,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 74 correctly (ATX headings)`() { + fun `should parse spec sample 74 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument("### foo ### b") /* @@ -1297,7 +1296,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 75 correctly (ATX headings)`() { + fun `should parse spec sample 75 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument("# foo#") /* @@ -1308,7 +1307,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 76 correctly (ATX headings)`() { + fun `should parse spec sample 76 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1333,7 +1332,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 77 correctly (ATX headings)`() { + fun `should parse spec sample 77 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1351,14 +1350,14 @@ class MarkdownProcessorDocumentParsingTest { *
*/ parsed.assertEquals( - ThematicBreak, + thematicBreak(), heading(level = 2, "foo"), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 78 correctly (ATX headings)`() { + fun `should parse spec sample 78 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1383,7 +1382,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 79 correctly (ATX headings)`() { + fun `should parse spec sample 79 correctly {ATX headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1408,7 +1407,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 80 correctly (Setext headings)`() { + fun `should parse spec sample 80 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1434,7 +1433,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 81 correctly (Setext headings)`() { + fun `should parse spec sample 81 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1454,7 +1453,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 82 correctly (Setext headings)`() { + fun `should parse spec sample 82 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument(" Foo *bar\nbaz*\t\n====") /* @@ -1466,7 +1465,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 83 correctly (Setext headings)`() { + fun `should parse spec sample 83 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1491,7 +1490,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 84 correctly (Setext headings)`() { + fun `should parse spec sample 84 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1521,7 +1520,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 85 correctly (Setext headings)`() { + fun `should parse spec sample 85 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1545,12 +1544,12 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( indentedCodeBlock("Foo\n---\n\nFoo"), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 86 correctly (Setext headings)`() { + fun `should parse spec sample 86 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1568,7 +1567,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 87 correctly (Setext headings)`() { + fun `should parse spec sample 87 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1587,7 +1586,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 88 correctly (Setext headings)`() { + fun `should parse spec sample 88 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1610,12 +1609,12 @@ class MarkdownProcessorDocumentParsingTest { parsed.assertEquals( paragraph("Foo = ="), paragraph("Foo"), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 89 correctly (Setext headings)`() { + fun `should parse spec sample 89 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1633,7 +1632,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 90 correctly (Setext headings)`() { + fun `should parse spec sample 90 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1651,7 +1650,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 91 correctly (Setext headings)`() { + fun `should parse spec sample 91 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1682,7 +1681,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 92 correctly (Setext headings)`() { + fun `should parse spec sample 92 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1701,12 +1700,12 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( blockQuote(paragraph("Foo")), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 93 correctly (Setext headings)`() { + fun `should parse spec sample 93 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1729,7 +1728,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 94 correctly (Setext headings)`() { + fun `should parse spec sample 94 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1748,12 +1747,12 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( unorderedList(listItem(paragraph("Foo"))), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 95 correctly (Setext headings)`() { + fun `should parse spec sample 95 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1773,7 +1772,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 96 correctly (Setext headings)`() { + fun `should parse spec sample 96 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1795,7 +1794,7 @@ class MarkdownProcessorDocumentParsingTest { *

Baz

*/ parsed.assertEquals( - ThematicBreak, + thematicBreak(), heading(level = 2, "Foo"), heading(level = 2, "Bar"), paragraph("Baz"), @@ -1803,7 +1802,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 97 correctly (Setext headings)`() { + fun `should parse spec sample 97 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1821,7 +1820,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 98 correctly (Setext headings)`() { + fun `should parse spec sample 98 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1837,13 +1836,13 @@ class MarkdownProcessorDocumentParsingTest { *
*/ parsed.assertEquals( - ThematicBreak, - ThematicBreak, + thematicBreak(), + thematicBreak(), ) } @Test - fun `should parse spec sample 99 correctly (Setext headings)`() { + fun `should parse spec sample 99 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1862,12 +1861,12 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( unorderedList(listItem(paragraph("foo"))), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 100 correctly (Setext headings)`() { + fun `should parse spec sample 100 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1885,12 +1884,12 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( indentedCodeBlock("foo"), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 101 correctly (Setext headings)`() { + fun `should parse spec sample 101 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1909,12 +1908,12 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( blockQuote(paragraph("foo")), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 102 correctly (Setext headings)`() { + fun `should parse spec sample 102 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1932,7 +1931,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 103 correctly (Setext headings)`() { + fun `should parse spec sample 103 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1959,7 +1958,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 104 correctly (Setext headings)`() { + fun `should parse spec sample 104 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -1982,13 +1981,13 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( paragraph("Foo bar"), - ThematicBreak, + thematicBreak(), paragraph("baz"), ) } @Test - fun `should parse spec sample 105 correctly (Setext headings)`() { + fun `should parse spec sample 105 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -2009,13 +2008,13 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( paragraph("Foo bar"), - ThematicBreak, + thematicBreak(), paragraph("baz"), ) } @Test - fun `should parse spec sample 106 correctly (Setext headings)`() { + fun `should parse spec sample 106 correctly {Setext headings}`() { val parsed = processor.processMarkdownDocument( """ @@ -2038,7 +2037,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 107 correctly (Indented code blocks)`() { + fun `should parse spec sample 107 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2058,7 +2057,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 108 correctly (Indented code blocks)`() { + fun `should parse spec sample 108 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2087,7 +2086,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 109 correctly (Indented code blocks)`() { + fun `should parse spec sample 109 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2121,7 +2120,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 110 correctly (Indented code blocks)`() { + fun `should parse spec sample 110 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2145,7 +2144,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 111 correctly (Indented code blocks)`() { + fun `should parse spec sample 111 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2175,7 +2174,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 112 correctly (Indented code blocks)`() { + fun `should parse spec sample 112 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument(" chunk1\n \n chunk2") /* @@ -2189,7 +2188,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 113 correctly (Indented code blocks)`() { + fun `should parse spec sample 113 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2208,7 +2207,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 114 correctly (Indented code blocks)`() { + fun `should parse spec sample 114 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2231,7 +2230,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 115 correctly (Indented code blocks)`() { + fun `should parse spec sample 115 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2260,12 +2259,12 @@ class MarkdownProcessorDocumentParsingTest { indentedCodeBlock("foo"), heading(level = 2, "Heading"), indentedCodeBlock("foo"), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 116 correctly (Indented code blocks)`() { + fun `should parse spec sample 116 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2285,7 +2284,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 117 correctly (Indented code blocks)`() { + fun `should parse spec sample 117 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2306,7 +2305,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 118 correctly (Indented code blocks)`() { + fun `should parse spec sample 118 correctly {Indented code blocks}`() { val parsed = processor.processMarkdownDocument(" foo ") /* @@ -2318,7 +2317,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 119 correctly (Fenced code blocks)`() { + fun `should parse spec sample 119 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2340,7 +2339,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 120 correctly (Fenced code blocks)`() { + fun `should parse spec sample 120 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2362,7 +2361,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 121 correctly (Fenced code blocks)`() { + fun `should parse spec sample 121 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2381,7 +2380,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 122 correctly (Fenced code blocks)`() { + fun `should parse spec sample 122 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2403,7 +2402,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 123 correctly (Fenced code blocks)`() { + fun `should parse spec sample 123 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2425,7 +2424,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 124 correctly (Fenced code blocks)`() { + fun `should parse spec sample 124 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2447,7 +2446,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 125 correctly (Fenced code blocks)`() { + fun `should parse spec sample 125 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2469,7 +2468,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 126 correctly (Fenced code blocks)`() { + fun `should parse spec sample 126 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument("```") /* @@ -2480,7 +2479,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 127 correctly (Fenced code blocks)`() { + fun `should parse spec sample 127 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2503,7 +2502,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 128 correctly (Fenced code blocks)`() { + fun `should parse spec sample 128 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2530,7 +2529,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 129 correctly (Fenced code blocks)`() { + fun `should parse spec sample 129 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2552,7 +2551,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 130 correctly (Fenced code blocks)`() { + fun `should parse spec sample 130 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2570,7 +2569,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 131 correctly (Fenced code blocks)`() { + fun `should parse spec sample 131 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2592,7 +2591,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 132 correctly (Fenced code blocks)`() { + fun `should parse spec sample 132 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2616,7 +2615,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 133 correctly (Fenced code blocks)`() { + fun `should parse spec sample 133 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2640,7 +2639,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 134 correctly (Fenced code blocks)`() { + fun `should parse spec sample 134 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2662,7 +2661,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 135 correctly (Fenced code blocks)`() { + fun `should parse spec sample 135 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2682,7 +2681,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 136 correctly (Fenced code blocks)`() { + fun `should parse spec sample 136 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2702,7 +2701,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 137 correctly (Fenced code blocks)`() { + fun `should parse spec sample 137 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2723,7 +2722,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 138 correctly (Fenced code blocks)`() { + fun `should parse spec sample 138 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2742,7 +2741,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 139 correctly (Fenced code blocks)`() { + fun `should parse spec sample 139 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2763,7 +2762,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 140 correctly (Fenced code blocks)`() { + fun `should parse spec sample 140 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2791,7 +2790,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 141 correctly (Fenced code blocks)`() { + fun `should parse spec sample 141 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2820,7 +2819,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 142 correctly (Fenced code blocks)`() { + fun `should parse spec sample 142 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2849,7 +2848,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 143 correctly (Fenced code blocks)`() { + fun `should parse spec sample 143 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2878,7 +2877,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 144 correctly (Fenced code blocks)`() { + fun `should parse spec sample 144 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2901,7 +2900,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 145 correctly (Fenced code blocks)`() { + fun `should parse spec sample 145 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2920,7 +2919,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 146 correctly (Fenced code blocks)`() { + fun `should parse spec sample 146 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2945,7 +2944,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 147 correctly (Fenced code blocks)`() { + fun `should parse spec sample 147 correctly {Fenced code blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2965,7 +2964,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 148 correctly (HTML blocks)`() { + fun `should parse spec sample 148 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -2997,7 +2996,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 149 correctly (HTML blocks)`() { + fun `should parse spec sample 149 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3043,7 +3042,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 150 correctly (HTML blocks)`() { + fun `should parse spec sample 150 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3064,7 +3063,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 151 correctly (HTML blocks)`() { + fun `should parse spec sample 151 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3083,7 +3082,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 152 correctly (HTML blocks)`() { + fun `should parse spec sample 152 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3110,7 +3109,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 153 correctly (HTML blocks)`() { + fun `should parse spec sample 153 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3140,7 +3139,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 154 correctly (HTML blocks)`() { + fun `should parse spec sample 154 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3170,7 +3169,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 155 correctly (HTML blocks)`() { + fun `should parse spec sample 155 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3195,7 +3194,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 156 correctly (HTML blocks)`() { + fun `should parse spec sample 156 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3214,7 +3213,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 157 correctly (HTML blocks)`() { + fun `should parse spec sample 157 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3233,7 +3232,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 158 correctly (HTML blocks)`() { + fun `should parse spec sample 158 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3252,7 +3251,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 159 correctly (HTML blocks)`() { + fun `should parse spec sample 159 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument("
") /* @@ -3263,7 +3262,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 160 correctly (HTML blocks)`() { + fun `should parse spec sample 160 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3293,7 +3292,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 161 correctly (HTML blocks)`() { + fun `should parse spec sample 161 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3326,7 +3325,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 162 correctly (HTML blocks)`() { + fun `should parse spec sample 162 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3356,7 +3355,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 163 correctly (HTML blocks)`() { + fun `should parse spec sample 163 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3386,7 +3385,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 164 correctly (HTML blocks)`() { + fun `should parse spec sample 164 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3416,7 +3415,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 165 correctly (HTML blocks)`() { + fun `should parse spec sample 165 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3443,7 +3442,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 166 correctly (HTML blocks)`() { + fun `should parse spec sample 166 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3473,7 +3472,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 167 correctly (HTML blocks)`() { + fun `should parse spec sample 167 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3500,7 +3499,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 168 correctly (HTML blocks)`() { + fun `should parse spec sample 168 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument("*foo*") /* @@ -3511,7 +3510,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 169 correctly (HTML blocks)`() { + fun `should parse spec sample 169 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3553,7 +3552,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 170 correctly (HTML blocks)`() { + fun `should parse spec sample 170 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3592,7 +3591,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 171 correctly (HTML blocks)`() { + fun `should parse spec sample 171 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3634,7 +3633,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 172 correctly (HTML blocks)`() { + fun `should parse spec sample 172 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3676,7 +3675,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 173 correctly (HTML blocks)`() { + fun `should parse spec sample 173 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3709,7 +3708,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 174 correctly (HTML blocks)`() { + fun `should parse spec sample 174 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3736,7 +3735,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 175 correctly (HTML blocks)`() { + fun `should parse spec sample 175 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3764,7 +3763,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 176 correctly (HTML blocks)`() { + fun `should parse spec sample 176 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3786,7 +3785,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 177 correctly (HTML blocks)`() { + fun `should parse spec sample 177 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3808,7 +3807,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 178 correctly (HTML blocks)`() { + fun `should parse spec sample 178 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3838,7 +3837,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 179 correctly (HTML blocks)`() { + fun `should parse spec sample 179 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3874,7 +3873,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 180 correctly (HTML blocks)`() { + fun `should parse spec sample 180 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3913,7 +3912,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 181 correctly (HTML blocks)`() { + fun `should parse spec sample 181 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -3924,7 +3923,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 182 correctly (HTML blocks)`() { + fun `should parse spec sample 182 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -3984,7 +3983,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 183 correctly (HTML blocks)`() { + fun `should parse spec sample 183 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4008,7 +4007,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 184 correctly (HTML blocks)`() { + fun `should parse spec sample 184 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4032,7 +4031,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 185 correctly (HTML blocks)`() { + fun `should parse spec sample 185 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4065,7 +4064,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 186 correctly (HTML blocks)`() { + fun `should parse spec sample 186 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4098,7 +4097,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 187 correctly (HTML blocks)`() { + fun `should parse spec sample 187 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4119,7 +4118,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 188 correctly (HTML blocks)`() { + fun `should parse spec sample 188 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4146,7 +4145,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 189 correctly (HTML blocks)`() { + fun `should parse spec sample 189 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4176,7 +4175,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 190 correctly (HTML blocks)`() { + fun `should parse spec sample 190 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4215,7 +4214,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 191 correctly (HTML blocks)`() { + fun `should parse spec sample 191 correctly {HTML blocks}`() { val parsed = processor.processMarkdownDocument( """ @@ -4255,7 +4254,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 192 correctly (Link reference definitions)`() { + fun `should parse spec sample 192 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4274,7 +4273,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 193 correctly (Link reference definitions)`() { + fun `should parse spec sample 193 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4295,7 +4294,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 194 correctly (Link reference definitions)`() { + fun `should parse spec sample 194 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4314,7 +4313,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 195 correctly (Link reference definitions)`() { + fun `should parse spec sample 195 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4335,7 +4334,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 196 correctly (Link reference definitions)`() { + fun `should parse spec sample 196 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4362,7 +4361,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 197 correctly (Link reference definitions)`() { + fun `should parse spec sample 197 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4389,7 +4388,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 198 correctly (Link reference definitions)`() { + fun `should parse spec sample 198 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4409,7 +4408,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 199 correctly (Link reference definitions)`() { + fun `should parse spec sample 199 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4432,7 +4431,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 200 correctly (Link reference definitions)`() { + fun `should parse spec sample 200 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4451,7 +4450,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 201 correctly (Link reference definitions)`() { + fun `should parse spec sample 201 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4474,7 +4473,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 202 correctly (Link reference definitions)`() { + fun `should parse spec sample 202 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4493,7 +4492,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 203 correctly (Link reference definitions)`() { + fun `should parse spec sample 203 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4512,7 +4511,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 204 correctly (Link reference definitions)`() { + fun `should parse spec sample 204 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4532,7 +4531,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 205 correctly (Link reference definitions)`() { + fun `should parse spec sample 205 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4551,7 +4550,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 206 correctly (Link reference definitions)`() { + fun `should parse spec sample 206 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4570,7 +4569,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 207 correctly (Link reference definitions)`() { + fun `should parse spec sample 207 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument("[foo]: /url") /* @@ -4581,7 +4580,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 208 correctly (Link reference definitions)`() { + fun `should parse spec sample 208 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4601,7 +4600,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 209 correctly (Link reference definitions)`() { + fun `should parse spec sample 209 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument("[foo]: /url \"title\" ok") /* @@ -4612,7 +4611,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 210 correctly (Link reference definitions)`() { + fun `should parse spec sample 210 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4630,7 +4629,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 211 correctly (Link reference definitions)`() { + fun `should parse spec sample 211 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4654,7 +4653,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 212 correctly (Link reference definitions)`() { + fun `should parse spec sample 212 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4680,7 +4679,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 213 correctly (Link reference definitions)`() { + fun `should parse spec sample 213 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4705,7 +4704,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 214 correctly (Link reference definitions)`() { + fun `should parse spec sample 214 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4730,7 +4729,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 215 correctly (Link reference definitions)`() { + fun `should parse spec sample 215 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4754,7 +4753,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 216 correctly (Link reference definitions)`() { + fun `should parse spec sample 216 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4774,7 +4773,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 217 correctly (Link reference definitions)`() { + fun `should parse spec sample 217 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4802,7 +4801,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 218 correctly (Link reference definitions)`() { + fun `should parse spec sample 218 correctly {Link reference definitions}`() { val parsed = processor.processMarkdownDocument( """ @@ -4826,7 +4825,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 219 correctly (Paragraphs)`() { + fun `should parse spec sample 219 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -4849,7 +4848,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 220 correctly (Paragraphs)`() { + fun `should parse spec sample 220 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -4876,7 +4875,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 221 correctly (Paragraphs)`() { + fun `should parse spec sample 221 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -4900,7 +4899,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 222 correctly (Paragraphs)`() { + fun `should parse spec sample 222 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -4919,7 +4918,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 223 correctly (Paragraphs)`() { + fun `should parse spec sample 223 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -4940,7 +4939,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 224 correctly (Paragraphs)`() { + fun `should parse spec sample 224 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -4959,7 +4958,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 225 correctly (Paragraphs)`() { + fun `should parse spec sample 225 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -4982,7 +4981,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 226 correctly (Paragraphs)`() { + fun `should parse spec sample 226 correctly {Paragraphs}`() { val parsed = processor.processMarkdownDocument( """ @@ -5001,7 +5000,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 227 correctly (Blank lines)`() { + fun `should parse spec sample 227 correctly {Blank lines}`() { val parsed = processor.processMarkdownDocument( """ @@ -5029,7 +5028,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 228 correctly (Block quotes)`() { + fun `should parse spec sample 228 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5057,7 +5056,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 229 correctly (Block quotes)`() { + fun `should parse spec sample 229 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5085,7 +5084,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 230 correctly (Block quotes)`() { + fun `should parse spec sample 230 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5113,7 +5112,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 231 correctly (Block quotes)`() { + fun `should parse spec sample 231 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5135,7 +5134,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 232 correctly (Block quotes)`() { + fun `should parse spec sample 232 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5163,7 +5162,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 233 correctly (Block quotes)`() { + fun `should parse spec sample 233 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5186,7 +5185,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 234 correctly (Block quotes)`() { + fun `should parse spec sample 234 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5205,12 +5204,12 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( blockQuote(paragraph("foo")), - ThematicBreak, + thematicBreak(), ) } @Test - fun `should parse spec sample 235 correctly (Block quotes)`() { + fun `should parse spec sample 235 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5238,7 +5237,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 236 correctly (Block quotes)`() { + fun `should parse spec sample 236 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5264,7 +5263,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 237 correctly (Block quotes)`() { + fun `should parse spec sample 237 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5291,7 +5290,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 238 correctly (Block quotes)`() { + fun `should parse spec sample 238 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5312,7 +5311,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 239 correctly (Block quotes)`() { + fun `should parse spec sample 239 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument(">") /* @@ -5324,7 +5323,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 240 correctly (Block quotes)`() { + fun `should parse spec sample 240 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5344,7 +5343,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 241 correctly (Block quotes)`() { + fun `should parse spec sample 241 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5365,7 +5364,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 242 correctly (Block quotes)`() { + fun `should parse spec sample 242 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5392,7 +5391,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 243 correctly (Block quotes)`() { + fun `should parse spec sample 243 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5413,7 +5412,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 244 correctly (Block quotes)`() { + fun `should parse spec sample 244 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5440,7 +5439,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 245 correctly (Block quotes)`() { + fun `should parse spec sample 245 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5464,7 +5463,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 246 correctly (Block quotes)`() { + fun `should parse spec sample 246 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5487,13 +5486,13 @@ class MarkdownProcessorDocumentParsingTest { */ parsed.assertEquals( blockQuote(paragraph("aaa")), - ThematicBreak, + thematicBreak(), blockQuote(paragraph("bbb")), ) } @Test - fun `should parse spec sample 247 correctly (Block quotes)`() { + fun `should parse spec sample 247 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5514,7 +5513,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 248 correctly (Block quotes)`() { + fun `should parse spec sample 248 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5539,7 +5538,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 249 correctly (Block quotes)`() { + fun `should parse spec sample 249 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5564,7 +5563,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 250 correctly (Block quotes)`() { + fun `should parse spec sample 250 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5595,7 +5594,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 251 correctly (Block quotes)`() { + fun `should parse spec sample 251 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5628,7 +5627,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 252 correctly (Block quotes)`() { + fun `should parse spec sample 252 correctly {Block quotes}`() { val parsed = processor.processMarkdownDocument( """ @@ -5656,7 +5655,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 253 correctly (List items)`() { + fun `should parse spec sample 253 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5688,7 +5687,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 254 correctly (List items)`() { + fun `should parse spec sample 254 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5729,7 +5728,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 255 correctly (List items)`() { + fun `should parse spec sample 255 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5754,7 +5753,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 256 correctly (List items)`() { + fun `should parse spec sample 256 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5783,7 +5782,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 257 correctly (List items)`() { + fun `should parse spec sample 257 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5809,7 +5808,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 258 correctly (List items)`() { + fun `should parse spec sample 258 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5838,7 +5837,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 259 correctly (List items)`() { + fun `should parse spec sample 259 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5875,7 +5874,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 260 correctly (List items)`() { + fun `should parse spec sample 260 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5908,7 +5907,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 261 correctly (List items)`() { + fun `should parse spec sample 261 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5931,7 +5930,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 262 correctly (List items)`() { + fun `should parse spec sample 262 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -5964,7 +5963,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 263 correctly (List items)`() { + fun `should parse spec sample 263 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6009,7 +6008,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 264 correctly (List items)`() { + fun `should parse spec sample 264 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6045,7 +6044,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 265 correctly (List items)`() { + fun `should parse spec sample 265 correctly {List items}`() { val parsed = processor.processMarkdownDocument("123456789. ok") /* @@ -6058,7 +6057,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 266 correctly (List items)`() { + fun `should parse spec sample 266 correctly {List items}`() { val parsed = processor.processMarkdownDocument("1234567890. not ok") /* @@ -6069,7 +6068,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 267 correctly (List items)`() { + fun `should parse spec sample 267 correctly {List items}`() { val parsed = processor.processMarkdownDocument("0. ok") /* @@ -6082,7 +6081,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 268 correctly (List items)`() { + fun `should parse spec sample 268 correctly {List items}`() { val parsed = processor.processMarkdownDocument("003. ok") /* @@ -6095,7 +6094,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 269 correctly (List items)`() { + fun `should parse spec sample 269 correctly {List items}`() { val parsed = processor.processMarkdownDocument("-1. not ok") /* @@ -6106,7 +6105,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 270 correctly (List items)`() { + fun `should parse spec sample 270 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6136,7 +6135,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 271 correctly (List items)`() { + fun `should parse spec sample 271 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6167,7 +6166,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 272 correctly (List items)`() { + fun `should parse spec sample 272 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6196,7 +6195,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 273 correctly (List items)`() { + fun `should parse spec sample 273 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6234,7 +6233,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 274 correctly (List items)`() { + fun `should parse spec sample 274 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6272,7 +6271,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 275 correctly (List items)`() { + fun `should parse spec sample 275 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6295,7 +6294,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 276 correctly (List items)`() { + fun `should parse spec sample 276 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6320,7 +6319,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 277 correctly (List items)`() { + fun `should parse spec sample 277 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6349,7 +6348,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 278 correctly (List items)`() { + fun `should parse spec sample 278 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6389,7 +6388,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 279 correctly (List items)`() { + fun `should parse spec sample 279 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6409,7 +6408,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 280 correctly (List items)`() { + fun `should parse spec sample 280 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6434,7 +6433,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 281 correctly (List items)`() { + fun `should parse spec sample 281 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6463,7 +6462,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 282 correctly (List items)`() { + fun `should parse spec sample 282 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6492,7 +6491,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 283 correctly (List items)`() { + fun `should parse spec sample 283 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6521,7 +6520,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 284 correctly (List items)`() { + fun `should parse spec sample 284 correctly {List items}`() { val parsed = processor.processMarkdownDocument("*") /* @@ -6534,7 +6533,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 285 correctly (List items)`() { + fun `should parse spec sample 285 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6561,7 +6560,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 286 correctly (List items)`() { + fun `should parse spec sample 286 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6602,7 +6601,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 287 correctly (List items)`() { + fun `should parse spec sample 287 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6643,7 +6642,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 288 correctly (List items)`() { + fun `should parse spec sample 288 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6684,7 +6683,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 289 correctly (List items)`() { + fun `should parse spec sample 289 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6724,7 +6723,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 290 correctly (List items)`() { + fun `should parse spec sample 290 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6765,7 +6764,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 291 correctly (List items)`() { + fun `should parse spec sample 291 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6790,7 +6789,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 292 correctly (List items)`() { + fun `should parse spec sample 292 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6821,7 +6820,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 293 correctly (List items)`() { + fun `should parse spec sample 293 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6852,7 +6851,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 294 correctly (List items)`() { + fun `should parse spec sample 294 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6903,7 +6902,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 295 correctly (List items)`() { + fun `should parse spec sample 295 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6935,7 +6934,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 296 correctly (List items)`() { + fun `should parse spec sample 296 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6968,7 +6967,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 297 correctly (List items)`() { + fun `should parse spec sample 297 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -6998,7 +6997,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 298 correctly (List items)`() { + fun `should parse spec sample 298 correctly {List items}`() { val parsed = processor.processMarkdownDocument("- - foo") /* @@ -7021,7 +7020,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 299 correctly (List items)`() { + fun `should parse spec sample 299 correctly {List items}`() { val parsed = processor.processMarkdownDocument("1. - 2. foo") /* @@ -7055,7 +7054,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 300 correctly (List items)`() { + fun `should parse spec sample 300 correctly {List items}`() { val parsed = processor.processMarkdownDocument( """ @@ -7087,7 +7086,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 301 correctly (Lists)`() { + fun `should parse spec sample 301 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7121,7 +7120,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 302 correctly (Lists)`() { + fun `should parse spec sample 302 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7156,7 +7155,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 303 correctly (Lists)`() { + fun `should parse spec sample 303 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7185,7 +7184,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 304 correctly (Lists)`() { + fun `should parse spec sample 304 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7206,7 +7205,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 305 correctly (Lists)`() { + fun `should parse spec sample 305 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7230,7 +7229,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 306 correctly (Lists)`() { + fun `should parse spec sample 306 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7269,7 +7268,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 307 correctly (Lists)`() { + fun `should parse spec sample 307 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7322,7 +7321,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 308 correctly (Lists)`() { + fun `should parse spec sample 308 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7363,7 +7362,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 309 correctly (Lists)`() { + fun `should parse spec sample 309 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7407,7 +7406,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 310 correctly (Lists)`() { + fun `should parse spec sample 310 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7448,7 +7447,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 311 correctly (Lists)`() { + fun `should parse spec sample 311 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7486,7 +7485,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 312 correctly (Lists)`() { + fun `should parse spec sample 312 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7520,7 +7519,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 313 correctly (Lists)`() { + fun `should parse spec sample 313 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7557,7 +7556,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 314 correctly (Lists)`() { + fun `should parse spec sample 314 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7594,7 +7593,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 315 correctly (Lists)`() { + fun `should parse spec sample 315 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7630,7 +7629,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 316 correctly (Lists)`() { + fun `should parse spec sample 316 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7669,7 +7668,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 317 correctly (Lists)`() { + fun `should parse spec sample 317 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7707,7 +7706,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 318 correctly (Lists)`() { + fun `should parse spec sample 318 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7745,7 +7744,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 319 correctly (Lists)`() { + fun `should parse spec sample 319 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7790,7 +7789,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 320 correctly (Lists)`() { + fun `should parse spec sample 320 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7823,7 +7822,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 321 correctly (Lists)`() { + fun `should parse spec sample 321 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7863,7 +7862,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 322 correctly (Lists)`() { + fun `should parse spec sample 322 correctly {Lists}`() { val parsed = processor.processMarkdownDocument("- a") /* @@ -7876,7 +7875,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 323 correctly (Lists)`() { + fun `should parse spec sample 323 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7907,7 +7906,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 324 correctly (Lists)`() { + fun `should parse spec sample 324 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7942,7 +7941,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 325 correctly (Lists)`() { + fun `should parse spec sample 325 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -7983,7 +7982,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 326 correctly (Lists)`() { + fun `should parse spec sample 326 correctly {Lists}`() { val parsed = processor.processMarkdownDocument( """ @@ -8039,7 +8038,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 327 correctly (Inlines)`() { + fun `should parse spec sample 327 correctly {Inlines}`() { val parsed = processor.processMarkdownDocument("`hi`lo`") /* @@ -8050,7 +8049,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 328 correctly (Code spans)`() { + fun `should parse spec sample 328 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("`foo`") /* @@ -8061,7 +8060,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 329 correctly (Code spans)`() { + fun `should parse spec sample 329 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("`` foo ` bar ``") /* @@ -8072,7 +8071,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 330 correctly (Code spans)`() { + fun `should parse spec sample 330 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("` `` `") /* @@ -8083,7 +8082,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 331 correctly (Code spans)`() { + fun `should parse spec sample 331 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("` `` `") /* @@ -8094,7 +8093,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 332 correctly (Code spans)`() { + fun `should parse spec sample 332 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("` a`") /* @@ -8105,7 +8104,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 333 correctly (Code spans)`() { + fun `should parse spec sample 333 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("` b `") /* @@ -8116,7 +8115,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 334 correctly (Code spans)`() { + fun `should parse spec sample 334 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument( """ @@ -8135,7 +8134,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 335 correctly (Code spans)`() { + fun `should parse spec sample 335 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument( """ @@ -8156,7 +8155,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 336 correctly (Code spans)`() { + fun `should parse spec sample 336 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument( """ @@ -8175,7 +8174,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 337 correctly (Code spans)`() { + fun `should parse spec sample 337 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument( """ @@ -8193,7 +8192,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 338 correctly (Code spans)`() { + fun `should parse spec sample 338 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("`foo\\`bar`") /* @@ -8204,7 +8203,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 339 correctly (Code spans)`() { + fun `should parse spec sample 339 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("``foo`bar``") /* @@ -8215,7 +8214,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 340 correctly (Code spans)`() { + fun `should parse spec sample 340 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("` foo `` bar `") /* @@ -8226,7 +8225,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 341 correctly (Code spans)`() { + fun `should parse spec sample 341 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("*foo`*`") /* @@ -8237,7 +8236,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 342 correctly (Code spans)`() { + fun `should parse spec sample 342 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("[not a `link](/foo`)") /* @@ -8248,7 +8247,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 343 correctly (Code spans)`() { + fun `should parse spec sample 343 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("``") /* @@ -8259,7 +8258,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 344 correctly (Code spans)`() { + fun `should parse spec sample 344 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("`") /* @@ -8270,7 +8269,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 345 correctly (Code spans)`() { + fun `should parse spec sample 345 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("``") /* @@ -8281,7 +8280,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 346 correctly (Code spans)`() { + fun `should parse spec sample 346 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("`") /* @@ -8292,7 +8291,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 347 correctly (Code spans)`() { + fun `should parse spec sample 347 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("```foo``") /* @@ -8303,7 +8302,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 348 correctly (Code spans)`() { + fun `should parse spec sample 348 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("`foo") /* @@ -8314,7 +8313,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 349 correctly (Code spans)`() { + fun `should parse spec sample 349 correctly {Code spans}`() { val parsed = processor.processMarkdownDocument("`foo``bar``") /* @@ -8325,7 +8324,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 350 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 350 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo bar*") /* @@ -8336,7 +8335,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 351 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 351 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("a * foo bar*") /* @@ -8347,7 +8346,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 352 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 352 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("a*\"foo\"*") /* @@ -8358,7 +8357,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 353 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 353 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("* a *") /* @@ -8370,7 +8369,7 @@ class MarkdownProcessorDocumentParsingTest { @org.junit.Ignore("need to update escapeInlineMarkdownChars implementation") @Test - fun `should parse spec sample 354 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 354 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument( """ |*$*alpha. @@ -8391,7 +8390,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 355 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 355 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo*bar*") /* @@ -8402,7 +8401,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 356 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 356 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("5*6*78") /* @@ -8413,7 +8412,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 357 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 357 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo bar_") /* @@ -8424,7 +8423,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 358 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 358 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_ foo bar_") /* @@ -8435,7 +8434,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 359 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 359 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("a_\"foo\"_") /* @@ -8446,7 +8445,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 360 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 360 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo_bar_") /* @@ -8457,7 +8456,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 361 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 361 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("5_6_78") /* @@ -8468,7 +8467,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 362 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 362 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("пристаням_стремятся_") /* @@ -8479,7 +8478,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 363 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 363 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("aa_\"bb\"_cc") /* @@ -8490,7 +8489,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 364 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 364 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo-_(bar)_") /* @@ -8501,7 +8500,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 365 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 365 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo*") /* @@ -8512,7 +8511,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 366 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 366 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo bar *") /* @@ -8523,7 +8522,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 367 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 367 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument( """ @@ -8542,7 +8541,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 368 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 368 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*(*foo)") /* @@ -8553,7 +8552,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 369 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 369 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*(*foo*)*") /* @@ -8564,7 +8563,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 370 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 370 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo*bar") /* @@ -8575,7 +8574,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 371 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 371 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo bar _") /* @@ -8586,7 +8585,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 372 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 372 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_(_foo)") /* @@ -8597,7 +8596,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 373 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 373 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_(_foo_)_") /* @@ -8608,7 +8607,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 374 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 374 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo_bar") /* @@ -8619,7 +8618,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 375 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 375 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_пристаням_стремятся") /* @@ -8630,7 +8629,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 376 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 376 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo_bar_baz_") /* @@ -8641,7 +8640,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 377 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 377 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_(bar)_.") /* @@ -8652,7 +8651,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 378 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 378 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo bar**") /* @@ -8663,7 +8662,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 379 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 379 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("** foo bar**") /* @@ -8674,7 +8673,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 380 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 380 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("a**\"foo\"**") /* @@ -8685,7 +8684,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 381 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 381 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo**bar**") /* @@ -8696,7 +8695,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 382 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 382 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo bar__") /* @@ -8707,7 +8706,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 383 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 383 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__ foo bar__") /* @@ -8718,7 +8717,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 384 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 384 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument( """ @@ -8737,7 +8736,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 385 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 385 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("a__\"foo\"__") /* @@ -8748,7 +8747,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 386 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 386 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo__bar__") /* @@ -8759,7 +8758,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 387 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 387 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("5__6__78") /* @@ -8770,7 +8769,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 388 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 388 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("пристаням__стремятся__") /* @@ -8781,7 +8780,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 389 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 389 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo, __bar__, baz__") /* @@ -8792,7 +8791,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 390 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 390 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo-__(bar)__") /* @@ -8803,7 +8802,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 391 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 391 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo bar **") /* @@ -8814,7 +8813,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 392 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 392 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**(**foo)") /* @@ -8825,7 +8824,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 393 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 393 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*(**foo**)*") /* @@ -8836,7 +8835,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 394 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 394 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument( """ @@ -8859,7 +8858,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 395 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 395 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo \"*bar*\" foo**") /* @@ -8870,7 +8869,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 396 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 396 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo**bar") /* @@ -8881,7 +8880,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 397 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 397 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo bar __") /* @@ -8892,7 +8891,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 398 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 398 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__(__foo)") /* @@ -8903,7 +8902,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 399 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 399 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_(__foo__)_") /* @@ -8914,7 +8913,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 400 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 400 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo__bar") /* @@ -8925,7 +8924,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 401 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 401 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__пристаням__стремятся") /* @@ -8936,7 +8935,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 402 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 402 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo__bar__baz__") /* @@ -8947,7 +8946,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 403 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 403 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__(bar)__.") /* @@ -8958,7 +8957,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 404 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 404 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo [bar](/url)*") /* @@ -8969,7 +8968,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 405 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 405 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument( """ @@ -8988,7 +8987,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 406 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 406 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo __bar__ baz_") /* @@ -8999,7 +8998,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 407 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 407 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo _bar_ baz_") /* @@ -9010,7 +9009,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 408 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 408 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo_ bar_") /* @@ -9021,7 +9020,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 409 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 409 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo *bar**") /* @@ -9032,7 +9031,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 410 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 410 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo **bar** baz*") /* @@ -9043,7 +9042,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 411 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 411 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo**bar**baz*") /* @@ -9054,7 +9053,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 412 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 412 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo**bar*") /* @@ -9065,7 +9064,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 413 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 413 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("***foo** bar*") /* @@ -9076,7 +9075,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 414 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 414 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo **bar***") /* @@ -9087,7 +9086,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 415 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 415 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo**bar***") /* @@ -9098,7 +9097,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 416 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 416 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo***bar***baz") /* @@ -9109,7 +9108,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 417 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 417 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo******bar*********baz") /* @@ -9120,7 +9119,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 418 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 418 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo **bar *baz* bim** bop*") /* @@ -9131,7 +9130,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 419 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 419 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo [*bar*](/url)*") /* @@ -9142,7 +9141,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 420 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 420 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("** is not an empty emphasis") /* @@ -9153,7 +9152,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 421 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 421 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**** is not an empty strong emphasis") /* @@ -9164,7 +9163,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 422 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 422 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo [bar](/url)**") /* @@ -9175,7 +9174,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 423 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 423 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument( """ @@ -9194,7 +9193,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 424 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 424 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo _bar_ baz__") /* @@ -9205,7 +9204,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 425 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 425 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo __bar__ baz__") /* @@ -9216,7 +9215,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 426 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 426 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("____foo__ bar__") /* @@ -9227,7 +9226,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 427 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 427 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo **bar****") /* @@ -9238,7 +9237,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 428 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 428 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo *bar* baz**") /* @@ -9249,7 +9248,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 429 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 429 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo*bar*baz**") /* @@ -9260,7 +9259,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 430 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 430 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("***foo* bar**") /* @@ -9271,7 +9270,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 431 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 431 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo *bar***") /* @@ -9282,7 +9281,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 432 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 432 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument( """ @@ -9301,7 +9300,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 433 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 433 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo [*bar*](/url)**") /* @@ -9312,7 +9311,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 434 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 434 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__ is not an empty emphasis") /* @@ -9323,7 +9322,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 435 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 435 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("____ is not an empty strong emphasis") /* @@ -9334,7 +9333,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 436 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 436 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo ***") /* @@ -9345,7 +9344,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 437 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 437 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo *\\**") /* @@ -9356,7 +9355,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 438 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 438 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo *_*") /* @@ -9367,7 +9366,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 439 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 439 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo *****") /* @@ -9378,7 +9377,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 440 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 440 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo **\\***") /* @@ -9389,7 +9388,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 441 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 441 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo **_**") /* @@ -9400,7 +9399,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 442 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 442 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo*") /* @@ -9411,7 +9410,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 443 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 443 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo**") /* @@ -9422,7 +9421,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 444 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 444 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("***foo**") /* @@ -9433,7 +9432,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 445 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 445 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("****foo*") /* @@ -9444,7 +9443,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 446 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 446 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo***") /* @@ -9455,7 +9454,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 447 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 447 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo****") /* @@ -9466,7 +9465,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 448 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 448 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo ___") /* @@ -9477,7 +9476,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 449 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 449 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo _\\__") /* @@ -9488,7 +9487,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 450 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 450 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo _*_") /* @@ -9499,7 +9498,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 451 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 451 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo _____") /* @@ -9510,7 +9509,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 452 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 452 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo __\\___") /* @@ -9521,7 +9520,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 453 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 453 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("foo __*__") /* @@ -9532,7 +9531,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 454 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 454 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo_") /* @@ -9543,7 +9542,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 455 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 455 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo__") /* @@ -9554,7 +9553,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 456 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 456 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("___foo__") /* @@ -9565,7 +9564,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 457 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 457 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("____foo_") /* @@ -9576,7 +9575,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 458 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 458 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo___") /* @@ -9587,7 +9586,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 459 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 459 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo____") /* @@ -9598,7 +9597,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 460 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 460 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo**") /* @@ -9609,7 +9608,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 461 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 461 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*_foo_*") /* @@ -9620,7 +9619,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 462 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 462 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo__") /* @@ -9631,7 +9630,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 463 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 463 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_*foo*_") /* @@ -9642,7 +9641,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 462+1b correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 462+1b correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_*foo _bar_*_") /* @@ -9653,7 +9652,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 462+1c correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 462+1c correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo _bar___") /* @@ -9664,7 +9663,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 462+1d correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 462+1d correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_*foo _bar_ a*_") /* @@ -9675,7 +9674,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 462+1e correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 462+1e correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__foo _bar_ a__") /* @@ -9686,7 +9685,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 462+1f correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 462+1f correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_*foo *bar* a*_") /* @@ -9697,7 +9696,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 464 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 464 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("****foo****") /* @@ -9708,7 +9707,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 465 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 465 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("____foo____") /* @@ -9719,7 +9718,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 466 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 466 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("******foo******") /* @@ -9730,7 +9729,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 467 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 467 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("***foo***") /* @@ -9741,7 +9740,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 468 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 468 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_____foo_____") /* @@ -9752,7 +9751,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 469 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 469 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo _bar* baz_") /* @@ -9763,7 +9762,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 470 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 470 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo __bar *baz bim__ bam*") /* @@ -9774,7 +9773,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 471 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 471 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**foo **bar baz**") /* @@ -9785,7 +9784,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 472 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 472 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*foo *bar baz*") /* @@ -9796,7 +9795,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 473 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 473 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*[bar*](/url)") /* @@ -9807,7 +9806,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 474 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 474 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_foo [bar_](/url)") /* @@ -9818,7 +9817,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 475 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 475 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*") /* @@ -9829,7 +9828,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 476 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 476 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**") /* @@ -9840,7 +9839,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 477 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 477 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__") /* @@ -9851,7 +9850,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 478 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 478 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("*a `*`*") /* @@ -9862,7 +9861,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 479 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 479 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("_a `_`_") /* @@ -9873,7 +9872,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 480 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 480 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("**a") /* @@ -9884,7 +9883,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 481 correctly (Emphasis and strong emphasis)`() { + fun `should parse spec sample 481 correctly {Emphasis and strong emphasis}`() { val parsed = processor.processMarkdownDocument("__a") /* @@ -9895,7 +9894,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 482 correctly (Links)`() { + fun `should parse spec sample 482 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](/uri \"title\")") /* @@ -9906,7 +9905,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 483 correctly (Links)`() { + fun `should parse spec sample 483 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](/uri)") /* @@ -9917,7 +9916,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 484 correctly (Links)`() { + fun `should parse spec sample 484 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[](./target.md)") /* @@ -9928,7 +9927,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 485 correctly (Links)`() { + fun `should parse spec sample 485 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link]()") /* @@ -9939,7 +9938,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 486 correctly (Links)`() { + fun `should parse spec sample 486 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](<>)") /* @@ -9950,7 +9949,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 487 correctly (Links)`() { + fun `should parse spec sample 487 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[]()") /* @@ -9961,7 +9960,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 488 correctly (Links)`() { + fun `should parse spec sample 488 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](/my uri)") /* @@ -9972,7 +9971,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 489 correctly (Links)`() { + fun `should parse spec sample 489 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link]()") /* @@ -9983,7 +9982,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 490 correctly (Links)`() { + fun `should parse spec sample 490 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10002,7 +10001,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 491 correctly (Links)`() { + fun `should parse spec sample 491 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10021,7 +10020,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 492 correctly (Links)`() { + fun `should parse spec sample 492 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[a]()") /* @@ -10032,7 +10031,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 493 correctly (Links)`() { + fun `should parse spec sample 493 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link]()") /* @@ -10043,7 +10042,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 494 correctly (Links)`() { + fun `should parse spec sample 494 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10068,7 +10067,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 495 correctly (Links)`() { + fun `should parse spec sample 495 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](\\(foo\\))") /* @@ -10079,7 +10078,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 496 correctly (Links)`() { + fun `should parse spec sample 496 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](foo(and(bar)))") /* @@ -10090,7 +10089,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 497 correctly (Links)`() { + fun `should parse spec sample 497 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](foo(and(bar))") /* @@ -10101,7 +10100,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 498 correctly (Links)`() { + fun `should parse spec sample 498 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](foo\\(and\\(bar\\))") /* @@ -10112,7 +10111,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 499 correctly (Links)`() { + fun `should parse spec sample 499 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link]()") /* @@ -10123,7 +10122,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 500 correctly (Links)`() { + fun `should parse spec sample 500 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](foo\\)\\:)") /* @@ -10134,7 +10133,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 501 correctly (Links)`() { + fun `should parse spec sample 501 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10161,7 +10160,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 502 correctly (Links)`() { + fun `should parse spec sample 502 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](foo\\bar)") /* @@ -10172,7 +10171,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 503 correctly (Links)`() { + fun `should parse spec sample 503 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](foo%20bä)") /* @@ -10183,7 +10182,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 504 correctly (Links)`() { + fun `should parse spec sample 504 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](\"title\")") /* @@ -10194,7 +10193,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 505 correctly (Links)`() { + fun `should parse spec sample 505 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10217,7 +10216,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 506 correctly (Links)`() { + fun `should parse spec sample 506 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](/url \"title \\\""\")") /* @@ -10228,7 +10227,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 507 correctly (Links)`() { + fun `should parse spec sample 507 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](/url \"title\")") /* @@ -10239,7 +10238,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 508 correctly (Links)`() { + fun `should parse spec sample 508 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](/url \"title \"and\" title\")") /* @@ -10250,7 +10249,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 509 correctly (Links)`() { + fun `should parse spec sample 509 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link](/url 'title \"and\" title')") /* @@ -10261,7 +10260,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 510 correctly (Links)`() { + fun `should parse spec sample 510 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10279,7 +10278,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 511 correctly (Links)`() { + fun `should parse spec sample 511 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link] (/uri)") /* @@ -10290,7 +10289,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 512 correctly (Links)`() { + fun `should parse spec sample 512 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link [foo [bar]]](/uri)") /* @@ -10301,7 +10300,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 513 correctly (Links)`() { + fun `should parse spec sample 513 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link] bar](/uri)") /* @@ -10312,7 +10311,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 514 correctly (Links)`() { + fun `should parse spec sample 514 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link [bar](/uri)") /* @@ -10323,7 +10322,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 515 correctly (Links)`() { + fun `should parse spec sample 515 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link \\[bar](/uri)") /* @@ -10334,7 +10333,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 516 correctly (Links)`() { + fun `should parse spec sample 516 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[link *foo **bar** `#`*](/uri)") /* @@ -10345,7 +10344,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 517 correctly (Links)`() { + fun `should parse spec sample 517 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[![moon](moon.jpg)](/uri)") /* @@ -10356,7 +10355,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 518 correctly (Links)`() { + fun `should parse spec sample 518 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[foo [bar](/uri)](/uri)") /* @@ -10367,7 +10366,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 519 correctly (Links)`() { + fun `should parse spec sample 519 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[foo *[bar [baz](/uri)](/uri)*](/uri)") /* @@ -10378,7 +10377,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 520 correctly (Links)`() { + fun `should parse spec sample 520 correctly {Links}`() { val parsed = processor.processMarkdownDocument("![[[foo](uri1)](uri2)](uri3)") /* @@ -10389,7 +10388,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 521 correctly (Links)`() { + fun `should parse spec sample 521 correctly {Links}`() { val parsed = processor.processMarkdownDocument("*[foo*](/uri)") /* @@ -10400,7 +10399,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 522 correctly (Links)`() { + fun `should parse spec sample 522 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[foo *bar](baz*)") /* @@ -10411,7 +10410,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 523 correctly (Links)`() { + fun `should parse spec sample 523 correctly {Links}`() { val parsed = processor.processMarkdownDocument("*foo [bar* baz]") /* @@ -10422,7 +10421,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 524 correctly (Links)`() { + fun `should parse spec sample 524 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[foo ") /* @@ -10433,7 +10432,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 525 correctly (Links)`() { + fun `should parse spec sample 525 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[foo`](/uri)`") /* @@ -10444,7 +10443,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 526 correctly (Links)`() { + fun `should parse spec sample 526 correctly {Links}`() { val parsed = processor.processMarkdownDocument("[foo") /* @@ -10459,7 +10458,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 527 correctly (Links)`() { + fun `should parse spec sample 527 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10478,7 +10477,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 528 correctly (Links)`() { + fun `should parse spec sample 528 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10497,7 +10496,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 529 correctly (Links)`() { + fun `should parse spec sample 529 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10516,7 +10515,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 530 correctly (Links)`() { + fun `should parse spec sample 530 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10535,7 +10534,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 531 correctly (Links)`() { + fun `should parse spec sample 531 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10554,7 +10553,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 532 correctly (Links)`() { + fun `should parse spec sample 532 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10573,7 +10572,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 533 correctly (Links)`() { + fun `should parse spec sample 533 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10592,7 +10591,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 534 correctly (Links)`() { + fun `should parse spec sample 534 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10611,7 +10610,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 535 correctly (Links)`() { + fun `should parse spec sample 535 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10630,7 +10629,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 536 correctly (Links)`() { + fun `should parse spec sample 536 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10649,7 +10648,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 537 correctly (Links)`() { + fun `should parse spec sample 537 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10668,7 +10667,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 538 correctly (Links)`() { + fun `should parse spec sample 538 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10691,7 +10690,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 539 correctly (Links)`() { + fun `should parse spec sample 539 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10710,7 +10709,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 540 correctly (Links)`() { + fun `should parse spec sample 540 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10729,7 +10728,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 541 correctly (Links)`() { + fun `should parse spec sample 541 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10749,7 +10748,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 542 correctly (Links)`() { + fun `should parse spec sample 542 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10768,7 +10767,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 543 correctly (Links)`() { + fun `should parse spec sample 543 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10789,7 +10788,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 544 correctly (Links)`() { + fun `should parse spec sample 544 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10810,7 +10809,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 545 correctly (Links)`() { + fun `should parse spec sample 545 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10829,7 +10828,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 546 correctly (Links)`() { + fun `should parse spec sample 546 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10852,7 +10851,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 547 correctly (Links)`() { + fun `should parse spec sample 547 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10875,7 +10874,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 548 correctly (Links)`() { + fun `should parse spec sample 548 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10898,7 +10897,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 549 correctly (Links)`() { + fun `should parse spec sample 549 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10917,7 +10916,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 550 correctly (Links)`() { + fun `should parse spec sample 550 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10936,7 +10935,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 551 correctly (Links)`() { + fun `should parse spec sample 551 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10959,7 +10958,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 552 correctly (Links)`() { + fun `should parse spec sample 552 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -10986,7 +10985,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 553 correctly (Links)`() { + fun `should parse spec sample 553 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11005,7 +11004,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 554 correctly (Links)`() { + fun `should parse spec sample 554 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11024,7 +11023,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 555 correctly (Links)`() { + fun `should parse spec sample 555 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11043,7 +11042,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 556 correctly (Links)`() { + fun `should parse spec sample 556 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11064,7 +11063,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 557 correctly (Links)`() { + fun `should parse spec sample 557 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11083,7 +11082,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 558 correctly (Links)`() { + fun `should parse spec sample 558 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11102,7 +11101,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 559 correctly (Links)`() { + fun `should parse spec sample 559 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11121,7 +11120,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 560 correctly (Links)`() { + fun `should parse spec sample 560 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11140,7 +11139,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 561 correctly (Links)`() { + fun `should parse spec sample 561 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11159,7 +11158,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 562 correctly (Links)`() { + fun `should parse spec sample 562 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11178,7 +11177,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 563 correctly (Links)`() { + fun `should parse spec sample 563 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11197,7 +11196,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 564 correctly (Links)`() { + fun `should parse spec sample 564 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11216,7 +11215,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 565 correctly (Links)`() { + fun `should parse spec sample 565 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11236,7 +11235,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 566 correctly (Links)`() { + fun `should parse spec sample 566 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11255,7 +11254,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 567 correctly (Links)`() { + fun `should parse spec sample 567 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11274,7 +11273,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 568 correctly (Links)`() { + fun `should parse spec sample 568 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11293,7 +11292,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 569 correctly (Links)`() { + fun `should parse spec sample 569 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11312,7 +11311,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 570 correctly (Links)`() { + fun `should parse spec sample 570 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11332,7 +11331,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 571 correctly (Links)`() { + fun `should parse spec sample 571 correctly {Links}`() { val parsed = processor.processMarkdownDocument( """ @@ -11352,7 +11351,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 572 correctly (Images)`() { + fun `should parse spec sample 572 correctly {Images}`() { val parsed = processor.processMarkdownDocument("![foo](/url \"title\")") /* @@ -11363,7 +11362,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 573 correctly (Images)`() { + fun `should parse spec sample 573 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11382,7 +11381,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 574 correctly (Images)`() { + fun `should parse spec sample 574 correctly {Images}`() { val parsed = processor.processMarkdownDocument("![foo ![bar](/url)](/url2)") /* @@ -11393,7 +11392,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 575 correctly (Images)`() { + fun `should parse spec sample 575 correctly {Images}`() { val parsed = processor.processMarkdownDocument("![foo [bar](/url)](/url2)") /* @@ -11404,7 +11403,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 576 correctly (Images)`() { + fun `should parse spec sample 576 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11423,7 +11422,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 577 correctly (Images)`() { + fun `should parse spec sample 577 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11442,7 +11441,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 578 correctly (Images)`() { + fun `should parse spec sample 578 correctly {Images}`() { val parsed = processor.processMarkdownDocument("![foo](train.jpg)") /* @@ -11453,7 +11452,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 579 correctly (Images)`() { + fun `should parse spec sample 579 correctly {Images}`() { val parsed = processor.processMarkdownDocument("My ![foo bar](/path/to/train.jpg \"title\" )") /* @@ -11464,7 +11463,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 580 correctly (Images)`() { + fun `should parse spec sample 580 correctly {Images}`() { val parsed = processor.processMarkdownDocument("![foo]()") /* @@ -11475,7 +11474,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 581 correctly (Images)`() { + fun `should parse spec sample 581 correctly {Images}`() { val parsed = processor.processMarkdownDocument("![](/url)") /* @@ -11486,7 +11485,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 582 correctly (Images)`() { + fun `should parse spec sample 582 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11505,7 +11504,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 583 correctly (Images)`() { + fun `should parse spec sample 583 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11524,7 +11523,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 584 correctly (Images)`() { + fun `should parse spec sample 584 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11543,7 +11542,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 585 correctly (Images)`() { + fun `should parse spec sample 585 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11562,7 +11561,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 586 correctly (Images)`() { + fun `should parse spec sample 586 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11581,7 +11580,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 587 correctly (Images)`() { + fun `should parse spec sample 587 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11602,7 +11601,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 588 correctly (Images)`() { + fun `should parse spec sample 588 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11621,7 +11620,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 589 correctly (Images)`() { + fun `should parse spec sample 589 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11640,7 +11639,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 590 correctly (Images)`() { + fun `should parse spec sample 590 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11663,7 +11662,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 591 correctly (Images)`() { + fun `should parse spec sample 591 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11682,7 +11681,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 592 correctly (Images)`() { + fun `should parse spec sample 592 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11701,7 +11700,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 593 correctly (Images)`() { + fun `should parse spec sample 593 correctly {Images}`() { val parsed = processor.processMarkdownDocument( """ @@ -11720,7 +11719,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 594 correctly (Autolinks)`() { + fun `should parse spec sample 594 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11731,7 +11730,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 595 correctly (Autolinks)`() { + fun `should parse spec sample 595 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11746,7 +11745,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 596 correctly (Autolinks)`() { + fun `should parse spec sample 596 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11757,7 +11756,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 597 correctly (Autolinks)`() { + fun `should parse spec sample 597 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11768,7 +11767,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 598 correctly (Autolinks)`() { + fun `should parse spec sample 598 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11779,7 +11778,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 599 correctly (Autolinks)`() { + fun `should parse spec sample 599 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11790,7 +11789,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 600 correctly (Autolinks)`() { + fun `should parse spec sample 600 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11801,7 +11800,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 601 correctly (Autolinks)`() { + fun `should parse spec sample 601 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11812,7 +11811,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 602 correctly (Autolinks)`() { + fun `should parse spec sample 602 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11823,7 +11822,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 603 correctly (Autolinks)`() { + fun `should parse spec sample 603 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11834,7 +11833,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 604 correctly (Autolinks)`() { + fun `should parse spec sample 604 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11845,7 +11844,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 605 correctly (Autolinks)`() { + fun `should parse spec sample 605 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11860,7 +11859,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 606 correctly (Autolinks)`() { + fun `should parse spec sample 606 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11871,7 +11870,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 607 correctly (Autolinks)`() { + fun `should parse spec sample 607 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("<>") /* @@ -11882,7 +11881,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 608 correctly (Autolinks)`() { + fun `should parse spec sample 608 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("< https://foo.bar >") /* @@ -11893,7 +11892,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 609 correctly (Autolinks)`() { + fun `should parse spec sample 609 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11904,7 +11903,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 610 correctly (Autolinks)`() { + fun `should parse spec sample 610 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11915,7 +11914,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 611 correctly (Autolinks)`() { + fun `should parse spec sample 611 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("https://example.com") /* @@ -11926,7 +11925,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 612 correctly (Autolinks)`() { + fun `should parse spec sample 612 correctly {Autolinks}`() { val parsed = processor.processMarkdownDocument("foo@bar.example.com") /* @@ -11937,7 +11936,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 613 correctly (Raw HTML)`() { + fun `should parse spec sample 613 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11948,7 +11947,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 614 correctly (Raw HTML)`() { + fun `should parse spec sample 614 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("") /* @@ -11959,7 +11958,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 615 correctly (Raw HTML)`() { + fun `should parse spec sample 615 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument( """ @@ -11978,7 +11977,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 616 correctly (Raw HTML)`() { + fun `should parse spec sample 616 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument( """ @@ -12001,7 +12000,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 617 correctly (Raw HTML)`() { + fun `should parse spec sample 617 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("Foo ") /* @@ -12012,7 +12011,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 618 correctly (Raw HTML)`() { + fun `should parse spec sample 618 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("<33> <__>") /* @@ -12023,7 +12022,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 619 correctly (Raw HTML)`() { + fun `should parse spec sample 619 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("") /* @@ -12034,7 +12033,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 620 correctly (Raw HTML)`() { + fun `should parse spec sample 620 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument(" ") /* @@ -12045,7 +12044,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 621 correctly (Raw HTML)`() { + fun `should parse spec sample 621 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument( """ @@ -12072,7 +12071,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 622 correctly (Raw HTML)`() { + fun `should parse spec sample 622 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("") /* @@ -12083,7 +12082,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 623 correctly (Raw HTML)`() { + fun `should parse spec sample 623 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("") /* @@ -12094,7 +12093,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 624 correctly (Raw HTML)`() { + fun `should parse spec sample 624 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("") /* @@ -12105,7 +12104,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 625 correctly (Raw HTML)`() { + fun `should parse spec sample 625 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument( """ @@ -12124,7 +12123,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 626 correctly (Raw HTML)`() { + fun `should parse spec sample 626 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument( """ @@ -12147,7 +12146,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 627 correctly (Raw HTML)`() { + fun `should parse spec sample 627 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("foo ") /* @@ -12158,7 +12157,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 628 correctly (Raw HTML)`() { + fun `should parse spec sample 628 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("foo ") /* @@ -12169,7 +12168,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 629 correctly (Raw HTML)`() { + fun `should parse spec sample 629 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("foo &<]]>") /* @@ -12180,7 +12179,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 630 correctly (Raw HTML)`() { + fun `should parse spec sample 630 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("foo ") /* @@ -12191,7 +12190,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 631 correctly (Raw HTML)`() { + fun `should parse spec sample 631 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("foo ") /* @@ -12202,7 +12201,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 632 correctly (Raw HTML)`() { + fun `should parse spec sample 632 correctly {Raw HTML}`() { val parsed = processor.processMarkdownDocument("") /* @@ -12213,7 +12212,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 633 correctly (Hard line breaks)`() { + fun `should parse spec sample 633 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12232,7 +12231,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 634 correctly (Hard line breaks)`() { + fun `should parse spec sample 634 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12251,7 +12250,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 635 correctly (Hard line breaks)`() { + fun `should parse spec sample 635 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12270,7 +12269,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 636 correctly (Hard line breaks)`() { + fun `should parse spec sample 636 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12289,7 +12288,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 637 correctly (Hard line breaks)`() { + fun `should parse spec sample 637 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12308,7 +12307,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 638 correctly (Hard line breaks)`() { + fun `should parse spec sample 638 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12327,7 +12326,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 639 correctly (Hard line breaks)`() { + fun `should parse spec sample 639 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12346,7 +12345,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 640 correctly (Hard line breaks)`() { + fun `should parse spec sample 640 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12364,7 +12363,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 641 correctly (Hard line breaks)`() { + fun `should parse spec sample 641 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12382,7 +12381,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 642 correctly (Hard line breaks)`() { + fun `should parse spec sample 642 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12401,7 +12400,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 643 correctly (Hard line breaks)`() { + fun `should parse spec sample 643 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12420,7 +12419,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 644 correctly (Hard line breaks)`() { + fun `should parse spec sample 644 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument("foo\\") /* @@ -12431,7 +12430,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 645 correctly (Hard line breaks)`() { + fun `should parse spec sample 645 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument("foo ") /* @@ -12442,7 +12441,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 646 correctly (Hard line breaks)`() { + fun `should parse spec sample 646 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument("### foo\\") /* @@ -12453,7 +12452,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 647 correctly (Hard line breaks)`() { + fun `should parse spec sample 647 correctly {Hard line breaks}`() { val parsed = processor.processMarkdownDocument("### foo ") /* @@ -12464,7 +12463,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 648 correctly (Soft line breaks)`() { + fun `should parse spec sample 648 correctly {Soft line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12483,7 +12482,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 649 correctly (Soft line breaks)`() { + fun `should parse spec sample 649 correctly {Soft line breaks}`() { val parsed = processor.processMarkdownDocument( """ @@ -12502,7 +12501,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 650 correctly (Textual content)`() { + fun `should parse spec sample 650 correctly {Textual content}`() { val parsed = processor.processMarkdownDocument("hello $.;'there") /* @@ -12513,7 +12512,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 651 correctly (Textual content)`() { + fun `should parse spec sample 651 correctly {Textual content}`() { val parsed = processor.processMarkdownDocument("Foo χρῆν") /* @@ -12524,7 +12523,7 @@ class MarkdownProcessorDocumentParsingTest { } @Test - fun `should parse spec sample 652 correctly (Textual content)`() { + fun `should parse spec sample 652 correctly {Textual content}`() { val parsed = processor.processMarkdownDocument("Multiple spaces") /* diff --git a/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/TestUtils.kt b/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/TestUtils.kt index 2827bcbd87..69ecf263cb 100644 --- a/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/TestUtils.kt +++ b/markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/TestUtils.kt @@ -6,12 +6,6 @@ import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock.FencedCodeBlock import org.jetbrains.jewel.markdown.MarkdownBlock.CodeBlock.IndentedCodeBlock import org.jetbrains.jewel.markdown.MarkdownBlock.Heading -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H1 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H2 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H3 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H4 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H5 -import org.jetbrains.jewel.markdown.MarkdownBlock.Heading.H6 import org.jetbrains.jewel.markdown.MarkdownBlock.HtmlBlock import org.jetbrains.jewel.markdown.MarkdownBlock.Image import org.jetbrains.jewel.markdown.MarkdownBlock.ListBlock @@ -71,14 +65,14 @@ private fun MarkdownBlock.findDifferenceWith( return when (this) { is Paragraph -> diffParagraph(this, expected, indent) - is BlockQuote -> content.findDifferences((expected as BlockQuote).content, indentSize) + is BlockQuote -> children.findDifferences((expected as BlockQuote).children, indentSize) is HtmlBlock -> diffHtmlBlock(this, expected, indent) is FencedCodeBlock -> diffFencedCodeBlock(this, expected, indent) is IndentedCodeBlock -> diffIndentedCodeBlock(this, expected, indent) is Heading -> diffHeading(this, expected, indent) is Image -> diffImage(this, expected, indent) is ListBlock -> diffList(this, expected, indentSize, indent) - is ListItem -> content.findDifferences((expected as ListItem).content, indentSize) + is ListItem -> children.findDifferences((expected as ListItem).children, indentSize) is ThematicBreak -> emptyList() // They can only differ in their node else -> error("Unsupported MarkdownBlock: ${this.javaClass.name}") } @@ -164,7 +158,7 @@ private fun diffImage(actual: Image, expected: MarkdownBlock, indent: String) = private fun diffList(actual: ListBlock, expected: MarkdownBlock, indentSize: Int, indent: String) = buildList { - addAll(actual.items.findDifferences((expected as ListBlock).items, indentSize)) + addAll(actual.children.findDifferences((expected as ListBlock).children, indentSize)) if (actual.isTight != expected.isTight) { add( @@ -194,11 +188,11 @@ private fun diffList(actual: ListBlock, expected: MarkdownBlock, indentSize: Int } is UnorderedList -> { - if (actual.bulletMarker != (expected as UnorderedList).bulletMarker) { + if (actual.marker != (expected as UnorderedList).marker) { add( "$indent * List bulletMarker mismatch.\n\n" + - "$indent Actual: ${actual.bulletMarker}\n" + - "$indent Expected: ${expected.bulletMarker}", + "$indent Actual: ${actual.marker}\n" + + "$indent Expected: ${expected.marker}", ) } } @@ -230,14 +224,8 @@ fun orderedList( fun listItem(vararg items: MarkdownBlock) = ListItem(items.toList()) fun heading(level: Int, @Language("Markdown") content: String) = - when (level) { - 1 -> H1(InlineMarkdown(content)) - 2 -> H2(InlineMarkdown(content)) - 3 -> H3(InlineMarkdown(content)) - 4 -> H4(InlineMarkdown(content)) - 5 -> H5(InlineMarkdown(content)) - 6 -> H6(InlineMarkdown(content)) - else -> error("Invalid heading level $level") - } + Heading(InlineMarkdown(content), level) fun htmlBlock(content: String) = HtmlBlock(content) + +fun thematicBreak() = ThematicBreak diff --git a/markdown/extension/gfm-alerts/api/gfm-alerts.api b/markdown/extension/gfm-alerts/api/gfm-alerts.api index 1ebaa5a297..c292a18503 100644 --- a/markdown/extension/gfm-alerts/api/gfm-alerts.api +++ b/markdown/extension/gfm-alerts/api/gfm-alerts.api @@ -1,4 +1,4 @@ -public abstract interface class org/jetbrains/jewel/markdown/extensions/github/alerts/Alert : org/jetbrains/jewel/markdown/MarkdownBlock$Extension { +public abstract interface class org/jetbrains/jewel/markdown/extensions/github/alerts/Alert : org/jetbrains/jewel/markdown/MarkdownBlock$CustomBlock { public abstract fun getContent ()Ljava/util/List; } @@ -115,8 +115,8 @@ public final class org/jetbrains/jewel/markdown/extensions/github/alerts/Caution public final class org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertBlockRenderer : org/jetbrains/jewel/markdown/extensions/MarkdownBlockRendererExtension { public static final field $stable I public fun (Lorg/jetbrains/jewel/markdown/extensions/github/alerts/AlertStyling;Lorg/jetbrains/jewel/markdown/rendering/MarkdownStyling;)V - public fun canRender (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Extension;)Z - public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$Extension;Lorg/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer;Lorg/jetbrains/jewel/markdown/rendering/InlineMarkdownRenderer;Landroidx/compose/runtime/Composer;I)V + public fun canRender (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CustomBlock;)Z + public fun render (Lorg/jetbrains/jewel/markdown/MarkdownBlock$CustomBlock;Lorg/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer;Lorg/jetbrains/jewel/markdown/rendering/InlineMarkdownRenderer;Landroidx/compose/runtime/Composer;I)V } public final class org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertProcessorExtension : org/jetbrains/jewel/markdown/extensions/MarkdownProcessorExtension { diff --git a/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/Alert.kt b/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/Alert.kt index 4a5e7f7e5c..79247d6e38 100644 --- a/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/Alert.kt +++ b/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/Alert.kt @@ -2,7 +2,7 @@ package org.jetbrains.jewel.markdown.extensions.github.alerts import org.jetbrains.jewel.markdown.MarkdownBlock -public sealed interface Alert : MarkdownBlock.Extension { +public sealed interface Alert : MarkdownBlock.CustomBlock { public val content: List diff --git a/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertBlockRenderer.kt b/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertBlockRenderer.kt index dd3c34956a..5ffdddb5bd 100644 --- a/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertBlockRenderer.kt +++ b/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertBlockRenderer.kt @@ -19,7 +19,7 @@ import androidx.compose.ui.input.pointer.pointerHoverIcon import androidx.compose.ui.unit.LayoutDirection.Ltr import androidx.compose.ui.unit.dp import org.jetbrains.jewel.foundation.theme.LocalContentColor -import org.jetbrains.jewel.markdown.MarkdownBlock.Extension +import org.jetbrains.jewel.markdown.MarkdownBlock.CustomBlock import org.jetbrains.jewel.markdown.extensions.MarkdownBlockRendererExtension import org.jetbrains.jewel.markdown.extensions.github.alerts.Alert.Caution import org.jetbrains.jewel.markdown.extensions.github.alerts.Alert.Important @@ -37,12 +37,12 @@ public class GitHubAlertBlockRenderer( private val rootStyling: MarkdownStyling, ) : MarkdownBlockRendererExtension { - override fun canRender(block: Extension): Boolean = + override fun canRender(block: CustomBlock): Boolean = block is Alert @Composable override fun render( - block: Extension, + block: CustomBlock, blockRenderer: MarkdownBlockRenderer, inlineRenderer: InlineMarkdownRenderer, ) { diff --git a/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertProcessorExtension.kt b/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertProcessorExtension.kt index 31a0a4bda8..44b672306b 100644 --- a/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertProcessorExtension.kt +++ b/markdown/extension/gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertProcessorExtension.kt @@ -40,7 +40,7 @@ public object GitHubAlertProcessorExtension : MarkdownProcessorExtension { override fun canProcess(block: CustomBlock): Boolean = block is AlertBlock - override fun processMarkdownBlock(block: CustomBlock, processor: MarkdownProcessor): MarkdownBlock.Extension? { + override fun processMarkdownBlock(block: CustomBlock, processor: MarkdownProcessor): MarkdownBlock.CustomBlock? { val children = processor.processChildren(block) if (children.isEmpty()) return null