hugo-book icon indicating copy to clipboard operation
hugo-book copied to clipboard

Asciidoc code blocks not highlighted

Open stauvel opened this issue 1 year ago • 1 comments

The following Asciidoc block is not highlighted while it's ok with "learn" theme.

[source, java]
.MyClass.java
----
import java.util.List;

public class MyClass implements MyInterface {
    @Override
    public List<Hello> getHelloes() {
        return List.of("hello");
    }
}
----

Did I missed something ?

stauvel avatar Aug 28 '23 14:08 stauvel

Hi! Never tried it in hugo. What result do you expect? do you try to embed ascii block into markdown file?

alex-shpak avatar Dec 05 '23 00:12 alex-shpak