Highlight code syntax in multiple languages
Preview
| 1 | <span style="color: #ff79c6">function</span> <span style="color: #50fa7b">greet</span>(name) { |
| 2 | <span style="color: #ff79c6">const</span> message = <span style="color: #f1fa8c">`Hello, ${name}!`</span>; |
| 3 | <span style="color: #ff79c6">return</span> message; |
| 4 | } |
| 5 | |
| 6 | console.<span style="color: #50fa7b">log</span>(<span style="color: #50fa7b">greet</span>(<span style="color: #f1fa8c">'World'</span>)); |