Skip to content

Highlighting is not really working #840

@muuvmuuv

Description

@muuvmuuv

🐛 Bug Report

Every code block with a language class do not render the language right becuase there is a space between them. Here is a image:

bildschirmfoto 2018-07-08 um 22 43 05

Have you read the Contributing Guidelines on issues?

yes

To Reproduce

  1. clean install
  2. add a builder.code(npm install --save-dev, "bash");

Expected behavior

It should render the class like language-bash not language- bash (note the space).

(Write what you thought would happen.)

Actual Behavior

see screenshot above

(Write what happened. Add screenshots, if applicable.)

Reproducible Demo

https://github.com/unibeautify/unibeautify

(Paste the link to an example repo, including a siteConfig.js, and exact instructions to reproduce the issue.)

Metadata

Metadata

Assignees

Labels

bugAn error in the Docusaurus core causing instability or issues with its executionstatus: claimedIssue has been claimed by a contributor who plans to work on it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions