Skip to content

Add creation time metadata to blocks#410

Merged
heyman merged 12 commits intomainfrom
add-block-creation-time
Dec 17, 2025
Merged

Add creation time metadata to blocks#410
heyman merged 12 commits intomainfrom
add-block-creation-time

Conversation

@heyman
Copy link
Copy Markdown
Owner

@heyman heyman commented Dec 10, 2025

  • Add block metadata to the heynote buffer/block syntax
  • Show the creation time of a block (if set) in the status bar
  • Show the creation time for folded blocks
  • Set created metadata for blocks that are created

This changes Heynote's buffer syntax from:

{BUFFER METADATA JSON}
∞∞∞text-a
text block
with auto detection on
∞∞∞python
# python block

to:

{BUFFER METADATA JSON}
∞∞∞text-a;created=2025-12-10T14:43:39.852Z
text block
with auto detection on
∞∞∞python;created=2025-12-10T14:43:39.852Z
# python block

but keeps backwards compatibility with the old syntax

- Add block metadata to the heynote block syntax
- Show the creation time of a block (if set) in the status bar
- Set created metadata of a block that is created
@heyman heyman force-pushed the add-block-creation-time branch from 385624d to 3cfa5bd Compare December 12, 2025 11:11
@heyman heyman marked this pull request as ready for review December 17, 2025 11:17
@heyman heyman merged commit f2891af into main Dec 17, 2025
3 checks passed
@heyman heyman mentioned this pull request Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant