File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ public function getConfigTreeBuilder(): TreeBuilder
3939 }
4040
4141 /**
42- * Full configuration from {@link https://commonmark.thephpleague.com/2.3 /configuration}.
42+ * Full configuration from {@link https://commonmark.thephpleague.com/2.7 /configuration}.
4343 */
4444 private function addCommonMarkConfiguration (ArrayNodeDefinition $ rootNode ): void
4545 {
4646 $ rootNode
4747 ->children ()
4848 ->arrayNode ('commonmark ' )
49- ->ignoreExtraKeys ()
49+ ->ignoreExtraKeys (false )
5050 ->children ()
5151 ->arrayNode ('renderer ' )
5252 ->info ('Array of options for rendering HTML. ' )
@@ -68,6 +68,10 @@ private function addCommonMarkConfiguration(ArrayNodeDefinition $rootNode): void
6868 ->info ('The maximum nesting level for blocks. ' )
6969 ->defaultValue (\PHP_INT_MAX )
7070 ->end ()
71+ ->integerNode ('max_delimiters_per_line ' )
72+ ->info ('The maximum number of strong/emphasis delimiters per line. ' )
73+ ->defaultValue (\PHP_INT_MAX )
74+ ->end ()
7175 ->arrayNode ('slug_normalizer ' )
7276 ->info ('Array of options for configuring how URL-safe slugs are created. ' )
7377 ->children ()
You can’t perform that action at this time.
0 commit comments