Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 509 Bytes

File metadata and controls

28 lines (16 loc) · 509 Bytes

Code/Monospace Text ion Markdown

To add code or monospaced text in a markdown file, we need to write it between ` `.

code text

This only works for one line of text.

For multiple lines of text, we need to open and close a "block" using three backticks ( ` ` ` ):


code
also code
more code

For code highlighting, only add the name of the language after the triple backticks ( ` ` ` ):

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