update markdown code style
This commit is contained in:
1 parent
41371c8cdb
commit
907956fbfe
2 files changed
+2
-3
No files matched your search
@@ -110,7 +110,6 @@ const NodeInspector: FC = () => {
|
|||||||
def.args?.forEach((v) => {
|
def.args?.forEach((v) => {
|
||||||
if (v.type === "json" || v.type === "json?") {
|
if (v.type === "json" || v.type === "json?") {
|
||||||
const value = data.args?.[v.name];
|
const value = data.args?.[v.name];
|
||||||
console.log("nameJson", v.name, value, data.args);
|
|
||||||
form.setFieldValue(
|
form.setFieldValue(
|
||||||
`args.${v.name}`,
|
`args.${v.name}`,
|
||||||
value === null ? "null" : JSON.stringify(value ?? v.default, null, 2)
|
value === null ? "null" : JSON.stringify(value ?? v.default, null, 2)
|
||||||
|
|||||||
+2
-2
@@ -196,9 +196,9 @@ body {
|
|||||||
code {
|
code {
|
||||||
background-color: #6e768166;
|
background-color: #6e768166;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 3px 6px;
|
padding: 0.15em 0.3em;
|
||||||
margin: 0 3px;
|
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
|
line-height: 1.8;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
|
||||||
Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||||
|
|||||||
Reference in new issue
Block a user