蓝奏云下载:typora-9.55,css
https://rod.lanzous.com/b0dklalqh:密码666
1.css设置效果
打开偏好设置
新建一个base.user.css自定义css
css代码:我的配置 => 想偷懒的直接用我这个也可以
/* 代ç 设置 */
code {
color: #000;
background-color: #8ef99a;
border-radius: 2px
}
/* Spring Doc selected text*/
::selection {
background-color: #D1FE78
}
.cm-s-inner .CodeMirror-cursor {
border-left: solid rgb(96, 255, 96) !important;
}
/** 引用设置 */
blockquote {
border-left: 4px solid #3cca17;
height: 38px;
font-size: 22px;
/* text-align:left; */
padding: 0px 15px;
color: #45bf26;
}
/** 跳转颜色 */
a {
color: #ab90fd;
}
/** æ ‡é¢˜è®¾ç½®,没有更好的了,勉强用 */
#write, .sidebar-content,.md-toc-content{
counter-reset: h2
}
#write h1, .outline-h1, .md-toc-item.md-toc-h1 {
counter-reset: h2
}
#write h2, .outline-h2, .md-toc-item.md-toc-h2 {
counter-reset: h3
}
#write h3, .outline-h3, .md-toc-item.md-toc-h3 {
counter-reset: h4
}
#write h4, .outline-h4, .md-toc-item.md-toc-h4 {
counter-reset: h5
}
#write h5, .outline-h5, .md-toc-item.md-toc-h5 {
counter-reset: h6
}
/** put counter result into headings */
/* ä¸€çº§æ ‡é¢˜ä¸å±•ç¤º */
#write h1:before,
.outline-h1>.outline-item>.outline-label:before,
.md-toc-item.md-toc-h1>.md-toc-inner:before {
/* counter-increment: h1;
content: counter(h1) ". " */
}
/* äºŒçº§æ ‡é¢˜ */
#write h2:before,
.outline-h2>.outline-item>.outline-label:before,
.md-toc-item.md-toc-h2>.md-toc-inner:before {
counter-increment: h2;
content: counter(h2) ". ";
/* content: counter(h2) ". " */
}
/* ä¸‰çº§æ ‡é¢˜ */
#write h3:before,
h3.md-focus.md-heading:before, /** override the default style for focused headings */
.outline-h3>.outline-item>.outline-label:before,
.md-toc-item.md-toc-h3>.md-toc-inner:before {
text-decoration: none;
counter-increment: h3;
/* content: counter(h1) "." counter(h2) "." counter(h3) ". " */
/* content: counter(h2) "." counter(h3) ". " */
content: counter(h2) "." counter(h3) " "
}
/* å››çº§æ ‡é¢˜ */
#write h4:before,
h4.md-focus.md-heading:before,
.outline-h4>.outline-item>.outline-label:before,
.md-toc-item.md-toc-h4>.md-toc-inner:before {
text-decoration: none;
counter-increment: h4;
/* content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". " */
/* content: counter(h2) "." counter(h3) "." counter(h4) ". " */
content: counter(h2) "." counter(h3) "." counter(h4) " "
}
/* äº”çº§æ ‡é¢˜ */
#write h5:before,
h5.md-focus.md-heading:before,
.outline-h5>.outline-item>.outline-label:before,
.md-toc-item.md-toc-h5>.md-toc-inner:before {
text-decoration: none;
counter-increment: h5;
/* content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". " */
/* content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". " */
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) " "
}
/* å…çº§æ ‡é¢˜ */
#write h6:before,
h6.md-focus.md-heading:before,
.outline-h6>.outline-item>.outline-label:before,
.md-toc-item.md-toc-h6>.md-toc-inner:before {
text-decoration: none;
counter-increment: h6;
/* content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". " */
/* content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". " */
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) " "
}
/** override the default style for focused headings */
#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;
}
/* è®¾ç½®è¡Œè· */
/* è®¾ç½®ä¸€çº§æ ‡é¢˜è¡Œè· */
#write h1 {
margin-bottom:50px;
margin-top:50px;
}
#write h2 {
margin-bottom:30px;
margin-top:50px;
}
#write h3 {
margin-bottom:30px;
margin-top:30px;
}
#write h4 {
margin-bottom:30px;
margin-top:30px;
}
#write h5 {
margin-bottom:30px;
margin-top:30px;
}
2.标题跳转
2.1标题跳转
格式
[说明](#标题名)
[奥利给](#标题名)--ctrl+鼠标左键跳转
2.2任何位置跳转
- 要设置标签
<a></a>
- 不要忘了闭合标签,有时候不闭合用不了
格式
[说明](#name的值)
<a name="随便"></a>
[跳转到随便](#随便)
3.红色下划线
4.教你怎么改css
1.打开typora的开发者工具
2.选择控件
3.移动到要修改的位置
4.点击后跳到对应的css
5.改颜色:点击颜色那块
6.查看css的位置
7.点击跳转
8.鼠标移动到文件上面查看路径
9.复制全部
10.找到路径的css:替换代码
11.重启完成