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:
@@ -114,6 +114,11 @@
|
||||
color: #666;
|
||||
font-size: 90%;
|
||||
border-radius: @border-radius;
|
||||
|
||||
.hljs {
|
||||
padding: 0;
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
h1 {
|
||||
font-size: 160%;
|
||||
|
Reference in New Issue
Block a user