Skip to content

Commit

Permalink
Organized files
Browse files Browse the repository at this point in the history
  • Loading branch information
codeAbinash committed Jun 8, 2024
1 parent 27c2fbe commit 5c33f29
Show file tree
Hide file tree
Showing 36 changed files with 1,097 additions and 2,153 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
/try
.vscode
/build
*.exe
/dist
/dist
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,20 @@ codeBlock.innerHTML = aurora(code);

## Using Local Files

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.
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.

```html
<script src="index.umd.cjs" defer></script>
<script src="../../dist/index.umd.cjs" defer></script>

<link rel="stylesheet" href="oneDarkPro.css" />
<link rel="stylesheet" href="../../dist/themes/oneDarkPro.css" />

<body style="background-color: #070e22">
<pre><code id="code-block"></code></pre>
<script>
document.body.onload = () => {
const codeBlock = document.getElementById('code-block');
const code = 'int main() {\n printf("Hello World!");\n return 0;\n}';
codeBlock.innerHTML = aurora(code);
codeBlock.innerHTML = aurora.default(code);
};
</script>
</body>
Expand Down
Binary file added bun.lockb
Binary file not shown.
Loading

0 comments on commit 5c33f29

Please # to comment.