Skip to content

Code snippet render result does not look like Scala #2797

@KisaragiEffective

Description

@KisaragiEffective

In https://docs.scala-lang.org/scala3/guides/macros/quotes.html, the most bottom code block which is in following screen capture was rendered in broken way (seems highlight.js recognized it as Bash script):

image

Permalink of source code is here:

Another common case where we need type annotations is for infix operations:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions