mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
fix(code): code highlighting not styled for typeit shortcode (#681)
This commit is contained in:
@@ -150,7 +150,7 @@ function add(a, b) {
|
||||
|
||||
## Code block inside other blocks
|
||||
|
||||
> [!NOTE]-
|
||||
> [!NOTE]+
|
||||
>
|
||||
> ```js {mode="classic"}
|
||||
> function add(a, b) {
|
||||
@@ -158,6 +158,14 @@ function add(a, b) {
|
||||
> }
|
||||
> ```
|
||||
|
||||
{{< typeit code=java >}}
|
||||
public class HelloWorld {
|
||||
public static void main(String []args) {
|
||||
System.out.println("Hello World");
|
||||
}
|
||||
}
|
||||
{{< /typeit >}}
|
||||
|
||||
{{< details "Code Block inside Details" >}}
|
||||
|
||||
```js {mode="classic"}
|
||||
|
||||
Reference in New Issue
Block a user