• markdown学习笔记


    markdown学习笔记

    1.文字(依靠HTML)

    1.1文字缩进-空格转义符
    单字符空:  半字符空:
    
    • 1
    1.2文字对齐
    「居中:」<center> 居中 center> or <p align="center"> 居中 p>
    「左对齐:」<p align="left">左对齐p>
    「右对齐:」<p align="right">右对齐p>
    
    • 1
    • 2
    • 3

    「居中:」

    居中
    or

    居中


    「左对齐:」

    左对齐


    「右对齐:」

    右对齐

    1.3 字体与颜色(font=字体)
    1.3.1 字体-face
    <font face="宋体">字体font>,
    <font face="黑体">字体font>,
    <font face="微软雅黑">字体font>,
    <font face="微软正黑体">字体font>,
    <font face="仿宋">字体font>,
    <font face="楷体">字体font>,
    <font face="仿宋">字体font>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7

    字体,字体,字体,字体,字体,字体,字体

    1.3.2 大小更换-size

    Size规定文本的尺寸大小,取值从 1 到 7,浏览器默认值是 3。

    <font face="黑体" size=5>我是黑体5号字font>
    
    • 1

    我是黑体2号字

    1.3.3 颜色-color
    <font color=red size=3>红色font>
    
    • 1

    红色

    1.3.4下划线-u
    <u>是非真假无法判断,不如坚强。u>
    
    • 1

    是非真假无法判断,不如坚强。

    2.表格

    2.1 语法格式
    |  表头  | 表头  |
    |  ---- | ---- |
    | 单元格 | 单元格 |
    | 单元格 | 单元格 |
    
    • 1
    • 2
    • 3
    • 4
    表头表头
    单元格单元格
    单元格单元格
    2.2 表格对齐
    -: 设置内容和标题栏居右对齐。
    :- 设置内容和标题栏居左对齐。
    :-: 设置内容和标题栏居中对齐。
    实例如下:
    | 左对齐 | 右对齐 | 居中对齐 |
    | :-----| ----: | :----: |
    | 单元格 | 单元格 | 单元格 |
    | 单元格 | 单元格 | 单元格 |
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8

    实例如下:

    左对齐右对齐居中对齐
    傲来雾花果香定海一棒万妖朝东海外水帘中,齐天比高仙折腰
    素衣着泪情诗待你未归人潮逝初相识唇上血,千古第一为红颜

    3.背景色-如表

    <table>
      <tbody>
      <tr>
        <th>颜色名th>
        <th>十六进制颜色值th>
        <th>颜色th>
      tr>
      <tr>
        <td><font color="AliceBlue">AliceBluefont>td>
        <td><font color="AliceBlue">F0F8FFfont>td>
        <td bgcolor="AliceBlue">rgb(240, 248, 255)td>
      tr>
      <tr>
        <td><font color="AntiqueWhite">AntiqueWhitefont>td>
        <td><font color="AntiqueWhite">#FAEBD7font>td>
        <td bgcolor="AntiqueWhite">rgb(250, 235, 215)td>
      tr>
      <tr>
        <td><font color="Lavender">Lavenderfont>td>
        <td><font color="Lavender">#E6E6FAfont>td>
        <td bgcolor="Lavender">rgb(230, 230, 250)td>
      tr>
      <tr>
        <td><font color="LavenderBlush">LavenderBlushfont>td>
        <td><font color="LavenderBlush">#FFF0F5font>td>
        <td bgcolor="LavenderBlush">rgb(255, 240, 245)td>
      tr>
      <tr>
        <td><font color=" LightPink"> LightPinkfont>td>
        <td><font color=" LightPink">#FFB6C1font>td>
        <td bgcolor=" LightPink">rgb(255, 182, 193)td>
      tr>
      <tr>
        <td><font color="LightSalmon">LightSalmonfont>td>
        <td><font color="LightSalmon">#FFA07Afont>td>
        <td bgcolor="LightSalmon">rgb(255, 160, 122)td>
      tr>
      <tr>
        <td><font color="MintCream">MintCreamfont>td>
        <td><font color="MintCream">#F5FFFAfont>td>
        <td bgcolor="MintCream">rgb(245, 255, 250)td>
      tr>
      <tr>
        <td><font color="MistyRose">MistyRosefont>td>
        <td><font color="MistyRose">#FFE4E1font>td>
        <td bgcolor="MistyRose">rgb(255, 228, 225)td>
      tr>
      <tr>
        <td><font color="Moccasin">Moccasinfont>td>
        <td><font color="Moccasin">#FFE4B5font>td>
        <td bgcolor="Moccasin">rgb(255, 228, 181)td>
      tr>
      <tr>
        <td><font color="MintCream">MintCreamfont>td>
        <td><font color="MintCream">#F5FFFAfont>td>
        <td bgcolor="MintCream">rgb(245, 255, 250)td>
      tr>
      <tr>
        <td><font color="PaleVioletRed">PaleVioletRedfont>td>
        <td><font color="PaleVioletRed">#D87093font>td>
        <td bgcolor="PaleVioletRed">rgb(216, 112, 147)td>
      tr>
    table>
    
    • 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
    颜色名十六进制颜色值颜色
    AliceBlueF0F8FFrgb(240, 248, 255)
    AntiqueWhite#FAEBD7rgb(250, 235, 215)
    Lavender#E6E6FArgb(230, 230, 250)
    LavenderBlush#FFF0F5rgb(255, 240, 245)
    LightPink#FFB6C1rgb(255, 182, 193)
    LightSalmon#FFA07Argb(255, 160, 122)
    MintCream#F5FFFArgb(245, 255, 250)
    MistyRose#FFE4E1rgb(255, 228, 225)
    Moccasin#FFE4B5rgb(255, 228, 181)
    MintCream#F5FFFArgb(245, 255, 250)
    PaleVioletRed#D87093rgb(216, 112, 147)

    4.图片

    4.1图片大小(依靠HTML)

    1.使用zoom

    <img src="https://img-blog.csdnimg.cn/img_convert/ef9b0688c1fed69d94b2fd719f1693d3.png" alt="13221564654"  style="zoom: 33%;" />
    <img src="https://img-blog.csdnimg.cn/img_convert/ef9b0688c1fed69d94b2fd719f1693d3.png"  style="zoom: 25%;" />
    
    • 1
    • 2
    13221564654

    2.设置style中的width

    4.2多张图片并排显示

    1.图片连接连着,不空格,不换行

    2.居中图片

    <center><img src="https://img-blog.csdnimg.cn/img_convert/ef9b0688c1fed69d94b2fd719f1693d3.png"  width="100px" /></center>
    
    • 1

    5.图表

    1.顺序图

    Alice Bob Hello Bob, how are you? Bob thinks I am good thanks! Alice Bob

    2.流程图

    Created with Raphaël 2.3.0 Start Your Operation Yes or No? End yes no

    流程图2

    One
    Two
    Hard edge
    Round edge
    Decision
    Result one
    Result two

    3.饼图

    62% 14% 24% Pie Chart Dogs Cats Rats

    6.数学

    1.数学公式

    ​单边大括号:
    { 3 x + y = 9 x + 2 y = 8 \left\{

    3x+y=9x+2y=8" role="presentation" style="position: relative;">3x+y=9x+2y=8
    \right. {3x+y=9x+2y=8

    \left\{ \begin{matrix} 
    3x+y=9
     \\x+2y=8
     \end{matrix} \right. 
    
    • 1
    • 2
    • 3
    • 4

    分号:\frac {分子} {分母}

    求和符号 y = β 0 + β 1 x + ∑ i = 1 k w i ( x − a i ) + y=\beta_0 +\beta_1 x+\sum_{i=1}^{k}{w_i(x-a_i)_+} y=β0+β1x+i=1kwi(xai)+

    矩阵使用Markdown写矩阵_韩湘的博客-CSDN博客_markdown写矩阵
    [ 1 2 ⋯ 4 7 6 ⋯ 5 ⋮ ⋮ ⋱ ⋮ 8 9 ⋯ 0 ] \left[

    124765890" role="presentation" style="position: relative;">124765890
    \right] 178269450

    $$
    \left[
    \begin{matrix}
     1      & 2      & \cdots & 4      \\
     7      & 6      & \cdots & 5      \\
     \vdots & \vdots & \ddots & \vdots \\
     8      & 9      & \cdots & 0      \\
    \end{matrix}
    \right]
    $$
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10

    累乘: ∏ \prod

  • 相关阅读:
    查看文件的二进制数据
    计算机毕设(附源码)JAVA-SSM基于云服务器网上论坛设计
    LinkedIn DataHub --- 经验分享
    学算法常用刷题网站
    Nginx网站服务
    一些 typescript 问答
    深度学习之人脸检测算法
    大一作业HTML个人网页作业(宠物狗)
    编译和链接
    pytorch 如何训练一个模型
  • 原文地址:https://blog.csdn.net/m0_67173953/article/details/132867008