Skip to content

feat: add HTML line prompts#1319

Merged
alecthomas merged 1 commit into
masterfrom
aat/html-line-prompts
Jul 2, 2026
Merged

feat: add HTML line prompts#1319
alecthomas merged 1 commit into
masterfrom
aat/html-line-prompts

Conversation

@alecthomas

@alecthomas alecthomas commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Support formatter-defined prompts for shell and REPL examples without
making those prompts part of the highlighted source text.

Prompts reuse the existing GenericPrompt styling and line range handling
so they work with classes, inline styles, and line numbers.

image

Closes #1051

@alecthomas
alecthomas merged commit 50f98ad into master Jul 2, 2026
2 checks passed
@alecthomas
alecthomas deleted the aat/html-line-prompts branch July 2, 2026 13:53
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.

support for custom, non-selectable code block prompts

1 participant