Skip to content

KAFKA-20050: Add syntax highlighting for code blocks and commands#21845

Open
gomudayya wants to merge 1 commit intoapache:trunkfrom
gomudayya:KAFKA-20050
Open

KAFKA-20050: Add syntax highlighting for code blocks and commands#21845
gomudayya wants to merge 1 commit intoapache:trunkfrom
gomudayya:KAFKA-20050

Conversation

@gomudayya
Copy link

Added language tags (e.g.,bash, java) to fenced code blocks in the getting-started directory under docs/.
I verified the syntax highlighting locally by building and running the kafka-site project.

[ sample image 1 ]

syntax highlight1

[ sample image 2 ]

syntax highlight2

A few questions:

  1. I understand that the kafka repo's docs/ is the source of truth, so I submitted this PR here rather than to kafka-site. Is this the right approach?

  2. This PR targets trunk, so I assume it will be synced to kafka-site when 4.3 is released. Should I also open a separate PR for the 4.2 branch to apply this to the currently released version?

  3. To keep this PR small and focused, I've only applied syntax highlighting to the getting-started directory for now. If this approach looks good, would it be okay for me to handle the remaining directories in follow-up PRs? Or would you prefer a single PR covering all docs?

Any feedback is welcome. Thanks for reviewing!

cc @mimaison

@github-actions github-actions bot added triage PRs from the community docs labels Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant