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
set HasCode only for CodeBlock (#4842)
unuunn452f47c4b98a
diff --git a/server/runner/memopayload/runner.go b/server/runner/memopayload/runner.goindex 596d7e83a..141110d1d 100644--- a/server/runner/memopayload/runner.go+++ b/server/runner/memopayload/runner.go@@ -97,7 +97,7 @@ func RebuildMemoPayload(memo *store.Memo) error {if !n.Complete {property.HasIncompleteTasks = true}- case *ast.Code, *ast.CodeBlock:+ case *ast.CodeBlock:property.HasCode = truecase *ast.EmbeddedContent:// TODO: validate references.