Skip to content

Commit 9829d93

Browse files
pass in text and filename params
1 parent 77f44a0 commit 9829d93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.flex {
99
display: flex;
1010
flex: 1;
11-
padding: 1em;
11+
padding: 2px;
1212
}
1313

1414
.flex.row {
@@ -92,7 +92,7 @@ <h1>Schemascii Playground</h1>
9292
console.textContent = "";
9393
errors.textContent = "";
9494
try {
95-
output.innerHTML = await schemascii.render(source.value);
95+
output.innerHTML = await schemascii.render("playground", source.value);
9696
} catch (e) {
9797
error(`\nJS Error:\n${e.stack}\n`);
9898
throw e;

0 commit comments

Comments
 (0)