Skip to content

docs: 第2章テンプレート例のコードフェンス崩れを修正#195

Merged
ootakazuhiko merged 1 commit intomainfrom
fix/markdown-template-fences-20260214
Feb 14, 2026
Merged

docs: 第2章テンプレート例のコードフェンス崩れを修正#195
ootakazuhiko merged 1 commit intomainfrom
fix/markdown-template-fences-20260214

Conversation

@ootakazuhiko
Copy link
Collaborator

変更内容

  • 第2章のテンプレート例(Issue/PR例)で、外側のコードフェンスを ````markdown に変更
  • テンプレート例の終了位置で ```` を明示し、以降の本文がテンプレート内扱いにならないように調整
  • docs/src/ の双方に同様の修正を適用

背景

テンプレート例の中に ```bash / ```python のようなフェンスを含めていたため、内側の閉じフェンス ``` が外側ブロックを閉じてしまい、表示が崩れる状態でした。

Copilot AI review requested due to automatic review settings February 14, 2026 06:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request fixes markdown rendering issues in Chapter 2 documentation where nested code fences were causing display problems. The issue occurred when template examples containing triple-backtick code blocks (like ```bash or ```python) were enclosed in triple-backtick markdown fences, causing the inner closing fence to prematurely terminate the outer block.

Changes:

  • Changed outer code fences from ```markdown to ````markdown (quadruple backticks) for Issue and PR template examples
  • Added explicit closing ```` markers at the end of each template example
  • Applied identical fixes to both src/ and docs/ directories to maintain consistency

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/chapters/chapter02/index.md Fixed nested code fence rendering in AI collaboration templates for Issue and PR examples
docs/chapters/chapter02/index.md Applied identical nested code fence fixes to the docs version of Chapter 2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ootakazuhiko
Copy link
Collaborator Author

Copilot レビューは要約のみで、追加の修正指摘はありませんでした。

  • 変更点: 第2章のテンプレート例の外側フェンスを markdown に変更し、テンプレート例の終了位置に を追加
  • 対象: docs/ / src/ 両方
  • CI: qa / docs-forbidden PASS

@ootakazuhiko ootakazuhiko merged commit a47dae8 into main Feb 14, 2026
8 checks passed
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