Skip to content

Make execnb an optional fill extra - #49

Merged
jph00 merged 1 commit into
mainfrom
pr/make-execnb-an-optional-fill-extra
Aug 25, 2026
Merged

Make execnb an optional fill extra#49
jph00 merged 1 commit into
mainfrom
pr/make-execnb-an-optional-fill-extra

Conversation

@jph00

@jph00 jph00 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

execnb (and the IPython tree it brings) now installs only with pip install 'mdhtml[fill]'. It was a hard dependency used in exactly one place: the shell that executes {python} blocks for fillmd. The import is now lazy, so import mdhtml never loads IPython, and a bare install that reaches an executable block gets an ImportError naming the extra. A test pins the bare import to stay execnb-free, and the fillmd section of the README documents the extra.

Also aligns the conformance fixtures with the dialect decisions that only a bare --- is a thematic break and that setext headings don't exist: 27 cmark spec examples are tagged disabled, and the PHP Markdown Extra fixtures use --- separators, with the headers-with-attributes expectations keeping ------ underlines as paragraph text.

@jph00 jph00 added the enhancement New feature or request label Aug 25, 2026
@jph00
jph00 merged commit c9d2bd4 into main Aug 25, 2026
@jph00
jph00 deleted the pr/make-execnb-an-optional-fill-extra branch August 25, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant