Junk Yard · Cards, notes and editing
Can I keep code snippets in the Junk Yard?
Short answer: Yes. Copied code is kept exactly and copies back unchanged, and the note editor has a monospace style for writing code. Pin or lengthen the lifetime of snippets you reuse.
Yes. Copied code lands as a text scrap with its exact characters, and clicking it copies it back unchanged. When writing your own note, use the monospace button in the note editor to format code so it's easy to read.
Search finds snippets by any word in them. For snippets you reuse often, give them a longer lifetime or pin them — and keep the permanent ones somewhere proper, because every scrap eventually clears.