Syntax highlighting for @xstate/svelte package is broken on docs page

Open
#277 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
40/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
documentation

Research direction

Open the affected @xstate/svelte documentation page and compare its rendering with the linked GitHub source. Trace the documentation site's syntax-highlighting configuration or rendering entry point, then verify that the Svelte example text is no longer uniformly white.

Written by the indexing model from the issue text.

Description

Description
Syntax highlighting is broken Svelte on this docs page.

Expected Result
See syntax highlighting.

Actual Result
Text is white all highlighted the same color.

Reproduction
https://xstate.js.org/docs/packages/xstate-svelte

Additional context
It looks fine on the GitHub page, however.

Dominant language
MDX
Stars
38
Forks
93
Avg merge
19h 31m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from statelyai/docs

All issues in statelyai/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.