classes icon indicating copy to clipboard operation
classes copied to clipboard

Syntax error in mermaid scheme on concept page

Open ivanovmg opened this issue 1 year ago • 1 comments

Bug report

What's wrong

When I go to https://classes.readthedocs.io/en/latest/pages/concept.html I can see that the scheme, which follows the sentence "To use typeclasses you should understand these steps:" is not shown properly.

image

How is that should be

It should show the scheme without "Syntax error" highlight.

Syntax error in https://github.com/dry-python/classes/blob/master/docs/pages/concept.rst#steps should probably be fixed.

ivanovmg avatar Sep 06 '24 04:09 ivanovmg

PR is welcome!

sobolevn avatar Sep 06 '24 06:09 sobolevn

I revisited the issue once again. Now I can see that the syntax error is not visible anymore. Checked in Microsoft Edge and Firefox.

It is likely that the issue was related to the particular version of mermaid.js script. As of now, the script has version 11.4.1 and it works fine.

Thus, I am closing the issue.

ivanovmg avatar Dec 10 '24 08:12 ivanovmg