Skip to content

Commit

Permalink
Fixing framework with deno
Browse files Browse the repository at this point in the history
  • Loading branch information
nshiab committed Oct 11, 2024
1 parent 7c5e0ae commit e0b86d1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions simple-data-analysis.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ export default function createChart(
}
`;

const getHighlightedCodeTs = `import { FileAttachment } from "@observablehq/stdlib";
import { html } from "htl";
import hljs from "highlight.js/lib/core";
import typescript from "highlight.js/lib/languages/typescript";
const getHighlightedCodeTs = `import { FileAttachment } from "npm:@observablehq/stdlib";
import { html } from "npm:htl";
import hljs from "npm:highlight.js/lib/core";
import typescript from "npm:highlight.js/lib/languages/typescript";
hljs.registerLanguage("typescript", typescript);
Expand All @@ -315,6 +315,7 @@ export default async function getHighlightedCode(file: FileAttachment) {
return wrappedCode;
}
`;

const getTempChangeTs = `import { formatNumber } from "journalism";
Expand Down

0 comments on commit e0b86d1

Please sign in to comment.