Skip to content

Conversation

@d2kole
Copy link
Owner

@d2kole d2kole commented Dec 26, 2025

Added JSON and Bash language support to code blocks throughout the course:

  • Day 1: Added JSON example showing API response format
  • Day 3: Added JSON examples for error responses
  • Day 5: Extracted curl commands into separate Bash code blocks

Changes:

  • 2 new Bash code blocks (curl testing commands)
  • 2 new JSON code blocks (API and error responses)
  • Improved pedagogical value by showing actual JSON responses
  • Better separation of concerns (testing commands in Bash, not JS comments)

Technical notes:

  • JSON and Bash grammars already existed in prism-core.js
  • Code blocks use language-json and language-bash classes
  • Prism.highlightAll() automatically highlights all languages

Added JSON and Bash language support to code blocks throughout the course:

- Day 1: Added JSON example showing API response format
- Day 3: Added JSON examples for error responses
- Day 5: Extracted curl commands into separate Bash code blocks

Changes:
- 2 new Bash code blocks (curl testing commands)
- 2 new JSON code blocks (API and error responses)
- Improved pedagogical value by showing actual JSON responses
- Better separation of concerns (testing commands in Bash, not JS comments)

Technical notes:
- JSON and Bash grammars already existed in prism-core.js
- Code blocks use language-json and language-bash classes
- Prism.highlightAll() automatically highlights all languages
@d2kole d2kole merged commit 44f0992 into main Dec 26, 2025
1 check 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.

2 participants