Enable syntax higlight
This commit is contained in:
parent
5c61b68ff7
commit
7099d4d4ee
5
assets/css/prism.css
Normal file
5
assets/css/prism.css
Normal file
File diff suppressed because one or more lines are too long
@ -20,7 +20,7 @@
|
||||
html {
|
||||
font-size: calc(1em + 0.25vw);
|
||||
font-family: Didact Gothic, Arial, Helvetica Neue, sans-serif;
|
||||
line-height: 1.6;
|
||||
line-height: 1.2;
|
||||
color: rgb(255, 255, 255);
|
||||
opacity: .85;
|
||||
background-color: #39424E;
|
||||
@ -641,7 +641,6 @@ figcaption::before {
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*=language-] {
|
||||
background: none;
|
||||
margin-top: 2.25rem;
|
||||
margin-bottom: 0;
|
||||
overflow-y: hidden;
|
||||
@ -1128,8 +1127,8 @@ h1 svg {
|
||||
main p {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
line-height: 1.6;
|
||||
letter-spacing: 1.3px;
|
||||
line-height: 1.5;
|
||||
letter-spacing: .2px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
|
11
assets/js/prism.js
Normal file
11
assets/js/prism.js
Normal file
File diff suppressed because one or more lines are too long
@ -9,7 +9,7 @@
|
||||
<h3> Check My Recent Posts </h3>
|
||||
<table>
|
||||
<ul class="inf-patterns-list" id="list">
|
||||
{{ range (.Paginator 4).Pages.ByPublishDate.Reverse }}
|
||||
{{ range (.Paginator 5).Pages.ByPublishDate.Reverse }}
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user