render markdown code element
This commit is contained in:
1 parent
c1fbfbc8fa
commit
5b249c14c8
5 files changed
+16
-7
No files matched your search
@@ -291,7 +291,7 @@ const NodeInspector: FC = () => {
|
||||
}}
|
||||
/>
|
||||
</Form.Item>
|
||||
<Markdown>{def.doc}</Markdown>
|
||||
<Markdown className="b3-markdown">{def.doc}</Markdown>
|
||||
{def.input && def.input.length > 0 && (
|
||||
<>
|
||||
<Divider orientation="left">
|
||||
@@ -476,7 +476,7 @@ const NodeDefInspector: FC = () => {
|
||||
>
|
||||
<TextArea autoSize disabled={true} />
|
||||
</Form.Item>
|
||||
<Markdown>{data.doc}</Markdown>
|
||||
<Markdown className="b3-markdown">{data.doc}</Markdown>
|
||||
{data.input && data.input.length > 0 && (
|
||||
<>
|
||||
<Divider orientation="left">
|
||||
|
||||
@@ -192,3 +192,12 @@ body {
|
||||
.b3-editor-filter-selected {
|
||||
background-color: var(--b3-color-selected) !important;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #6e768166;
|
||||
border-radius: 6px;
|
||||
padding: 3px 6px;
|
||||
margin: 0 3px;
|
||||
white-space: break-spaces;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
Reference in new issue
Block a user