Markdown syntax knowledge


Markdown title

Use the number of # to identify the level of the title

/# First level title

/## Second level title

and so on


Markdown paragraph

There is no special format for paragraphs. Generally, just press Enter to create a paragraph. But you can just leave 2 spaces after the end of the sentence Yes

Markdown dividing line

***
* * *
*****
- - - 
--------------------

The above symbols can be used as dividing lines, but there must be no content in the dividing lines.


Markdown strikethrough

Use wavy lines to enclose content to create a strikethrough style.

Format

itiohub.com
GOOGLE.COM
~~BAIDU.COM~~

Effect

ITIOHUB.COM

   GOOGLE.COM   
   ~~BAIDU.COM~~

Markdown underline

Implemented using HTML <u> tag

Format

<u> 看我有下划线般的滑板鞋哦</u>

Effect

Look, I have underlined skate shoes.


Markdown footnotes

Footnotes can be used to supplement the content of the article. They are equivalent to word quotations. If you move the mouse to the word you want to footnote, it will be displayed. Or it can be used when writing reference, the format is as follows

Format

[^我是可爱的脚注~]

Another example of the effect:

究竟什么是真理呢? [^真理]
[^真理]:真理是指与事实相符合的观点、陈述或信念。在哲学和认知科学中,真理通常被定义为与现实相一致的陈述或信念。真理是客观存在的,不受主观看法或情感影响,它是独立于个人观点的普遍准则。人们通过逻辑推理、科学方法和经验观察来寻求真理,以便更好地理解世界和解决问题。然而,有时真理可能是主观的,因为不同的人可能有不同的看法和信念。在哲学上,对真理的探讨是一个复杂而深刻的议题,各种学派和思想家对真理的本质和性质有着不同的见解。

What exactly is truth? 1

./image-20240717153614897 (picture to be completed)


Markdown list

ordered list

It means there is a serial number, for example, 1, 2, 3, 4, like this ~ Remember to add . after the serial number and leave a space after .

Format

1. 我是可爱的第一项
2. 我第二项,但是我也很可爱
3. 呵呵,第三项表示白眼🙄

Effect

  1. I am the first cute item
  2. I am the second item, but I am also very cute
  3. Haha, the third item means rolling eyes🙄

unordered list

Unordered lists have no serial numbers, only symbols. The unordered list uses the asterisk (*)、加号 (+) 或是减号 (-)` as the list mark. Add a space after these marks, and then fill in the content. Just press Enter when jumping to the next list~

Format

* 无序列表一
* 无序列表一
* 无序列表一

+ 无序列表一
+ 无序列表一
+ 无序列表一

- 无序列表一
- 无序列表一
- 无序列表一

I prefer to use - for the above format.

Effect

  • Unordered list type
  • Unordered list type
  • Unordered list type
  • Unordered list type two
  • Unordered list type two
  • Unordered list type two
  • Three types of unordered lists
  • Three types of unordered lists
  • Three types of unordered lists

List nesting

List nesting requires adding 2 or 4 spaces before the options in the sublist.

Format

1. 今天要做的事情:
    - 吃饭
    - 睡觉
    - 打豆豆
 2. 明天要做的事情:
    - Book 《The Diary of a Young Girl》
    - Python coding practice
    - Library

Effect

  1. Things to do today:

    • 吃饭

    • 睡觉

    • 打豆豆

      1. 明天要做的事情:
      2. Book 《The Diary of a Young Girl》
      3. Python coding practice
      4. Library

Markdown block quotes

When we want to quote Brother Lu Xun’s sentences, we have to use blocks (quotation function). It is implemented using >, just to the right of the keyboard M. Remember to leave a space after the > symbol~

Format

> “面具戴太久,就会长到脸上,再想揭下来,除非伤筋动骨扒皮。” - 周树人

Effect

“Wearing a mask for too long will cause it to grow on your face. If you want to take it off again, you will have to break your muscles and bones to peel off the skin.” - Zhou Shuren

multi-level blocks

A multi-level block means that there is another block inside the block, which is implemented using multiple >>. The format is as follows

Format

> “墨写的谎说,决掩不住血写的事实。” - 周树人  (最外层 比如外套 😄)
>> “猛兽总是独行,牛羊才成群结队。”  - 周树人  (第一层嵌套 比如毛衣 🤭)
>>> “人类的悲欢并不相通,我只觉得他们吵闹。” 周树人 (最里层  比如内裤 😄)

Effect

“Lies written in ink can never hide the facts written in blood.” - Zhou Shuren (the outermost layer, such as a coat 😄)

“Beasts always walk alone, but cattle and sheep travel in groups.” - Zhou Shuren (first level of nesting, such as sweaters 🤭)

“The joys and sorrows of human beings are not the same, I just think they are noisy.” Zhou Shuren (the innermost nesting, such as underwear 😄)

Similarly, lists can be inserted into blocks, and blocks can also be inserted into lists.

Give it a try, how do you do it?

Format

1. 周吓唬人说的话   

    > “墨写的谎说,决掩不住血写的事实。” - 周树人 
    > “人类的悲欢并不相通,我只觉得他们吵闹。” - 周树人
    
2. 装逼王最可爱
   > 年轻人仍然所见极有限,又迷失在太多讯息中,讯息不等于眼界。-陈丹青
   > 鲁迅是一个早已被简化的脸谱。鲁迅很早就说过,你要灭一个人,一是骂杀,一是捧杀。大家现在看见了,过去半世纪,胡适被骂杀,鲁迅被捧杀。 -陈丹青

Effect

  1. What Zhou said to scare people

    墨写的谎说,决掩不住血写的事实。 - 周树人
    人类的悲欢并不相通,我只觉得他们吵闹。 - 周树人

  2. The pretentious king is the cutest

    年轻人仍然所见极有限,又迷失在太多讯息中,讯息不等于眼界。-陈丹青
    鲁迅是一个早已被简化的脸谱。鲁迅很早就说过,你要灭一个人,一是骂杀,一是捧杀。大家现在看见了,过去半世纪,胡适被骂杀,鲁迅被捧杀。 -陈丹青

What about an unordered list hidden in the block?

> 老有人来问我,你是怎么成功的?妈的我没想到成功。我画画,因为我喜欢。我不记得小时候有过“成功”的说法。成功观害死人。 - 陈丹青
>> 1. 我他妈没说过这个
>> 2. 还有王法吗?

Effect

People keep asking me, how did you succeed? Damn I didn’t expect success. I draw because I love it. I don’t remember “success” being mentioned as a kid. The concept of success kills people. - Chen Danqing

  1. I never fucking said this
  2. Is there any royal method?

Markdown code blocks

single line code block

It’s great to insert code blocks in Markdown~! 😍 Just enter 2 backticks and include the code block~ For example (``)

Format

`print("i love my life")`

Effect

print("i love my life")

multi-line code block

Multi-line code blocks can be used. Press 3 backticks in succession in the editor, and then press the Enter key to enter the multi-line code block.

Format


效果

import cv2
import numpy as np

Capture live video streams using VideoCapture

cap = cv2.VideoCapture(0) # 0 represents the first camera. If there are multiple cameras, you can try different indexes

while True:

ret, frame = cap.read()  # 读取视频流的帧

# 将帧转换为灰度图像
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)

# 使用Canny边缘检测算法
edges = cv2.Canny(gray, 50, 150)

# 使用霍夫变换检测圆形物体(鸡蛋)
circles = cv2.HoughCircles(edges, cv2.HOUGH_GRADIENT, dp=1, minDist=30, param1=70, param2=30, minRadius=118, maxRadius=196)

# 统计检测到的鸡蛋数量
if circles is not None:
    num_eggs = len(circles[0])
    print("Number of eggs: ", num_eggs)
else:
    print("No eggs detected.")

# 在帧中绘制检测到的鸡蛋
if circles is not None:
    circles = np.uint16(np.around(circles))
    for i in circles[0, :]:
        center = (i[0], i[1])
        radius = i[2]
        cv2.circle(frame, center, radius, (0, 255, 0), 2)

# 显示结果帧
cv2.imshow('Egg Counting', frame)

if cv2.waitKey(1) & 0xFF == ord('q'):  # 按下'q'键退出循环
    break

Release the camera and close all windows

cap.release()
cv2.destroyAllWindows()


---

## Markdown 超链接

超链接就是一个URL ,在这个URL上有设定一些内容。

  1. Truth is an opinion, statement, or belief that is consistent with facts. In philosophy and cognitive science, truth is often defined as a statement or belief that is consistent with reality. Truth exists objectively and is not affected by subjective opinions or emotions. It is a universal principle independent of personal opinions. People seek truth through logical reasoning, scientific methods, and empirical observation in order to better understand the world and solve problems. However, sometimes truth can be subjective as different people may have different opinions and beliefs. In philosophy, the discussion of truth is a complex and profound issue, and various schools and thinkers have different views on the nature and nature of truth.