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
chore: update memo content formatting and enhance link styling
Steven2d4361d5fe43
diff --git a/store/seed/sqlite/01__dump.sql b/store/seed/sqlite/01__dump.sqlindex 96f58b1dd..7cc558778 100644--- a/store/seed/sqlite/01__dump.sql+++ b/store/seed/sqlite/01__dump.sql@@ -3,7 +3,7 @@ INSERT INTO memo (id,uid,creator_id,content,visibility,payload) VALUES(1,'hjnAKZINSERT INTO memo (id,uid,creator_id,content,visibility,payload) VALUES(2,'a2KkqjW4hyQMUeSRRehRQ5',1,'Ok, I''m able to upload **some images**. #features','PUBLIC','{"tags":["features"]}');INSERT INTO memo (id,uid,creator_id,content,visibility,payload) VALUES(3,'8x7bm252MAJfGBqW5dHHPE',1,replace('And here are my **tasks**. #todo\n- [x] deploy memos for myself;\n- [ ] share to my friends;\n- [ ] sounds good to me!','\n',char(10)),'PUBLIC','{"tags":["todo"],"property":{"hasTaskList":true,"hasIncompleteTasks":true}}');INSERT INTO memo (id,uid,creator_id,content,visibility,payload) VALUES(4,'kBfJKAyFvE52kQ9dmSZMfE',1,'Wow, it can be **referenced** too! REALLY GREAT!!! #features','PUBLIC','{"tags":["features"]}');-INSERT INTO memo (id,uid,creator_id,content,visibility,pinned,payload) VALUES(5,'RF9XnAcWpcBzKttK83zQtf',1,replace('#sponsor **[Warp](https://go.warp.dev/memos)**: A modern terminal reimagined to work with AI, helping developers build faster and more efficiently.\n','\n',char(10)),'PUBLIC',1,'{"tags":["sponsor"],"property":{"hasLink":true}}');+INSERT INTO memo (id,uid,creator_id,content,visibility,pinned,payload) VALUES(5,'RF9XnAcWpcBzKttK83zQtf',1,replace('#sponsor **[Warp](https://go.warp.dev/memos)**: A modern terminal reimagined to work with AI, helping developers build faster and more efficiently.\n[](https://go.warp.dev/memos)','\n',char(10)),'PUBLIC',1,'{"tags":["sponsor"],"property":{"hasLink":true}}');INSERT INTO memo_relation VALUES(4,1,'REFERENCE');INSERT INTO reaction VALUES(1,1722097094,1,'memos/4','👍');INSERT INTO reaction VALUES(2,1722097100,1,'memos/4','🔥');diff --git a/web/src/components/MemoContent/Image.tsx b/web/src/components/MemoContent/Image.tsxindex 76ae0cdd4..755b9f315 100644--- a/web/src/components/MemoContent/Image.tsx+++ b/web/src/components/MemoContent/Image.tsx@@ -4,7 +4,7 @@ interface Props {}const Image: React.FC<Props> = ({ altText, url }: Props) => {- return <img src={url} alt={altText} decoding="async" loading="lazy" />;+ return <img className="rounded" src={url} alt={altText} decoding="async" loading="lazy" />;};export default Image;diff --git a/web/src/components/MemoContent/Link.tsx b/web/src/components/MemoContent/Link.tsxindex 18486998e..994d66dee 100644--- a/web/src/components/MemoContent/Link.tsx+++ b/web/src/components/MemoContent/Link.tsx@@ -47,7 +47,7 @@ const Link: React.FC<Props> = ({ content, url }: Props) => {<Tooltip open={showTooltip}><TooltipTrigger asChild><a- className="underline text-primary hover:text-primary/80"+ className="underline text-primary hover:opacity-80 transition-all"target="_blank"href={url}rel="noopener noreferrer"