lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
651 stars 363 forks source link

Weird output for code blocks with backticks on mobile #346

Closed yujinyuz closed 1 year ago

yujinyuz commented 2 years ago

Describe the bug

The code format for codeblocks looks weird when viewing on mobile. This can be found on the demo site as well

image

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

lxndrblz commented 2 years ago

@yujinyuz Thanks for raising this error. I was able to reproduce it and I am currently trying to resolve it.

joefutrelle commented 1 year ago

I'm seeing this in non-mobile browsers as well. Here's a screenshot from the demo site showing that most of the syntax-colored code is not rendered in a fixed-width font.

image

(browser used is Firefox, theme version v1.11.0)