Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www: syntax highlighted code of the document site is broken when the page is moved #2329

Closed
azu opened this issue Feb 22, 2024 · 1 comment

Comments

@azu
Copy link

azu commented Feb 22, 2024

The syntax highlighted code of the document site is broken when the page is moved.

after

; and some spaces are missing

Some tokens are disappearred from the syntax highlighted code.

Reproduce Step

Feb-22-2024.13-46-02_optimized.mp4
  1. visit https://fresh.deno.dev/docs/getting-started/form-submissions
  2. click "Next Page"
  3. click "Previous Page" on https://fresh.deno.dev/docs/getting-started/adding-interactivity
  4. syntax highlighed code is something wrong
Before After
before after
- import { Handlers, PageProps } from "$fresh/server.ts";
+ import { Handlers, PageProps } from "$fresh/server.ts"const

Env

  • OS: macOS 14.3.1
  • Chrome: 123.0.6300.3(Official Build)dev (arm64)
@marvinhagemeister
Copy link
Collaborator

Duplicate of #2322

@marvinhagemeister marvinhagemeister marked this as a duplicate of #2322 Feb 22, 2024
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

No branches or pull requests

2 participants