Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asciidoc code blocks not highlighted #556

Open
stauvel opened this issue Aug 28, 2023 · 1 comment
Open

Asciidoc code blocks not highlighted #556

stauvel opened this issue Aug 28, 2023 · 1 comment

Comments

@stauvel
Copy link

stauvel commented Aug 28, 2023

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 ?

@alex-shpak
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants