Added markdown rendering

This commit is contained in:
Magnus Åhall 2026-05-15 08:22:43 +02:00
parent 26ca510785
commit 5a0340c226
172 changed files with 12198 additions and 8338 deletions

30
static/css/markdown.css Normal file
View file

@ -0,0 +1,30 @@
.el-node-markdown {
h1 {
border-bottom: 1px solid #ccc;
margin-top: 48px;
margin-bottom: 8px;
display: inline-block;
font-size: 1.25em;
border-radius: 8px;
color: #fff;
background-color: var(--color1);
padding: 4px 12px;
&:first-child {
margin-top: 32px;
}
}
h2 {
font-size: 1.25em;
margin-bottom: 0px;
color: var(--color1);
}
h3:before {
font-size: 1.0em;
content: "> ";
color: var(--color1);
}
}