BLOG

Code Example Blog Post

#example #javascript

THIS IS JUST A DEMO POST

This example is to try out how code is displayed. How to get syntax highlighting working. Example of a link links to header below. And an external NextJS link.

This is an inline code example: let word = "hello";. It uses html code tags with the class inline-code.

Link to previous post ssg-ssr

This is a block quote

This example is to try out how code is displayed. How to get syntax highlighting working.

H2 Header

Another inline code $ yarn dev example. This one uses single backticks, markdown style.

// hello.js
let word = "hello";

const hello = () => {
  console.log(word);
  return;
};
hello();
// https://prismjs.com/plugins/
h1 {
  color: red;
}
# hello.py
def say_hello():
  print("hello")

say_hello()
public class Main {
  public static void main(String[] args) {
    System.out.println("Hello World");
  }
}

Embedded html in markdown test

The heading and this paragraph are written using html inside the markdown file.

Copyright © myCodeJourney