mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
3a3315cc7f
This commit adds capability to format HTML, Svelte, Vue, Astro and Angular files. "--unstable-html" is required to format HTML files, and "--unstable-component" flag is needed to format other formats. These can also be specified in the config file. Close #25015
10 lines
133 B
Svelte
10 lines
133 B
Svelte
<script lang="ts">
|
|
let a:number
|
|
let b : number
|
|
</script>
|
|
|
|
<div class:active={ active } > {a+b} </div>
|
|
|
|
<style>
|
|
.active{}
|
|
</style>
|