feat: add highlight for code block (#291)

* feat: add highlight for code block

* chore: update test
This commit is contained in:
boojack
2022-10-14 22:29:28 +08:00
committed by GitHub
parent 65a61ed270
commit eefd0444c8
6 changed files with 24 additions and 9 deletions

View File

@ -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 {