Skip to content

Commit 5c33f29

Browse files
committed
Organized files
1 parent 27c2fbe commit 5c33f29

36 files changed

Lines changed: 1097 additions & 2153 deletions

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules
2-
/try
32
.vscode
43
/build
54
*.exe
6-
/dist
5+
/dist

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,20 +136,20 @@ codeBlock.innerHTML = aurora(code);
136136

137137
## Using Local Files
138138

139-
Download the https://cdn.jsdelivr.net/npm/aurora-code@latest/dist/index.umd.cjs and https://cdn.jsdelivr.net/npm/aurora-code@latest/dist/themes/one%20dark%20pro.css files and use them locally.
139+
Download the https://cdn.jsdelivr.net/npm/aurora-code@latest/dist/index.umd.cjs and https://cdn.jsdelivr.net/npm/aurora-code@latest/dist/themes/oneDarkPro.css files and use them locally.
140140

141141
```html
142-
<script src="index.umd.cjs" defer></script>
142+
<script src="../../dist/index.umd.cjs" defer></script>
143143

144-
<link rel="stylesheet" href="oneDarkPro.css" />
144+
<link rel="stylesheet" href="../../dist/themes/oneDarkPro.css" />
145145

146146
<body style="background-color: #070e22">
147147
<pre><code id="code-block"></code></pre>
148148
<script>
149149
document.body.onload = () => {
150150
const codeBlock = document.getElementById('code-block');
151151
const code = 'int main() {\n printf("Hello World!");\n return 0;\n}';
152-
codeBlock.innerHTML = aurora(code);
152+
codeBlock.innerHTML = aurora.default(code);
153153
};
154154
</script>
155155
</body>

bun.lockb

70 KB
Binary file not shown.

0 commit comments

Comments
 (0)