Skip to content

Commit

Permalink
Update defaultCode.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JSerZANP committed Jul 5, 2024
1 parent 7e67159 commit 3647ad2
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions packages/shaku-code-annotate-shiki-transformer/src/defaultCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,14 +658,14 @@ variable = 10;
}
}
`,
liquid: `
This is a multi-line comment
{% comment %}
----------
^
[Hello World!]
{% endcomment %}
`,
// liquid: `
// This is a multi-line comment
// {% comment %}
// ----------
// ^
// [Hello World!]
// {% endcomment %}
// `,
php: `
// @highlight
<?php
Expand Down Expand Up @@ -1053,29 +1053,29 @@ name="John"
# ^
# [Hello Shaku!]
`,
smalltalk: `
Object subclass: MyClass [
"This is a simple class named MyClass."
// smalltalk: `
// Object subclass: MyClass [
// "This is a simple class named MyClass."

| instanceVariable |
// | instanceVariable |

"@highlight"
MyClass class >> classMethod [
"This is a class method of MyClass."
// "@highlight"
// MyClass class >> classMethod [
// "This is a class method of MyClass."

^ 'Hello from class method!'
" -----"
" ^ "
" [Hello Shaku!]"
]
// ^ 'Hello from class method!'
// " -----"
// " ^ "
// " [Hello Shaku!]"
// ]

MyClass >> instanceMethod [
"This is an instance method of MyClass."
// MyClass >> instanceMethod [
// "This is an instance method of MyClass."

^ 'Hello from instance method!'
]
]
`,
// ^ 'Hello from instance method!'
// ]
// ]
// `,
solidity: `
// Function to add two numbers
// @highlight
Expand Down

0 comments on commit 3647ad2

Please sign in to comment.