Judy's Blog

How to Write a Blog

Play some background music:

We can write our blogs using the Markdown framework. Markdown, similar to HTML, is a markup language.

Using # Makes Headers, Useful to Section Content

More ## Creates Subheadings

We can embed links, or we can also use regular HTML.

Regular <a> tag

Markdown linking

I can also link to another section of the page.

You can write code in code blocks, using ```

// this is a command
function myCommand() {
	let counter = 0;
	counter++;
}

// Test with a line break above this line.
console.log('Test');

Or you can write inline code like this

Running Locally

To run our blog for local testing:

  1. Open terminal in VS Code
  2. Type npm run start
  3. Open the localhost link in your browser. It should look something like http://localhost:8080/
  4. It will live update, so every time you press save on your blog post it will be uploaded!

Publishing to the Web

Now I am at the bottom!