This repository was archived by the owner on Sep 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformatting.txt
More file actions
118 lines (88 loc) · 2.89 KB
/
Copy pathformatting.txt
File metadata and controls
118 lines (88 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
TXT Blog Post Formatting Guide
============================
1. Metadata Format
-----------------
The first few lines of your post must contain metadata in this exact format:
Title: Your Post Title
Author: yourname
Date: YYYY/MM/DD
Tags: tag1, tag2, tag3
Image: /images/posts/post-1.jpg
2. Text Formatting
-----------------
- Use double line breaks (\n\n) to separate paragraphs
- Single line breaks (\n) will be treated as line breaks within a paragraph
- Use *text* for italic text
- Use **text** for bold text
Example:
This is the first paragraph with *italic* and **bold** text.
This is the second paragraph.
This line is part of the second paragraph.
3. Headers
---------
- Use ## followed by a space for section headers
- Headers should be on their own line
Example:
## Section Title
4. Lists
--------
- Use - followed by a space for bullet points
- Each list item should be on its own line
- Lists should be separated from other content by double line breaks
- List items can contain *italic*, **bold**, [links](url), and 
Example:
Here's a list of items:
- First *item* with **emphasis**
- Second item with a [link](https://example.com)
- Third item with an 
5. Code Blocks
-------------
- Use triple backticks (```) to start and end code blocks
- Code blocks should be on their own lines
- Separate code blocks from other content with double line breaks
Example:
Here's some code:
```
function hello() {
console.log('Hello World');
}
```
6. Links and Images
------------------
- Use [text](url) for links
- Use  for inline images
- URLs can be relative (starting with /) or absolute (starting with http:// or https://)
Example:
Check out this [link to Google](https://google.com) and this .
7. Special Notes
---------------
- Always use double line breaks to separate different types of content
- Keep your formatting consistent throughout the post
- Make sure there are no extra spaces at the end of lines
- Use proper indentation for code blocks and lists
- Inline formatting (*, **, [], ![]) can be used within paragraphs, lists, and headers
Example of a complete post:
--------------------------
Title: My First Post
Author: yourname
Date: 2025/01/01
Tags: programming, tutorial
Image: /images/posts/post-1.jpg
Welcome to my first blog post!
## Introduction
This is the introduction paragraph with *italic* and **bold** text.
## Main Content
Here's a list of important points:
- First *point* with emphasis
- Second point with a [link](https://example.com)
- Third point with an 
## Code Example
Here's how to write a simple function:
```
function greet(name) {
return `Hello, ${name}!`;
}
```
Check out this [GitHub repository](https://github.com/example) for more examples.
## Conclusion
That's all for now! You can find more information in the [documentation](https://docs.example.com).