1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 10:11:43 +02:00

Add syntax highlighting for code blocks

We might consider extracting this into an extension, but TextFormatter
does syntax highlighting for code blocks by default in live previews
anyway.

closes #248
This commit is contained in:
Toby Zerner
2015-08-31 13:17:16 +09:30
parent fc9d0ff659
commit a54c6376d8
2 changed files with 48 additions and 0 deletions

View File

@@ -114,6 +114,11 @@
color: #666;
font-size: 90%;
border-radius: @border-radius;
.hljs {
padding: 0;
background: none;
}
}
h1 {
font-size: 160%;