Skip to content

Commit

Permalink
Svelte を用いてコードブロックプロセッサを実装し直した
Browse files Browse the repository at this point in the history
  • Loading branch information
0918nobita committed May 11, 2024
1 parent 91c649a commit 18080ff
Show file tree
Hide file tree
Showing 25 changed files with 564 additions and 430 deletions.
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** @type {import('prettier').Config} */
export default {
plugins: ['prettier-plugin-svelte'],
singleQuote: true,
semi: true,
};
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"svelte.svelte-vscode"
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"svelte.enable-ts-plugin": true,
"[svelte]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8" />
<title>Playground</title>
</head>
<body>
<script type="module" src="src/playground.ts"></script>
</body>
</html>
Loading

0 comments on commit 18080ff

Please sign in to comment.