πŸ“ λΈ”λ‘œκ·Έμ— μ½”λ“œ λΈ”λŸ­ ν•˜μ΄λΌμ΄νŒ…μ΄ μΆ”κ°€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

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