Typera购买安装 官网购买Typera 按照常理来说,我十分推荐在官网Typora官网 上直接去购买license code。当然如果你不想看全是英文的界面,我推荐在淘宝上通过第三方官方独家代理数码荔枝进行购买。购买后将邮箱与序列号输入进Typera软件即可。
意料之外的错误 因为我自己犯迷糊,将我的e-mail address 输少了一位。很自然的,我的邮箱收不到邮件。起初我以为是因为我在国内,邮件被某些原因阻挡在了外部,于是我询问数码荔枝的客服寻求解决方法。我通过官方人工客服 以及与hi@typora.io 联系。在一天后找回了自己的序列号。成功激活Typera。此外我推荐使用国外邮箱接受相关邮件,如果发现问题立刻与人工客服进行联系。
Markdown 基本语法练习
Element
Markdown Syntax
Effect
Heading
# Heading
Bold
**abc**
abc
Italic
*abc*
abc
Blockquote
>abc abc abc
Ordered List
1.abc \\ 2.cde 3.fhg
Unordered List
-WANG \\ -LI \\ -ZHANG
Code
``
Horizontal Rule
---
Link
[title](url)
Image

拓展语法练习
Element
Markdown Syntax
effect
Table
/heading/heading/ \\ /--:/:--:/ \\ /text/text/
Fenced Code Block
```a\\ b\\ c```
Footnote
[^1] [^1]:
Definition List
& Definition \\ & : discription
Strikethrough
~~ abcdefg ~~
abcdefg
Task list
- [] task_one \\ - [x] task_two
note 表格 1.当使用表格的时候,第一行会默认加粗,用来填写表头
2.在输入表格时,只有第二行需需要输入 ------
3.在表格中插入代码块,尤其是代码块中也有表格的情况,在某些网页的编译是失效的
定义列表 在进行尝试的时候,定义列表似乎不起作用,故采用HTML标签的形式
1 2 3 4 5 6 7 <dl > <dt > First Term</dt > <dd > This is the definition of the first term.</dd > <dt > Second Term</dt > <dd > This is one definition of the second term. </dd > <dd > This is another definition of the second term.</dd > </dl >
Markdown文本自动编号功能实现
Markdown文件的标题分级自动编号——Typora_yy_2021的博客-CSDN博客_markdown自动编号
打开Typera主题文件夹 1 2 3 Ctrl+',' 打开偏好设置 点击左侧外观栏,然后打开主题文件夹 在文件夹中新建文件名为base.user.css的文件
将以下内容置入base.user.css文件中 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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 #write { counter-reset : h1 } h1 { counter-reset : h2 } h2 { counter-reset : h3 } h3 { counter-reset : h4 } h4 { counter-reset : h5 } h5 { counter-reset : h6 } #write h1 :before { counter-increment: h1; content : counter (h1) ". " } #write h2 :before { counter-increment: h2; content : counter (h1) "." counter (h2) ". " } #write h3 :before,h3.md-focus.md-heading:before /** override the default style for focused headings */ { counter-increment: h3; content : counter (h1) "." counter (h2) "." counter (h3) ". " } #write h4 :before,h4.md-focus.md-heading:before { counter-increment: h4; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) ". " } #write h5 :before,h5.md-focus.md-heading:before { counter-increment: h5; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) "." counter (h5) ". " } #write h6 :before,h6.md-focus.md-heading:before { counter-increment: h6; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) "." counter (h5) "." counter (h6) ". " } #write >h3 .md-focus :before,#write>h4.md-focus:before, #write>h5.md-focus:before, #write>h6.md-focus:before, h3.md-focus:before, h4.md-focus:before, h5.md-focus:before, h6.md-focus:before { color: inherit; border : inherit; border-radius : inherit; position : inherit; left :initial; float : none; top :initial; font-size : inherit; padding-left : inherit; padding-right : inherit; vertical-align : inherit; font-weight : inherit; line-height : inherit; } .md-toc-inner { text-decoration : none; } .md-toc-content { counter-reset : h1toc } .md-toc-h1 { margin-left : 0 ; font-size : 1.5rem ; counter-reset : h2toc } .md-toc-h2 { font-size : 1.1rem ; margin-left : 2rem ; counter-reset : h3toc } .md-toc-h3 { margin-left : 3rem ; font-size : .9rem ; counter-reset : h4toc } .md-toc-h4 { margin-left : 4rem ; font-size : .85rem ; counter-reset : h5toc } .md-toc-h5 { margin-left : 5rem ; font-size : .8rem ; counter-reset : h6toc } .md-toc-h6 { margin-left : 6rem ; font-size : .75rem ; } .md-toc-h1 :before { color: black; counter-increment : h1toc; content : counter (h1toc) ". " } .md-toc-h1 .md-toc-inner { margin-left : 0 ; } .md-toc-h2 :before { color: black; counter-increment : h2toc; content : counter (h1toc) ". " counter (h2toc) ". " } .md-toc-h2 .md-toc-inner { margin-left : 0 ; } .md-toc-h3 :before { color: black; counter-increment : h3toc; content : counter (h1toc) ". " counter (h2toc) ". " counter (h3toc) ". " } .md-toc-h3 .md-toc-inner { margin-left : 0 ; } .md-toc-h4 :before { color: black; counter-increment : h4toc; content : counter (h1toc) ". " counter (h2toc) ". " counter (h3toc) ". " counter (h4toc) ". " } .md-toc-h4 .md-toc-inner { margin-left : 0 ; } .md-toc-h5 :before { color: black; counter-increment : h5toc; content : counter (h1toc) ". " counter (h2toc) ". " counter (h3toc) ". " counter (h4toc) ". " counter (h5toc) ". " } .md-toc-h5 .md-toc-inner { margin-left : 0 ; } .md-toc-h6 :before { color: black; counter-increment : h6toc; content : counter (h1toc) ". " counter (h2toc) ". " counter (h3toc) ". " counter (h4toc) ". " counter (h5toc) ". " counter (h6toc) ". " } .md-toc-h6 .md-toc-inner { margin-left : 0 ; } #write { counter-reset : h1 } h1 { counter-reset : h2 } h2 { counter-reset : h3 } h3 { counter-reset : h4 } h4 { counter-reset : h5 } h5 { counter-reset : h6 } #write h1 :before { counter-increment: h1; content : counter (h1) ". " } #write h2 :before { counter-increment: h2; content : counter (h1) "." counter (h2) ". " } #write h3 :before, h3.md-focus.md-heading:before { /*override the default style for focused headings */ counter-increment: h3; content : counter (h1) "." counter (h2) "." counter (h3) ". " } #write h4 :before, h4.md-focus.md-heading:before { counter-increment: h4; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) ". " } #write h5 :before, h5.md-focus.md-heading:before { counter-increment: h5; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) "." counter (h5) ". " } #write h6 :before, h6.md-focus.md-heading:before { counter-increment: h6; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) "." counter (h5) "." counter (h6) ". " } #write >h3 .md-focus :before, #write>h4.md-focus:before, #write>h5.md-focus:before, #write>h6.md-focus:before, h3.md-focus:before, h4.md-focus:before, h5.md-focus:before, h6.md-focus:before { color: inherit; border : inherit; border-radius : inherit; position : inherit; left : initial; float : none; top : initial; font-size : inherit; padding-left : inherit; padding-right : inherit; vertical-align : inherit; font-weight : inherit; line-height : inherit; } .sidebar-content { counter-reset : h1 } .outline-h1 { counter-reset : h2 } .outline-h2 { counter-reset : h3 } .outline-h3 { counter-reset : h4 } .outline-h4 { counter-reset : h5 } .outline-h5 { counter-reset : h6 } .outline-h1 >.outline-item >.outline-label :before { counter-increment: h1; content : counter (h1) ". " } .outline-h2 >.outline-item >.outline-label :before { counter-increment: h2; content : counter (h1) "." counter (h2) ". " } .outline-h3 >.outline-item >.outline-label :before { counter-increment: h3; content : counter (h1) "." counter (h2) "." counter (h3) ". " } .outline-h4 >.outline-item >.outline-label :before { counter-increment: h4; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) ". " } .outline-h5 >.outline-item >.outline-label :before { counter-increment: h5; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) "." counter (h5) ". " } .outline-h6 >.outline-item >.outline-label :before { counter-increment: h6; content : counter (h1) "." counter (h2) "." counter (h3) "." counter (h4) "." counter (h5) "." counter (h6) ". " }
保存并重新启动Typera Typera 有关图片的设置
Typora使用技巧之插入图片及图片上传 - 知乎 (zhihu.com)
PicGo图床与Typora(PicGo+Typora+GitHub的完整设置) - 知乎 (zhihu.com)
插入图片的偏好设置 同4.1 按住Crtrl+‘,’
打开偏好设置,我的设置为[复制图片到 ./${filename}.assets 文件夹]。需要写博客的同学们在偏好设置里面应该根据自己需要勾选相应的选项。
上传图片的偏好设置 当你在 Typora 中插入本地图片时,前面提到的插入图片的语法中的src部分在 Markdown 中是以本地路径的方式保存的,如果你要把你的 Markdown 文件分享给别人,或者发布到网上,那么要把图片一起分享或者发布,这样就比较麻烦。而如果src是 URL 的话,你在分享的时候只要分享一个 Markdown 文件就可以了,只要能联网,Markdown 的渲染引擎就能根据 URL 找到你引用的图片。
图片上传服务
iPic (macOS,免费增值)
uPic (macOS,开源)
PicGo.app (macOS / Windows / Linux, 只有简体中文版)
PicGo (命令行应用) (Windows / Linux)
自定义 (macOS / Windows / Linux)
我选择的是PicGo.app因为适用于windows,并且相较于命令行程序减少的入手的难度。
图床 我采用的图床是GIthub的免费图床,缺点就是速度比较慢。具体的操作步骤可以参考我提供的参考网站。