Leo
Code and text editor, outliner and project manager in one program
Leo is a code and text editor that also works as an outliner and project manager. It is aimed at programmers and writers who want to organise source code, notes and plans in one tree-shaped document. The source describes it as a way to organise code and ideas.
The facts available here are limited, so this listing does not cover the platforms, licence or pricing. The project publishes its documentation and details on its own website, which is the place to check those points before installing.
Alternatives to Leo
Products that do a similar job in Notes & Writing.
Logseq
Local-first outliner for linked notes and a personal knowledge graph
Trilium Notes
Hierarchical note-taking app for building a personal knowledge base
Zettlr
Open-source markdown editor for writing and linked notes
TextMate
general-purpose text editor for macOS
gedit
General-purpose text editor for GNOME on Linux
KWrite
Small text editor with syntax highlighting and Vi mode
Nextpad++
Unofficial native Mac port of the Notepad++ text editor
CherryTree
Hierarchical note keeper with rich text and code boxes