π λΈλ‘κ·Έμ μ½λ λΈλ νμ΄λΌμ΄ν μ΄ μΆκ°λμμ΅λλ€.
2022-10-28
mdsvexλ κΈ°λ³Έμ μΌλ‘ prism.jsλ₯Ό ν΅ν΄ μ½λ λΈλμ νμ΄λΌμ΄ν
μ μ§μν©λλ€.
μλ λ΄μ©μ μ½λ λΈλ νμ΄λΌμ΄ν
μ ν
μ€νΈνκΈ° μν΄ μμ±λμμ΅λλ€.
php
<?php echo "Hello World!"; ?>
html
<h1>Hello World!</h1>
css
h1 { color: red; }
js
console.log('Hello World!');
json
{ "name": "Hello World!" }
bash
echo "Hello World!"
python
print("Hello World!")
java
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } }
c
#include <stdio.h> int main() { printf("Hello World!"); return 0; }
cpp
#include <iostream> int main() { std::cout << "Hello World!"; return 0; }
csharp
using System; namespace HelloWorld { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
go
package main import "fmt" func main() { fmt.Println("Hello World!") }
kotlin
fun main() { println("Hello World!") }
swift
print("Hello World!")
ruby
puts "Hello World!"
rust
fn main() { println!("Hello World!"); }
scala
object HelloWorld { def main(args: Array[String]) { println("Hello World!") } }
sql
SELECT * FROM table;
diff
- This is a red text + This is a green text ! This is an strong text This is normal text