Skip to content

codeadamca/markdown-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Demo

A basic example of most available Markdown syntax.

Headings

Headings are added using a # for heading level one, ## for heading level two, etc...

Heading Level Two

## Heading Level Two

Paragraphs

Paragraphs are added by simply adding text on their own line.

This is a a paragraph.

And this is another paragraph. 

Links

Links are added using square brackets for the clickable part and round brackets for the URL.

[codeadam.ca](https://codeadam.ca)

Images

Images are added imilarly to links. The image description is placed in square brackets, and a URL to the image is placed in the round brackets. The different between an image and a link, is that an image stats with an exclamation mark !.

This image:

codeadam.ca logo

Was added using this code:

![codeadam.ca logo](https://raw.githubusercontent.com/codeadamca/markdown-demo/main/logo.png)

Adding Code to Markdown

You can add inline code using a single backtick. Or a block of code using thee backticks:

# This is a Level One Header
## This is a Level Two Header

You can specify the language in a block of code after the three ticks:

# This is a Level One Header
## This is a Level Two Header

Here is some sample JavaScript:

document.write("Hello World!");

Tables

To add tables to a Markdown documnet you use a series of dashes and bars:

Heading 1 Heading 2 Heading 3
Value 1 Value 2 Value 3

Tables in your Markdown file don't need to line up:

Heading 1 Heading 2 Heading 3
Value 1 Value 2 Value 3

Lists

You can add lists using number <ol> or dashes <ul>:

  1. This is the first list item.

  2. This is the second list item.

    This is the second paragraph in the second list item.

  3. This is the third list item.


Repo References

About

A basic example of most Markdown syntax.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published