zoukankan      html  css  js  c++  java
  • Typora 使用说明

    Typora是一款超简洁的markdown编辑器,具有如下特点:

    1. 完全免费,目前已支持中文
    2. 跨平台,支持windows,mac,linux
    3. 支持数学公式输入,图片插入
    4. 极其简洁,无多余功能
    5. 界面所见即所得


    区域元素

    YAML FONT Matters

    在文章最上方输入---,按换行键产生,输入内容即可

    菜单

    输入[toc]+换行键,产生标题,自动更新

    [toc]
    

    [TOC]

    段落

    按换行键建立新的一行
    可在行尾插入打断线,禁止向后插入

    按换行键建立新的一行<br/>

    标题

    开头#的个数表示,空格+文字。标题有1~6个级别,#表示开始,按换行键结束

    1. # H1
    2. ## H2
    3. ###### H6

    引注

    开头>表示,空格+文字,按换行键换行,双按换行跳出

    1. > ni
    2. >
    3. > ni hao

    ni

    nini

    序列

    开头*/+/-,空格+文字,可以创建无序序列,换行键换行,删除键+shift+tab跳出

    开头1.,空格+后接文字,可以创建有序序列

    1. * Red
    2. + Green
    3. - Blue
    4. 1. Red
    5. 2. Green
    6. 3. Blue
    • 无序序列

    可选序列

    开头序列+空格+[ ]+空格+文字,换行键换行,删除键+shift+tab跳出

    1. - [ ] a
    2. + [ ] b
    3. * [ ] c
    4. - [x] completed
    • [ ] a

    • [ ] b

    • [ ] c

    • [x] d

    代码块

    开头```+语言名,开启代码块,换行键换行,光标下移键跳出

    1. ```python
    2. ​```

    数学块

    使用MtathJax建立数学公式

    开头$$+换行键,产生输入区域,输入Tex/LaTex格式的数学公式

    1. $$
    2. $$

    V1×V2=|ijk XuYu0 XvYv0 |

    表格

    开头|+列名+|+列名+|+换行键,创建一个2*2表格

    将鼠标放置其上,弹出编辑尺寸,个数,文字等

    |first|second|
    
    firstsecond
      

    脚注

    在需要添加脚注的文字后面+[+^+序列+],注释的产生可以鼠标放置其上单击自动产生,添加信息

    或人工添加+[+^+序列+]+:

    1. 脚注产生的方法[^footnote].
    2. [^footnote]:这个就是*脚注*

    脚注产生的方法1.

    水平线

    输入***/---,换行键换行

    1. ***
    2. ---


    特征元素

    链接

    单击链接,展开后可编辑

    ctr+单击,打开链接

    超链接

    用[]括住要超链接的内容,紧接着用()括住超链接源+名字,超链接源后面+超链接命名

    1. This is [an example](http://example.com/ "Title") inline link.
    2. [This link](http://example.net/) has no title attribute.

    This is an example inline link.

    This link has no title attribute.

    内链接

    相关链

    使用[+超链接文字+]+[+标签+],创建可定义链接

    1. This is [an example][id] reference-style link.
    2. Then, anywhere in the document, you define your link label like this, on a line by itself:
    3. [id]: http://example.com/ "Optional Title Here"

    Baidu
    And then define the link:

    Google
    And then define the link:

    URLs

    用<>括住url,可手动设置url

    对于标准URLs,可自动识别

    1. <i@163.com>
    2. www.baidu.com

    i@163.com

    www.baidu.com

    图片

    1. 手动添加:类似链接,前面需加!
    2. 用鼠标拖图片进入,然后鼠标放置其上修改
    1. ![Alt text](/path/to/img.jpg)
    2. ![Alt text](/path/to/img.jpg "Optional title")

    Alt text

    Alt text

    斜体

    以**或__括住,建议双*

    1. *single asterisks*
    2. _single underscores_

    single asterisks

    single underscores

    加粗

    开头双*或双_,结尾双*或双_,建议双*

    1. **double asterisks**
    2. __double underscores__

    double asterisks

    double underscores

    删除线

    用两个~开头,两个~结尾

    ~~Mistaken text.~~

    错误文字.

    下划线

    使用HTML标签

    <u>Underline</u>

    Underline

    代码

    用两个`在正常段落总表示代码

    Use the `printf()` function.

    Use the printf() function.

    数学式

    需 Preference Panel -> Markdown Tab启动,

    输入$,然后按ESC键,之后输入Tex命令,可预览

    $lim_{x	oinfty}exp(-x)=0$

    $lim_{x oinfty}exp(-x)=0$

    下标

    需 Preference Panel -> Markdown Tab启动,

    使用双~括住内容

    H~2~O, X~long text~/

    H~2~O,X~long text~

    上标

    需 Preference Panel -> Markdown Tab启动,

    使用双^括住内容

    X^2^

    X^2^

    高亮

    需 Preference Panel -> Markdown Tab启动,

    使用双==括住内容

    ==highlight==

    ==highlight==


    转自:https://www.cnblogs.com/fhkankan/p/8082351.html

  • 相关阅读:
    ZOJ 1002 Fire Net (火力网)
    UVa OJ 117 The Postal Worker Rings Once (让邮差只走一圈)
    UVa OJ 118 Mutant Flatworld Explorers (变体扁平世界探索器)
    UVa OJ 103 Stacking Boxes (嵌套盒子)
    UVa OJ 110 MetaLoopless Sorts (无循环元排序)
    第一次遇到使用NSNull的场景
    NSURL使用浅析
    从CNTV下载《小小智慧树》
    NSDictionary and NSMutableDictionary
    Category in static library
  • 原文地址:https://www.cnblogs.com/jpfss/p/10789335.html
Copyright © 2011-2022 走看看