Skip to content

Fix first line indent in block when inlined#7

Merged
mbarbin merged 2 commits intomainfrom
first-line-indent-in-block
Apr 2, 2026
Merged

Fix first line indent in block when inlined#7
mbarbin merged 2 commits intomainfrom
first-line-indent-in-block

Conversation

@mbarbin
Copy link
Copy Markdown
Owner

@mbarbin mbarbin commented Apr 2, 2026

No description provided.

mbarbin and others added 2 commits April 2, 2026 16:21
When the first line of a prose block appears on the same line as the
@mdexp directive, it is now excluded from the minimum indentation
computation. This allows the remaining lines to be properly dedented
based on their own indentation, while the inline first line is fully
left-trimmed and emitted at indentation zero.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mbarbin mbarbin merged commit 9ac9270 into main Apr 2, 2026
6 of 7 checks passed
@mbarbin mbarbin deleted the first-line-indent-in-block branch April 2, 2026 14:31
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.

1 participant