-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from zijunhz/inlineCode
feat: add inline code blocks support
- Loading branch information
Showing
16 changed files
with
195 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,101 @@ | ||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
width: 100%; | ||
background: #151515; | ||
background: #151515 | ||
} | ||
|
||
#app { | ||
margin: 0; | ||
padding: 0; | ||
padding: 0 | ||
} | ||
|
||
* { | ||
font-family: 'Courier New', Courier, monospace; | ||
font-family: monospace, "Courier New", Courier; | ||
color: #aaa; | ||
font-size: 16px; | ||
font-weight: 400; | ||
line-height: 24px; | ||
line-height: 24px | ||
} | ||
|
||
h1 { | ||
color: #eee; | ||
font-size: 32px; | ||
font-weight: 600; | ||
line-height: 40px; | ||
line-height: 40px | ||
} | ||
|
||
h2 { | ||
margin: 5px 0 5px 0; | ||
color: #eee; | ||
font-size: 24px; | ||
font-weight: 600; | ||
line-height: 30px; | ||
line-height: 30px | ||
} | ||
|
||
h3 { | ||
margin: 5px 0 5px 0; | ||
color: #bbb; | ||
font-size: 18px; | ||
line-height: 24px; | ||
font-weight: 600; | ||
font-weight: 600 | ||
} | ||
|
||
a { | ||
text-decoration: underline; | ||
color: #ddd; | ||
font-weight: 100; | ||
font-weight: 100 | ||
} | ||
|
||
a:hover { | ||
color: #fff; | ||
color: #fff | ||
} | ||
|
||
ul { | ||
margin: 5px 0 5px 0; | ||
margin: 5px 0 5px 0 | ||
} | ||
|
||
li { | ||
margin: 3px 0 3px 0 !important; | ||
margin: 3px 0 3px 0 !important | ||
} | ||
|
||
hr { | ||
border: none; | ||
border-top: 1px solid #444; | ||
margin: 15px 0 15px 0; | ||
margin: 15px 0 15px 0 | ||
} | ||
|
||
#realBody { | ||
max-width: 900px; | ||
margin: 3% auto 8% auto; | ||
padding: 40px 20px 0 20px; | ||
padding: 40px 20px 0 20px | ||
} | ||
|
||
#avatar { | ||
width: 20%; | ||
margin-bottom: 3%; | ||
border: 3px dashed white; | ||
border: 3px dashed #fff | ||
} | ||
|
||
li { | ||
margin-bottom: 10px; | ||
margin-bottom: 10px | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
max-width: 100% | ||
} | ||
|
||
pre { | ||
background-color: #080808; | ||
padding: 12px; | ||
border-radius: 4px; | ||
border-radius: 4px | ||
} | ||
|
||
code { | ||
background-color: #080808; | ||
padding: .2em .4em; | ||
font-size: 85%; | ||
border-radius: 3px; | ||
font-family: "Courier New", Courier, monospace | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,102 @@ | ||
<style> | ||
body { | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
width: 100%; | ||
background: #151515; | ||
background: #151515 | ||
} | ||
|
||
#app { | ||
margin: 0; | ||
padding: 0; | ||
padding: 0 | ||
} | ||
|
||
* { | ||
font-family: 'Courier New', Courier, monospace; | ||
font-family: monospace, "Courier New", Courier; | ||
color: #aaa; | ||
font-size: 16px; | ||
font-weight: 400; | ||
line-height: 20px; | ||
line-height: 20px | ||
} | ||
|
||
h1 { | ||
color: #eee; | ||
font-size: 32px; | ||
font-weight: 600; | ||
line-height: 36px; | ||
margin: 5px 0 5px 0; | ||
margin: 5px 0 5px 0 | ||
} | ||
|
||
h2 { | ||
margin: 5px 0 5px 0; | ||
color: #eee; | ||
font-size: 24px; | ||
font-weight: 600; | ||
line-height: 24px; | ||
line-height: 24px | ||
} | ||
|
||
h3 { | ||
margin: 5px 0 5px 0; | ||
color: #bbb; | ||
font-size: 18px; | ||
line-height: 18px; | ||
font-weight: 600; | ||
font-weight: 600 | ||
} | ||
|
||
a { | ||
text-decoration: underline; | ||
color: #ddd; | ||
font-weight: 100; | ||
font-weight: 100 | ||
} | ||
|
||
a:hover { | ||
color: #fff; | ||
color: #fff | ||
} | ||
|
||
ul { | ||
margin: 5px 0 5px 0; | ||
margin: 5px 0 5px 0 | ||
} | ||
|
||
li { | ||
margin: 3px 0 3px 0 !important; | ||
margin: 3px 0 3px 0 !important | ||
} | ||
|
||
hr { | ||
border: none; | ||
border-top: 1px solid #444; | ||
margin: 15px 0 15px 0; | ||
margin: 15px 0 15px 0 | ||
} | ||
|
||
#realBody { | ||
max-width: 900px; | ||
margin: 3% auto 8% auto; | ||
padding: 40px 20px 0 20px; | ||
padding: 40px 20px 0 20px | ||
} | ||
|
||
#avatar { | ||
width: 20%; | ||
margin-bottom: 3%; | ||
border: 3px dashed white; | ||
border: 3px dashed #fff | ||
} | ||
|
||
li { | ||
margin-bottom: 10px; | ||
margin-bottom: 10px | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
max-width: 100% | ||
} | ||
|
||
pre { | ||
background-color: #080808; | ||
padding: 12px; | ||
border-radius: 4px; | ||
border-radius: 4px | ||
} | ||
|
||
code { | ||
background-color: #080808; | ||
padding: .2em .4em; | ||
font-size: 85%; | ||
border-radius: 3px; | ||
font-family: "Courier New", Courier, monospace | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.