mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 19:09:02 +00:00
feat(posts): add sample markdown content for testing rendering
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
---
|
||||
title: "Markdown Lists"
|
||||
date: 2024-06-01T12:00:00Z
|
||||
draft: false
|
||||
---
|
||||
|
||||
## Markdown Lists
|
||||
|
||||
Markdown supports both ordered and unordered lists, as well as nested lists. Here's how you can create them:
|
||||
|
||||
### Ordered List
|
||||
|
||||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
|
||||
### Unordered List
|
||||
|
||||
- List item
|
||||
- Another item
|
||||
- And another item
|
||||
|
||||
### Nested Unordered list
|
||||
|
||||
- Fruit
|
||||
- Apple
|
||||
- Orange
|
||||
- Dairy
|
||||
- Milk
|
||||
- Cheese
|
||||
|
||||
### Nested Ordered list
|
||||
|
||||
1. Fruit
|
||||
- Apple
|
||||
- Orange
|
||||
2. Dairy
|
||||
1. Milk
|
||||
2. Cheese
|
||||
|
||||
### Mixed Nested Lists
|
||||
|
||||
1. First item
|
||||
- Sub item 1
|
||||
2. Second item
|
||||
1. Sub item 1
|
||||
- Sub sub item 1
|
||||
2. Sub item 2
|
||||
3. Third item
|
||||
- Sub item 1
|
||||
1. Sub sub item 1
|
||||
|
||||
### List with paragraphs, code blocks, and blockquotes
|
||||
|
||||
- Item 1
|
||||
|
||||
This is a paragraph within the first item.
|
||||
|
||||
- Item 2
|
||||
|
||||
```javascript
|
||||
function helloWorld() {
|
||||
console.log("Hello, World!");
|
||||
}
|
||||
```
|
||||
|
||||
- Item 3
|
||||
> This is a blockquote within the third item.
|
||||
|
||||
### Lists with links, images, and other markdown content
|
||||
|
||||
- Item 1
|
||||
- Sub item with a [link](https://example.com)
|
||||
- Sub item with an image 
|
||||
- Item 2
|
||||
- Sub item with **bold text**
|
||||
- Sub item with _italic text_
|
||||
- Item 3
|
||||
- Sub item with `inline code`
|
||||
- Sub item with a blockquote > This is a blockquote within a sub item.
|
||||
This flexibility allows you to create rich and organized content using Markdown lists.
|
||||
Reference in New Issue
Block a user