Markdown and css example

This commit is contained in:
RealStickman 2022-11-03 11:04:22 +01:00
parent 5dfb784db3
commit fb0a0ef136
3 changed files with 37 additions and 0 deletions

View File

@ -1,2 +1,3 @@
# markdown-css
Use `<link href="/home/marc/GitProjects/markdown-css/markdown.css" rel="stylesheet"></link>` on top of the markdown document

26
markdown.css Normal file
View File

@ -0,0 +1,26 @@
html {
font-family: 'Fira Sans'
}
h1 {
font-weight: bold;
border-bottom: 2px solid black;
text-align: center;
color: #bd93f9
}
h2,h3,h4,h5,h6 {
font-weight: bold;
padding-bottom: 2px;
border-bottom: 1px solid darkgray;
color: #6272a4
}
code {
color: #9806bd !important;
font-family: 'Fira Code'
}
a {
font-style: italic
}

10
samplefile.md Normal file
View File

@ -0,0 +1,10 @@
<link href="/home/marc/GitProjects/markdown-css/markdown.css" rel="stylesheet"></link>
# Header 1
## Header 2
### Header 3
#### Header 4