Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 22, 2025

The documentation for supported code block languages contained a broken link that was returning a 404 error. The link was pointing to src/Elastic.Markdown/Assets/hljs.ts, but this file has been moved to src/Elastic.Documentation.Site/Assets/hljs.ts.

This change updates the link in docs/syntax/code.md to point to the correct location where users can find the complete list of supported languages for syntax highlighting, including languages like JavaScript, Python, TypeScript, YAML, C#, Go, Rust, and many others.

The broken link was preventing users from easily discovering which programming languages are supported for code block syntax highlighting in the docs-builder system.

Fixes #1924.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: reakaleek <16325797+reakaleek@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Link to supported code blocks languages is broken Fix broken link to hljs.ts in code syntax documentation Sep 22, 2025
Copilot finished work on behalf of reakaleek September 22, 2025 08:53
@Copilot Copilot AI requested a review from reakaleek September 22, 2025 08:53
Copy link

Label error. Requires exactly 1 of: automation, breaking, bug, changelog:skip, chore, ci, dependencies, documentation, enhancement, feature, fix, redesign. Found:

@reakaleek reakaleek added the documentation Improvements or additions to documentation label Sep 22, 2025
Copy link

🔍 Preview links for changed docs

@reakaleek reakaleek marked this pull request as ready for review September 22, 2025 09:34
@reakaleek reakaleek requested review from a team as code owners September 22, 2025 09:34
@reakaleek reakaleek requested a review from Mpdreamz September 22, 2025 09:34
@reakaleek reakaleek enabled auto-merge (squash) September 22, 2025 09:34
@reakaleek reakaleek merged commit 58978b0 into main Sep 22, 2025
24 of 38 checks passed
@reakaleek reakaleek deleted the copilot/fix-1924 branch September 22, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link to supported code blocks languages is broken
3 participants