Add colours to the gradient below:
-Preview
You can also export the text in one of these formats too:
+ {#if $appSettings.syntaxHighlight}
+
+ {:else}
+ {editor
+ ? JSON.stringify(
+ JSON.parse(
+ convert(
+ editor.getJSON(),
+ shouldOptimise,
+ "standard",
+ true,
+ )
+ ),
+ null,
+ indent ? 4 : undefined
+ )
+ : "Loading..."}
+ {/if}
+
+
+ {editor
- ? convert(editor.getJSON(), shouldOptimise, "item_lore", exportAsJSON)
+ ? convert(editor.getJSON(), shouldOptimise, "item_lore", jsonLore)
: "Loading..."}
{/if}
]
+