feat: add inline-code syntax parser

This commit is contained in:
steven
2022-10-03 19:51:54 +08:00
parent 2298ac6ff3
commit 7b29c65f58
4 changed files with 42 additions and 2 deletions

View File

@ -48,7 +48,11 @@
}
pre {
@apply w-full mt-1 py-2 px-3 rounded text-sm bg-gray-100 whitespace-pre-wrap;
@apply w-full my-1 py-2 px-3 rounded text-sm bg-gray-100 whitespace-pre-wrap;
}
code {
@apply bg-gray-100 px-1 rounded text-sm leading-6 inline-block;
}
}