Skip to content

Conversation

@AAYUSH-SPIDEY-SHARMA
Copy link
Contributor

Problem

The docs used {% hint style="warning" %} in multiple chapters and languages, but the gitbook-plugin-hints plugin does not support the warning style. This caused hints not to render correctly.

Solution

  • Replaced all {% hint style="warning" %} (including single quotes or no quotes) with {% hint style="working" %}.
  • Applied changes across all Markdown/HTML files in all language directories.

How to test

  1. Run the docs locally (yarn start or npm start).
  2. Navigate to any page that previously had a warning hint.
  3. Confirm that hints now render correctly as working.

Notes

  • No other files were changed (only doc content).
  • Verified no remaining warning styles exist via a full-text search.

Closes #307

@vercel
Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
learn-javascript Ready Ready Preview Comment Oct 2, 2025 11:20am

Copy link
Contributor

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 a documentation rendering issue by replacing unsupported {% hint style="warning" %} with supported {% hint style="working" %} across all language documentation files.

  • Replaces style="warning" with style="working" in GitBook hint blocks
  • Updates all Markdown documentation files across multiple languages (Turkish, Nepali, Indonesian, French, Spanish, English, German)
  • Ensures consistent hint rendering by using the supported "working" style instead of unsupported "warning" style

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sumn2u sumn2u requested a review from Copilot October 2, 2025 11:20
Copy link
Contributor

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

Copilot reviewed 144 out of 149 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Owner

@sumn2u sumn2u left a comment

Choose a reason for hiding this comment

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

LGTM.

@sumn2u sumn2u merged commit 9336912 into sumn2u:main Oct 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the hint style "warning" to "working"

2 participants