Commit Graph
3 Commits
Author SHA1 Message Date
dualfroz f02f3b2b7d Describe this repository 2026-10-22 21:07:38 +02:00
dualfroz 260083d10a fix: accept unordered_list_markers config in InlinesOnlyExtension
The unordered_list_markers option is declared in the shared 'commonmark'
config schema by CommonMarkCoreExtension, but InlinesOnlyExtension did not
declare it in its own schema for the same 'commonmark' namespace. Setting
the option while using InlinesOnlyExtension therefore failed schema
validation with 'Unexpected item commonmark unordered_list_markers'.

Declare the option in InlinesOnlyExtension using the same definition so it
is accepted. InlinesOnlyExtension does not render lists, so this only makes
the option valid without changing rendering behaviour.

Adds a regression test asserting the option is accepted and rendering still
works.

Closes #1015
2026-08-27 23:37:32 +02:00
dualfroz a17ed29842 fix: accept unordered_list_markers config in InlinesOnlyExtension
The unordered_list_markers option is declared in the shared 'commonmark'
config schema by CommonMarkCoreExtension, but InlinesOnlyExtension did not
declare it in its own schema for the same 'commonmark' namespace. Setting
the option while using InlinesOnlyExtension therefore failed schema
validation with 'Unexpected item commonmark unordered_list_markers'.

Declare the option in InlinesOnlyExtension using the same definition so it
is accepted. InlinesOnlyExtension does not render lists, so this only makes
the option valid without changing rendering behaviour.

Adds a regression test asserting the option is accepted and rendering still
works.

Closes #1015
2026-09-06 00:59:12 +02:00