Notes & Markdown

Last updated: 2026-08-21

Every note in Plainva is an ordinary Markdown file (.md). This page explains how to write comfortably and what actually ends up in the file — because that is exactly what makes your notes portable: any text editor, Obsidian, or a git diff can read them.

The core principle: everything is text

Whatever you see in Plainva — formatted text, tables, properties, icons — is stored as open text:

---
type: Note
tags: [project]
plainva:
  icon: "🚀"
  header_color: "#2f6f6f"
---
# My Project

A **bold** thought with a link to [[Another Note]].

- [ ] First task

The block between the --- lines is the frontmatter (YAML): that is where the note’s properties live. Below it comes the regular Markdown text. Plainva-specific presentation (icon, header color) is bundled under the single plainva: key — other programs simply ignore it.

Writing in Live Preview

Live Preview is the default mode: Markdown renders as you type yet stays editable at all times.

The slash menu

Type / at the start of a line to open the insert menu. It is grouped into sections:

More writing helpers

Properties (frontmatter)

The Properties section in the right sidebar shows the note’s frontmatter as a form. Add property creates new ones; every property has a Field type:

GroupTypes
BasicText, Number, Checkbox, Date, Date & time
ChoiceSelect, Status, Multi-select
Lists & relationsList, Tags, Relation
Web & contactURL, Email, Phone

Choice types can carry fixed options with a Color and (for Status) a Group/stage — these option lists are managed in databases (.base), see Databases (.base).

Protected are the OKF system fields Plainva manages: type (the value is selectable from a dropdown of known types, name/field type/delete are locked) and — where older notes still carry it — okf_version (display only; since OKF 0.2 the field belongs in the root index.md alone). Background: OKF.

Status, stale notice and review mark (OKF 0.2)

Five optional properties from OKF 0.2 let a note say where it came from and whether it still holds — Plainva shows them without any setup:

Plainva sets generated and sources only where it creates notes itself — in the importer, in mail capture and in the task sync; the editor never stamps, and existing notes are not stamped after the fact. The field contract is in the File Format Reference, the background under OKF.

Document icon and header color

Every note can carry an icon (Notion-style above the title, also visible in tabs and the file tree) and a full-width color stripe:

Templates

Set a Template Folder under Settings → Vault → Content & structure (Choose folder… next to the field lets you pick the folder right inside the vault). Then insert templates via Ctrl+Alt+T or the slash command Insert Template. Templates fully define the content of new files — including frontmatter: if a template brings its own type, the template wins. When inserting into an existing note, the template’s frontmatter is left out — only the content lands.

Placeholders: templates fill in named placeholders — no scripts, no expressions; none of it executes code.

PlaceholderWhat it inserts
{{title}}The note’s title
{{date}}, {{time}}Date and time; with your own format: {{date:DD.MM.YYYY}}
{{date+7}}, {{date-1}}A shifted date, combinable with a format
{{yesterday}}, {{tomorrow}}The day before, the day after
{{weekday:monday}}, {{weekday:next friday}}That weekday of this or the following week; a format follows a second colon: {{weekday:monday:DD.MM.}}. Where the week begins follows your calendar setting
{{daily}}, {{daily+1}}, {{daily-1}}A link to today’s, tomorrow’s or yesterday’s daily note; with your own label: {{daily+1:Tomorrow}}
{{folder}}, {{vault}}The note’s folder, the vault’s name
{{cursor}}No text — marks where the caret lands afterwards
{{prompt:Label}}, {{prompt:Label|Default}}Asks you for text (shown as Label)
{{select:Label|A,B,C}}Asks you with a list of choices
{{date_prompt:Label}}Asks you for a date
{{selection}}The selected text — when inserting a template
{{clipboard}}The clipboard — it arrives as a pre-filled question, never unnoticed in the note
\{{date}}The placeholder itself, unresolved

Language of dates: weekday and month names (dddd, MMMM) follow the app language — in a German interface {{date:dddd, D. MMMM YYYY}} writes Mittwoch, 29. Juli 2026. A daily note’s file name deliberately stays English: it has to match the format that created it, or Plainva stops finding the daily notes you already have.

When a template asks something, Plainva asks everything in one dialog before the note is written — whether you insert or create; cancelling creates nothing. Only notes created in the background (the task sync, for instance) are never asked about: there the answers stay empty. A placeholder Plainva does not know stays visible — so a typo looks like a typo.

On the phone the same engine runs: placeholders are filled in, a template’s questions arrive together in one sheet (cancelling creates nothing), and the folder → template and note type → template rules apply there as well — so a note in Projekte/ starts the same way on both devices. Two differences: the rules are authored on the desktop (the phone only applies them), and {{weekday:…}} always counts from Monday there, because the first-day-of-week setting does not exist on mobile yet.

Template-only settings: a template can carry settings that apply to the template itself — that its tasks stay out of the Tasks view, or which databases it belongs to. A note created from it does not inherit them. Very old daily notes may still carry them; the FAQ explains how to find them.

Templates per folder: under Settings → Vault → Content & structure → Templates you map a folder to a template — every new note there then starts from it, without you choosing anything. The mapping also covers subfolders; when several match, the longest path wins (Projects/Clients beats Projects). You map a template to a note type the same way; it applies when no folder rule covers the note — folder beats type. New note from template … (right-click in the file tree, the command palette or the quick switcher) lets you pick one explicitly — that beats every mapping. The mappings live in the settings, not in the notes, and travel to your other devices through the settings sync.

Creating templates works from anywhere: the command palette (Ctrl+P) offers Create new template (a fresh template opens for editing) and Save current note as template (copies the open note into the template folder). Templates are ordinary Markdown files — edit, rename or delete them right in the file tree.

Daily notes

Open Daily Note (sidebar) or a click in the Calendar creates today’s note using your date format in the configured daily notes folder, optionally from a template.

Tasks, formulas, diagrams and footnotes

Printing and saving as PDF

The editor’s menu and the command palette (Ctrl+P) have Print / Save as PDF…: printing always uses the read view (from live/source, Plainva switches into it first). In the system dialog you can pick “Save as PDF” instead of a printer.

Exporting a note

Opening a note in another editor

Your notes are plain .md files, so any Markdown editor can open them. The editor’s menu has Open in default app, which hands the current note to the app your system uses for Markdown files (Byword, MacDown, VS Code and so on). Plainva keeps watching the file, so edits you make there appear here automatically.

Images and attachments

What about Obsidian?

Everything stays standard Markdown with standard frontmatter. Obsidian opens the files fully; it shows the bundled plainva: key as a non-editable object in its properties panel — that is intentional and harmless.

See also

Formatting a selection

When a selection spans multiple lines, bold, italic, strikethrough, highlight, and inline code are applied separately to every non-empty line. List, quote, heading, and task prefixes stay outside the inline markers. Links remain single-line because a multiline link label is not portable Markdown.

An ATX heading and a GFM task are alternative block types, so Plainva does not write an invalid hybrid. Inline formatting works in both; use - [ ] **Important task** for an emphasized task title.