mirror of
https://github.com/kubesphere/website.git
synced 2025-12-25 15:32:54 +00:00
fix: Support markdown formate content
Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
This commit is contained in:
parent
f41dbe5ec0
commit
11b476ae5d
|
|
@ -66,6 +66,15 @@
|
|||
line-height: 1.75;
|
||||
letter-spacing: -0.04px;
|
||||
color: #919aa3;
|
||||
|
||||
code {
|
||||
color: #36435c;
|
||||
padding: 0.2em 0.4em;
|
||||
margin: 0;
|
||||
font-size: 85%;
|
||||
background-color: #1B1F230A;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
&>a {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
{{ end }}
|
||||
{{ if isset $index "content" }}
|
||||
{{ with $index.content }}
|
||||
<p>{{ . }}</p>
|
||||
<p>{{ . | markdownify }}</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue