8000 🐞fix(段落间距): 改为1.6em · MrCoder/markdown-css-smartisan@5dc4ab4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5dc4ab4

Browse files
committed
🐞fix(段落间距): 改为1.6em
1 parent 693d5f4 commit 5dc4ab4

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

examples/index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
<script src="https://unpkg.com/vue"></script>
66
<script src="https://unpkg.com/marked@0.3.6"></script>
77
<script src="https://unpkg.com/lodash@4.16.0"></script>
8-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/markdown-css-smartisan/github-markdown.css" />
8+
<link rel="stylesheet" type="text/css" href="../github-markdown.css" />
99
<style>
1010
* { margin: 0; padding: 0; }
1111

1212
html,
1313
body,
1414
#editor {
1515
display: flex;
16+
width: 100%;
1617
height: 100%;
1718
padding: 0;
1819
overflow: hidden;
@@ -58,7 +59,16 @@
5859
new Vue({
5960
el: "#editor",
6061
data: {
61-
input: `# 代码重构
62+
input: `
63+
# 致敬老罗的锤子科技
64+
65+
> 你优雅的文字应该有个好的主题。
66+
67+
![](https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimgs.ebrun.com%2Fresources%2F2014_07%2F2014_07_23%2F201407237781406086217788_origin.jpg&refer=http%3A%2F%2Fimgs.ebrun.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619399887&t=2e8fd7b192b7e860d1df0720446484c8)
68+
69+
---
70+
71+
# 代码重构
6272
6373
> 从某种角度来看,设计模式的目的就是为许多重构行为提供目标。
6474

github-markdown.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ body {
862862
.markdown-body table,
863863
.markdown-body ul {
864864
margin-top: 0;
865-
margin-bottom: 20px;
865+
margin-bottom: 1.8em;
866866
}
867867

868868
.markdown-body pre,

0 commit comments

Comments
 (0)
0