Skip to content

Code Highlighting does not work #5306

@CrazyWolf13

Description

@CrazyWolf13

Pre-submission Checklist

  • I have searched the existing issues and this bug has not been reported yet
  • I have tested this issue on the demo site or the latest version

Where did you encounter this bug?

Latest stable version (self-hosted)

Memos Version

v0.25.3

Bug Description

Code highlighting does not seem to work correctly:

Image

Steps to Reproduce

  1. Add a codeblock
  2. insert code
  3. save note
  4. see no code highlighting

Expected Behavior

On the demo site which is on the same version it weirdly works without issues.

Any idea where the error could be in this case?

Screenshots & Additional Context

  • Browser: Firefox
  • OS: Win11
  • Deployment: Bare Metal
  • DB: SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions