mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add highlight for code block (#291)
* feat: add highlight for code block * chore: update test
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
}
|
||||
|
||||
.img {
|
||||
@apply float-left max-w-full;
|
||||
@apply float-left max-w-full rounded cursor-pointer hover:shadow;
|
||||
}
|
||||
|
||||
.tag-span {
|
||||
@ -48,7 +48,11 @@
|
||||
}
|
||||
|
||||
pre {
|
||||
@apply w-full my-1 py-2 px-3 rounded text-sm bg-gray-100 whitespace-pre-wrap;
|
||||
@apply w-full my-1 p-3 rounded bg-gray-100 whitespace-pre-wrap;
|
||||
|
||||
code {
|
||||
@apply block;
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
|
Reference in New Issue
Block a user