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

how to display source code #585

Open
stevenlee87 opened this issue Mar 22, 2023 · 0 comments
Open

how to display source code #585

stevenlee87 opened this issue Mar 22, 2023 · 0 comments
Labels
bug Something isn't working for triage An issue we've not yet triaged

Comments

@stevenlee87
Copy link

stevenlee87 commented Mar 22, 2023

hugo v0.91.2+extended darwin/amd64 BuildDate=unknown

how to display:

systax

{{< tabbed-codeblock lang >}}

<!-- tab java -->

System.out.println('Hello World!');

<!-- endtab -->
<!-- tab javascript -->

console.log("Hello World!");

<!-- endtab -->

{{< /tabbed-codeblock >}}

In fact, this code is always rendered like this:
image

@kakawait kakawait added bug Something isn't working for triage An issue we've not yet triaged labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working for triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

2 participants