openupm icon indicating copy to clipboard operation
openupm copied to clipboard

Code highlighting is lost for the second code block on my package page

Open laicasaane opened this issue 1 year ago • 2 comments

Bug report

Bug category

  • [x] Website: issues related to browse or discover packages.
  • [ ] Pipelines: issues related to publish or manage a package.
  • [ ] Registry: issues related to the registry server.
  • [ ] Unity Editor: issues related to how OpenUPM works with the Unity Editor.
  • [ ] Documentation
  • [ ] Others

Steps to reproduce

The package README contains 3 code blocks. https://github.com/laicasaane/TypeWrap https://openupm.com/packages/com.laicasaane.typewrap/

What is expected?

Code highlighting is applied correctly to every code block on the package page.

What is actually happening?

Code highlighting is lost for the second code block on the package page.

laicasaane avatar Sep 19 '24 07:09 laicasaane

Compare the second with the first code block.

image

laicasaane avatar Sep 19 '24 07:09 laicasaane

Hmm interesting, only the second code block highlighting is missing. The one under the Notes section - the third code block highlighting is working.

favoyang avatar Sep 19 '24 15:09 favoyang