Skip to content

✨ NEW: Add --enable-tables to the CLI - #422

Open
user01010111 wants to merge 1 commit into
executablebooks:masterfrom
user01010111:feat/cli-enable-tables
Open

✨ NEW: Add --enable-tables to the CLI#422
user01010111 wants to merge 1 commit into
executablebooks:masterfrom
user01010111:feat/cli-enable-tables

Conversation

@user01010111

Copy link
Copy Markdown

Closes #352.

Add --enable-tables for files, standard input and interactive input, using MarkdownIt.enable("table"). Default CommonMark rules and HTML settings remain unchanged.

Pass the configured parser through each CLI route and preserve interactive input line breaks so tables can be entered line by line. Update the CLI help, README and changelog.

Validation: 987 tests passed on Python 3.13, including default/opt-in checks across all CLI routes; all pre-commit hooks passed. Source distribution and wheel builds passed, with file/stdin checks against the installed command. Strict docs passed on Python 3.10 with Sphinx 8.1.3. Newer Sphinx versions hit the existing apidoc.OPTIONS incompatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[3.0.0] Command markdown-it does not allow activating support for tables? 😢

1 participant