Classwork 2
Markdown Basics
Introduction to Markdown
Markdown is a lightweight markup language with plain-text formatting syntax. Its main goal is to be readable and easy to write, even when viewed as plain text. Markdown is widely used for creating formatted text on the web and in various applications such as Quarto.
Basic Syntax
Headings
Headings are created by adding one or more #
symbols before your heading text. The number of #
symbols indicates the level of the heading.
# Heading 1
## Heading 2
### Heading 3
Emphasis
You can make text bold by wrapping it with two asterisks **
, and italic by using one asterisk *
.
*italic* or _italic_ **bold** or __bold__
Lists
Unordered lists are created using *
, -
, or +
, while ordered lists are numbered.
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
1. First item
2. Second item
Links and Images
Links are created using [Link Text](URL)
[DANL 310](https://bcdanl.github.io/310)
Links and Images
Images are created using 
.

Advanced Syntax
Blockquote
> Be yourself. Everyone else is already taken. - Oscar Wilde.
Emojis
- A ton of markdown emojis are available here 😄 (
:smile:
)
Code Blocks
Code blocks are created by using triple backticks (```). Optionally, you can specify the language for syntax highlighting.
```
"string"
```
```python
# Python code block
import numpy as np
```
Practice Problems
- Do the following tasks on this Classwork 2 Discussion Board:
- Basic Syntax: Write a comment with a heading, an unordered list, an ordered list, a link, and an image.
- Advanced Syntax: Write a comment that includes a Python code block, a blockquote, and an emoji.
References
Discussion
Welcome to our Classwork 2 Discussion Board! 👋
This space is designed for you to engage with your classmates about the material covered in Classwork 2.
Whether you are looking to delve deeper into the content, share insights, or have questions about the content, this is the perfect place for you.
If you have any specific questions for Byeong-Hak (@bcdanl) regarding the Classwork 2 materials or need clarification on any points, don’t hesitate to ask here.
All comments will be stored here.
Let’s collaborate and learn from each other!