Code snippets
A code snippet manager that keeps the context
Most snippet tools store the code and lose the reason you saved it. Foliosodev is a code snippet manager where every snippet sits on a page with the explanation, the gotcha and the link to the issue that taught you.
Real code blocks, not formatted text
Code blocks are highlighted with highlight.js grammars and carry line numbers. Pick the language from the block itself and press Tab to indent the selected lines rather than leave the editor.
- Syntax highlighting for the languages you work in, from Bash and YAML to TypeScript, Python, PHP and SQL
- A language picker on every block, and line numbers you can switch off in settings
- Tab and Shift+Tab indent and outdent the selected lines
Tag snippets by language
Every space comes with a ready-made tag for each common language, from TypeScript to Bash. Add one to a page and it shows beside the page in the space's list, alongside the groups and tags you create yourself.
Find the snippet, then take it with you
Code is part of the full-text search index, so searching for a function name or a config key finds the page that uses it. Export the page as Markdown and the code comes out as fenced blocks with the language intact.
Write it down once. Find it every time after.
Free to start, Markdown out whenever you want it.