Embedding files
Show another file, a CSV table, an image or a code file inside this one: ![[Note name]] or /path on a line of its own.
Put ![[Note name]] on a line of its own and the file's text shows right under it, read-only. The line stays as you typed it. Add a heading to show only that section: ![[Roadmap#Q3 goals]] shows the Q3 goals heading and everything under it, up to the next heading of the same level.
A line holding only a slash and a file name works too, and not only for files:
A file path is looked up next to the file first, then from the vault root. Start a line with / and type the start of a file's name: the rest of the best match appears in faded text, and Tab (or →) accepts it. The slash menu also lists matching notes; picking one writes its path for you. Or type /embed anywhere and pick Embed file: it puts a / on a line of its own (splitting the line if you were mid-sentence) and opens the menu there, so you can choose a file or type a file's path.
Embeds stay current: a file open in the editor shows its unsaved edits, and other files are checked again whenever you come back to the window, so a CSV you just changed in a spreadsheet app shows its new rows. Click a file's name above its embed to open it. Private files stay hidden until you show them, and a board shows its caption.
To build one document from many, such as a book whose main note holds only /01-introduction.md, /02-analysis.md and so on, use Export as PDF or Export as Compiled Markdown: every embed is filled in, embeds inside embedded files too, CSV files become tables, code files code blocks, and images keep working. A file that would end up inside itself is left as its line, so nothing loops.