diff --git a/shikiHighlighter.js b/shikiHighlighter.js index f325079..1c9c3b4 100644 --- a/shikiHighlighter.js +++ b/shikiHighlighter.js @@ -17,7 +17,9 @@ export const highlighter = await createHighlighter({ 'mdx', 'bash', 'svelte', - 'yaml' + 'yaml', + 'lua', + 'python' ] }); diff --git a/src/lib/components/Tooltip.svelte b/src/lib/components/Tooltip.svelte new file mode 100644 index 0000000..896f3ca --- /dev/null +++ b/src/lib/components/Tooltip.svelte @@ -0,0 +1,45 @@ + + + + + + +{#if isHovered} +
+ +
+{/if} + + diff --git a/src/routes/blog/+layout.svelte b/src/routes/blog/+layout.svelte index 94b0ffc..627d8a4 100644 --- a/src/routes/blog/+layout.svelte +++ b/src/routes/blog/+layout.svelte @@ -13,28 +13,49 @@ import Navbar from "$lib/components/Navbar.svelte";