YouTip LogoYouTip

Md Lists

Markdown supports **ordered lists** and **unordered lists**. * * * ## Unordered Lists Unordered lists use an asterisk (*), a plus (+), or a minus (-) as list markers. These markers must be followed by a space before the content: * First item* Second item* Third item+ First item+ Second item+ Third item- First item- Second item- Third item The display result is as follows: !(#) **Recommendations:** * It is recommended to use the minus sign - uniformly, as it is visually clearer. * Maintain a consistent marker style within the same document. * There must be a space after the marker symbol. * * * ## Ordered Lists Ordered lists are used to present steps or items that require a specific sequence. Ordered lists use numbers followed by a period (.) to represent items, like: 1. First item2. Second item3. Third item The display result is as follows: !(#) ### Numbers Don't Need to Be Consecutive Markdown will automatically correct the number sequence: 1. First item3. Second item (actually displays as 2)7. Third item (actually displays as 3) !(#) Starting from a specific number: 5. Fifth item6. Sixth item7. Seventh item !(#) * * * ## Nested Lists ### Nested List Techniques Lists can be nested to create multi-level structures: **Unordered List Nesting**: - Fruit - Apple - Red Apple - Green Apple - Banana - Orange- Vegetable - Carrot - Cabbage **Ordered List Nesting**: 1. Preparation Phase 1. Gather Materials 2. Formulate Plan2. Execution Phase 1. Begin Implementation 2. Monitor Progress3. Summary Phase **Mixed Nesting**: 1. Main Task - Subtask A - Subtask B 1. Detailed Step 1 2. Detailed Step 2 - Subtask C 2. Secondary Task Mixed list nesting only requires adding two or four spaces before the options in the sub-list: 1. First item: - First nested element of the first item - Second nested element of the first item2. Second item: - First nested element of the second item - Second nested element of the second item The display result is as follows: !(#) **Nesting Rules**: * Sub-lists need to be indented by 2-4 spaces (2 spaces are recommended). * Maintain a consistent indentation length. * Nesting can be infinite, but in practice, it is recommended not to exceed 3 levels. ### Task Lists (Checkbox Lists) Task lists are an extended feature of GitHub-flavored Markdown and are now widely supported: **Basic Syntax**: - Uncompleted task- Completed task- Another uncompleted task Rendering effect: !(#) **Practical Application Example**: ## Project To-Do List### Design Phase- Requirements Analysis- Prototype Design- UI Design### Development Phase- Frontend Development - Page Layout - Interactive Features - Responsive Adaptation- Backend Development - Database Design - API Development - Performance Optimization### Testing Phase- Unit Testing- Integration Testing- User Acceptance Testing !(#) **Usage Tips**: * The space and 'x' inside the brackets are important: `` and ``. * Can be used in combination with nested lists. * Particularly useful in project management, study plans, and life checklists. * Some editors support clicking the checkbox to toggle its state. **Advanced List Techniques**: _List items containing multiple paragraphs_: 1. First item This is the detailed description of the first item, which needs to be aligned and indented with the list item. It can also contain a second paragraph.2. Second item > You can use blockquotes within list items !(#) _Line breaks within list items_: - This is a very long list item that needs to be broken into multiple lines. Note that the second line needs to be aligned with the first line.- Another list item !(#) By mastering these basic syntaxes, you can already create well-structured and properly formatted Markdown documents. These are the most commonly used syntaxes in daily writing, and proficiency in them will greatly improve your document writing efficiency.
← C Function StrftimeMd Title β†’