update markdown code style

This commit is contained in:
codetypes committed 2024-07-24 10:06:52 +08:00
1 parent 41371c8cdb
commit 907956fbfe
2 files changed
+2 -3

No files matched your search

-1
View File
@@ -110,7 +110,6 @@ const NodeInspector: FC = () => {
def.args?.forEach((v) => {
if (v.type === "json" || v.type === "json?") {
const value = data.args?.[v.name];
console.log("nameJson", v.name, value, data.args);
form.setFieldValue(
`args.${v.name}`,
value === null ? "null" : JSON.stringify(value ?? v.default, null, 2)
+2 -2
View File
@@ -196,9 +196,9 @@ body {
code {
background-color: #6e768166;
border-radius: 6px;
padding: 3px 6px;
margin: 0 3px;
padding: 0.15em 0.3em;
white-space: break-spaces;
line-height: 1.8;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
Cantarell, "Open Sans", "Helvetica Neue", sans-serif;