diff --git a/src/app.html b/src/app.html index 670ca5e..72db984 100644 --- a/src/app.html +++ b/src/app.html @@ -3,7 +3,7 @@ - EaglerForge Builder - Make mods with blocks + EaglerBuilder - Make mods with blocks @@ -12,7 +12,7 @@ \ No newline at end of file diff --git a/src/lib/DocumentationComponents/codeBlock.svelte b/src/lib/DocumentationComponents/codeBlock.svelte new file mode 100644 index 0000000..659fbe1 --- /dev/null +++ b/src/lib/DocumentationComponents/codeBlock.svelte @@ -0,0 +1,78 @@ + + +
+ {#if title} +

{title}

+
+ {/if} + {#each code.split("\n") as line,i} +
{#if title}{i + 1}{/if} {@html highlight(line)}
+ {/each} +
+ + \ No newline at end of file diff --git a/src/lib/MenuModals/CreateBlock.svelte b/src/lib/MenuModals/CreateBlock.svelte deleted file mode 100644 index a8f6985..0000000 --- a/src/lib/MenuModals/CreateBlock.svelte +++ /dev/null @@ -1,455 +0,0 @@ - - -
-