Skip to content

Commit 65fd6b6

Browse files
output description as comment
1 parent 9bd24bc commit 65fd6b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/+page.svelte

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
}
1717
1818
$: groups = source.match(regex)?.groups
19-
$: result = groups ? removeEmptyLines(`<Transition {show}
19+
$: result = groups ? removeEmptyLines(`<!-- ${groups.description} -->
20+
<Transition {show}
2021
enter=${groups.enter}
2122
enterFrom=${groups.enterFrom}
2223
enterTo=${groups.enterTo}

0 commit comments

Comments
 (0)