fix style for <pre> element
This commit is contained in:
parent
85987af7e8
commit
4a0d28efb7
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,10 @@
|
||||||
<style type="text/tailwindcss">
|
<style type="text/tailwindcss">
|
||||||
.markdown {
|
.markdown {
|
||||||
h1, h2, h3, h4, h5, h6, ul, ol, li { all: revert; }
|
h1, h2, h3, h4, h5, h6, ul, ol, li { all: revert; }
|
||||||
pre { @apply whitespace-pre-wrap; }
|
pre {
|
||||||
|
@apply whitespace-pre-wrap my-4 rounded-lg p-2;
|
||||||
|
border: 1px solid currentColor;
|
||||||
|
}
|
||||||
/* TODO: fix markdown table */
|
/* TODO: fix markdown table */
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue