Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
markdown-here-css
.markdown-here-wrapper {
font-size: 16px;
line-height: 1.8em;
letter-spacing: 0.1em;
}
pre, code {
font-size: 14px;
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace;
margin: auto 5px;
}
code {
white-space: pre-wrap;
border-radius: 2px;
display: inline;
}
pre {
font-size: 15px;
line-height: 1.4em;
display: block; !important;
}
pre code {
white-space: pre;
overflow: auto;
border-radius: 3px;
padding: 1px 1px;
display: block !important;
}
strong, b{
color: #BF360C;
}
em, i {
color: #009688;
}
hr {
border: 1px solid #BF360C;
margin: 1.5em auto;
}
p {
margin: 1.5em 5px !important;
}
table, pre, dl, blockquote, q, ul, ol {
margin: 10px 5px;
}
ul, ol {
padding-left: 15px;
}
li {
margin: 10px;
}
li p {
margin: 10px 0 !important;
}
ul ul, ul ol, ol ul, ol ol {
margin: 0;
padding-left: 10px;
}
ul {
list-style-type: circle;
}
dl {
padding: 0;
}
dl dt {
font-size: 1em;
font-weight: bold;
font-style: italic;
}
dl dd {
margin: 0 0 10px;
padding: 0 10px;
}
blockquote, q {
border-left: 2px solid #009688;
padding: 0 10px;
color: #777;
quotes: none;
margin-left: 1em;
}
blockquote::before, blockquote::after, q::before, q::after {
content: none;
}
h1, h2, h3, h4, h5, h6 {
margin: 20px 0 10px;
padding: 0;
font-style: bold !important;
color: #009688 !important;
text-align: center !important;
margin: 1.5em 5px !important;
padding: 0.5em 1em !important;
}
h1 {
font-size: 24px !important;
border-bottom: 1px solid #ddd !important;
}
h2 {
font-size: 20px !important;
border-bottom: 1px solid #eee !important;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
table {
padding: 0;
border-collapse: collapse;
border-spacing: 0;
font-size: 1em;
font: inherit;
border: 0;
margin: 0 auto;
}
tbody {
margin: 0;
padding: 0;
border: 0;
}
table tr {
border: 0;
border-top: 1px solid #CCC;
background-color: white;
margin: 0;
padding: 0;
}
table tr:nth-child(2n) {
background-color: #F8F8F8;
}
table tr th, table tr td {
font-size: 16px;
border: 1px solid #CCC;
margin: 0;
padding: 5px 10px;
}
table tr th {
font-weight: bold;
color: #eee;
border: 1px solid #009688;
background-color: #009688;
}
@pinwen

This comment has been minimized.

Copy link

pinwen commented Jul 7, 2016

I first learned this from your wechat official account:学习学习再学习. Thank you for sharing this code. I am so happy to use it successfully for writing my newest article.

@pangnaifu

This comment has been minimized.

Copy link

pangnaifu commented Sep 3, 2016

thanks for sharing

@zhengchengwen

This comment has been minimized.

Copy link

zhengchengwen commented Sep 19, 2016

谢谢老师分享

@Chitsing

This comment has been minimized.

Copy link

Chitsing commented Sep 22, 2016

超级感谢~最近刚好搭建完了自己的博客,需要用Markdown,这就像是及时雨啊!

@elizachen

This comment has been minimized.

Copy link

elizachen commented Nov 4, 2016

谢谢老师分享。

@wangqinggang

This comment has been minimized.

Copy link

wangqinggang commented Jan 8, 2017

非常感谢,样式很漂亮!

@daijianlin

This comment has been minimized.

Copy link

daijianlin commented Jan 19, 2017

谢谢笑来老师发分享!

@JonasCynical

This comment has been minimized.

Copy link

JonasCynical commented Feb 24, 2017

支持开源!谢谢老师!

@SunxinAn

This comment has been minimized.

Copy link

SunxinAn commented Mar 2, 2017

谢谢老师分享~~~

@majunnan

This comment has been minimized.

Copy link

majunnan commented Apr 5, 2017

谢谢笑来老师。

@lancaoxiangshe

This comment has been minimized.

Copy link

lancaoxiangshe commented Apr 18, 2017

谢谢笑来老师分享,一看怎么都是全栈的

@yuziyao

This comment has been minimized.

Copy link

yuziyao commented Apr 18, 2017

谢谢笑来老师分享

@echo-hongxia

This comment has been minimized.

Copy link

echo-hongxia commented Apr 23, 2017

谢谢笑来老师分享

@xiaomengfei

This comment has been minimized.

Copy link

xiaomengfei commented Jul 5, 2017

我感觉自己能在这留言都特别牛逼了!我可是英语全不懂啊!哈哈。。。谢谢笑来老师!

@Origheart

This comment has been minimized.

Copy link

Origheart commented Jul 8, 2017

跟着小梦飞的推荐进来的,样式非常漂亮!以后也用这套样式了~感谢!

@Annran1314

This comment has been minimized.

Copy link

Annran1314 commented Sep 16, 2017

一直在看老师的文章,非常谢谢您的分享。

@wilburliu1123

This comment has been minimized.

Copy link

wilburliu1123 commented Dec 7, 2017

谢谢老师分享

@realRoad

This comment has been minimized.

Copy link

realRoad commented Jan 27, 2018

厚着脸皮第二次过来copy and paste^..^

@biedalian2010

This comment has been minimized.

Copy link

biedalian2010 commented Jan 30, 2018

感谢老师的无私分享!祝近安!

@mosjin

This comment has been minimized.

Copy link

mosjin commented Apr 22, 2018

Favorite.
Thanks a lot, teacher Lee.

@daniel10614

This comment has been minimized.

Copy link

daniel10614 commented Nov 19, 2018

谢谢分享

@hchaor

This comment has been minimized.

Copy link

hchaor commented Jan 9, 2019

Thanks

@AzenXu

This comment has been minimized.

Copy link

AzenXu commented Feb 27, 2019

哎嘿...为啥给笑来老师start的小伙伴这么少...

@yeshengchao

This comment has been minimized.

Copy link

yeshengchao commented Apr 28, 2019

感谢笑来老师的分享,正好需要,这是及时雨啊。

@shiermo

This comment has been minimized.

Copy link

shiermo commented Sep 22, 2019

我改的思源字体没有生效怎么回事?电脑确定下载了字体
pre, code { font-family: Source Han Sans, Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; }

@jackzhangcy1987

This comment has been minimized.

Copy link

jackzhangcy1987 commented Oct 23, 2019

谢谢老师的分享,卧槽,今天才发现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.