Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix(syntax-highlighting): adds missing CSS imports to CodeBlock.tsx (#4890)
Maximilian Kraußc4baba852750
diff --git a/web/src/components/MemoContent/CodeBlock.tsx b/web/src/components/MemoContent/CodeBlock.tsxindex 62b7886b2..94ddfeed6 100644--- a/web/src/components/MemoContent/CodeBlock.tsx+++ b/web/src/components/MemoContent/CodeBlock.tsx@@ -6,6 +6,8 @@ import toast from "react-hot-toast";import { cn } from "@/lib/utils";import MermaidBlock from "./MermaidBlock";import { BaseProps } from "./types";+import "highlight.js/styles/atom-one-dark.css";+import "highlight.js/styles/github.css";// Special languages that are rendered differently.enum SpecialLanguage {