Skip to content

[TASK] Prefer literalinclude for longer code in a programming language - #591

Merged
linawolf merged 1 commit into
mainfrom
task/prefer-literalinclude
Oct 1, 2026
Merged

linawolf merged 1 commit into
mainfrom
task/prefer-literalinclude

Conversation

@linawolf

@linawolf linawolf commented Oct 1, 2026

Copy link
Copy Markdown
Member

The code block chapter only said that most editors cannot highlight
or indent code inside a code block. It did not say when to move the
code into a file of its own, nor the main reason to do so: a file can
be linted and checked against the coding guidelines, and worked on in
an IDE.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com
Signed-off-by: Lina Wolf

The code block chapter only said that most editors cannot highlight
or indent code inside a code block. It did not say when to move the
code into a file of its own, nor the main reason to do so: a file can
be linted and checked against the coding guidelines, and worked on in
an IDE.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Lina Wolf
@linawolf
linawolf merged commit 9df69d9 into main Oct 1, 2026
2 checks passed
@linawolf
linawolf deleted the task/prefer-literalinclude branch October 1, 2026 14:08
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