Code Sections

Code Sections

2021, Oct 03

This page has examples of syntax highlighting in different languages, as well as the code copy header that can be applied to code sections that allows readers to quickly copy the code snippet to the clipboard (come on everyone has copy and pasted code from the internet every once in awhile)


function sayHello(name) {
  if (!name) {
    console.log('Hello World');
  } else {
    console.log(`Hello ${name}`);
  }
}
class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}
<p>Here's some HTML for you.</p>

Author

Lumunix
Lumunix

Hello I'm Lumunix. I'm a software engineer that specializes in automation. I love to learn about new and creative ways to get computers to do my bidding, the world is filled with problems waiting to be solved!