Skip to content

JCLArriaga5/Markdown-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Markdown 101.

Headers.

To add two first headers are two syntax ways for display:

  • First syntax form.

    First level header
    ==================
    
    Second level header
    ------------------
  • Second syntax form.

    # First level header
    
    ## Second level header

and both showing same output:

First level header

Second level header

To add more header levels its only necessary add # as shown:

### Third level header
#### Fourth level header

output:

Third level header

Fourth level header

Emphasis.

This table is taken from the Markdown guide on Google Colab.

Markdown Preview
**bold text** bold text
*italicized text* or _italicized text_ italicized text
`Monospace` Monospace
~~strikethrough~~ strikethrough

Lists

Enumerated list.

1. Computer
2. Keyboard
3. Mouse

output:

  1. Computer
  2. Keyboard
  3. Mouse

Bullet list.

- Computer
- Keyboard
- Mouse

output:

  • Computer
  • Keyboard
  • Mouse

Links

Link without title.

To go the Github page click [here](https://github.com/)

output:

To go the Github page click here

Link with title.

To go the Github page click [here](https://github.com/ "Github Home")

output:

To go the Github page click here

File in repository.

To see the code file click [here](../master/path/to/file)

Images

Inline image without title.

![Github logo](https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png)

output:

Github logo

Inline image with title.

![Github logo](https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png "Github Logo")

output:

Github logo

Inline image file in repository.

![txt](../master/path/to/img)

Code

To showing a code block use this syntax

```python
  def sum(a, b):
      return a + b
```

```cpp
  void sum(int a, int b) {
      return (a + b)
  }
```

output:

  def sum(a, b):
      return a + b
  void sum(int a, int b) {
      return (a + b);
  }

References

About

Markdown basic syntax

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published