feat(codely-languages): 0.1.2

This commit is contained in:
swaits committed 2024-12-10 21:54:25 +00:00
1 parent bae9716298
commit adf2ea5021
8 files changed
+282 -53

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

@@ -0,0 +1,71 @@
#import "/lib.typ": *
#import "@preview/codly:1.0.0": *
#show: codly-init
#codly(languages: codly-languages)
```python
print("Hello, World!")
```
```java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```
```js
console.log("Hello, World!");
```
```cpp
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
```
```rust
fn main() {
println!("Hello, World!");
}
```
```cs
using System;
class Program {
static void Main() {
Console.WriteLine("Hello, World!");
}
}
```
```go
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
```
```swift
print("Hello, World!")
```
```php
<?php
echo "Hello, World!";
?>
```
```kotlin
fun main() {
println("Hello, World!")
}
```