Skip to content

Commit

Permalink
WIP fixing help section
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed Dec 21, 2023
1 parent 8d98b5d commit a9a77bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"marked": "^7.0.4",
"nanoid": "^5.0.3",
"preact": "^10.6.5",
"prismjs": "^1.29.0",
"source-map-js": "^1.0.2",
"tailwindcss": "^3.0.24",
"three": "^0.155.0"
Expand Down
1 change: 1 addition & 0 deletions astro/src/components/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import styles from './Help.module.css'
import { useState, useEffect } from 'preact/hooks'
import { marked } from 'marked'
import { loadCodeFromString } from '../lib/loadCodeFromString.ts'
import { Prism } from "prism.js";

marked.setOptions({
highlight: function (code, language) {
Expand Down
4 changes: 0 additions & 4 deletions astro/src/pages/editor.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ import '../css/global.css'
href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css"
rel="stylesheet"
/>
<!-- Prism JS -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"
></script>

<meta name="generator" content={Astro.generator} />
<title>Blot</title>
Expand Down

0 comments on commit a9a77bc

Please sign in to comment.