[P1] Solve Xiaobai's [blog pain point] - no longer confused about blog~

Foreword:

  Hello everyone! Here is YY's dry goods series~ 

  A blog is a tool that individuals use to publish personal articles and content through a website. Novices who are planning to get into programming, or quasi-coders who already have some programming experience, who are new to csdn, will inevitably have many doubts, for example: Why do you want to write a blog? How about blogging? How to write a blog with your own style?

  Next, YY will guide you through the process of creating a blog from scratch and the introduction of text editors.

  First of all, update the first chapter P1 for everyone, the outline is as follows; follow-up YY will continue to update [Advanced Operation] and [Practice Demonstration], look forward to it~


Outline:

Table of contents

1. Text editor

1. What is a text editor?

2. Which text editor should I choose?

2. Use of rich text editor

1. Title & Contents

2. Text Font & Text Manipulation

3. Blockquotes & Horizontal Lines

4. Code blocks

3. After writing the article, the settings that should be paid attention to in csdn before publishing


1. Text editor


1. What is a text editor?

A text editor is a computer program used to create, edit, and modify plain text files. They usually provide basic text editing functions such as inserting, deleting, copying, pasting, finding and replacing text.

 Two editors are provided in csdn, one is a rich text editor and the other is a markdown editor.

Graphic: Rich Text Editor

Graphic: markdown editor


2. Which text editor should I choose?

  In the long run, YY recommends that everyone learn to use the markdown editor, because markdown, a lightweight markup language, has the advantages of 1. good readability, 2. easy to learn and understand, 3. supports multiple platforms, 4. supports multiple formats and so on.

  Although the rich text editor is inferior to the markdown editor in many aspects, its concise and easy-to-understand operation method saves the beginners from the process of learning markdown syntax.

  In this article, I will take you to master the rich text editor and get started with blogging quickly. The use of the markdown editor will be placed in this blog http://to be updated . Everyone chooses by themselves~


2. Use of rich text editor


1. Title & Contents

Titles are often used together with the table of contents, such as in the image below,

  1. We click on the title to find that it is divided into: 1~6 level titles

      2. How to use: circle the text to be set as the title, click the title level to be set

      3. The set title will automatically change to the corresponding size according to the title level. When we click [Category], it will automatically generate a list of directories that meet the level. When our blog is generated, you can directly click on the directory to jump.


2. Text Font & Text Manipulation

In the rich text editor, there are mainly several settings for fonts as shown below:

        

  1. bold function
  2. set font color
  3. set font background
  4. tilt
  5. underline
  6. strikethrough

 In the rich text editor, there are several settings for text operations as shown below:

   

1. Ordered list (press Enter to automatically jump to the subpoint) (the same is true for unordered lists)

  1. 1
  2. 2
  3. 3

2. Cancel the ordered/unordered list: When pressing Enter to jump to the next line, click the ordered list again


3. Blockquotes & Horizontal Lines

[Blockquote] and [Horizontal Line] are tools that YY likes to use very much, which can greatly improve the integrity and look and feel of the blog;

  1. Horizontal line use : the cursor arrow stays at the position shown in the figure, click [horizontal line]

    2. Horizontal line effect icon:

    3. Block quote usage 1 [as background] : circle the content part, click [block quote] (YY prefers this usage)

   4. Block quote effect diagram:

   5. Block quote usage 2 [as a reference module] : After the content of the text, give examples or explanations of the knowledge points/content/examples mentioned (commonly used by iron people)


4. Code blocks

Click the code block, select the language, copy and paste the code (do not type the code inside, there is no automatic alignment function)

Effect icon:

#yum install -y cowsay
#cowsay "yy"

3. After writing the article, the settings that should be paid attention to in csdn before publishing

Before publishing, we can see the following interface in csdn

  • PS: Before you finish writing each paragraph, you should also pay attention to saving the draft ~

We will do the following in order:

  1. select article tag
  2. Add your favorite cover (find your own pictures/set your own pictures)
  3. Fill in the article abstract
  4. Classification column (column is your own article module, included under your personal blog)

After setting, as shown in the figure:

Guess you like

Origin blog.csdn.net/YYDsis/article/details/131352315