Cooklang Rich Preview

by shepherdjerred
5
4
3
2
1
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Preview Cooklang .cook files.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Cooklang Rich Preview

An Obsidian plugin for previewing Cooklang .cook recipe files.

Rich recipe preview with ingredients, directions, and metadata

Features

  • Rich recipe rendering with ingredients, cookware, and timers highlighted
  • YAML frontmatter support for metadata (title, servings, prep time, etc.)
  • Section-aware rendering (ingredients list, directions with step numbers)
  • Inline quantity display for ingredients
  • Checkbox support for ingredient lists
  • Syntax highlighting for .cook files
  • Supports both Cooklang markup and plain-text recipes

Installation

From Obsidian Community Plugins

  1. Open Settings > Community plugins
  2. Search for "Cooklang"
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder cooklang-rich-preview in your vault's .obsidian/plugins/ directory
  3. Copy the downloaded files into that folder
  4. Restart Obsidian and enable the plugin in Settings > Community plugins

Screenshots

File Explorer

.cook files appear in your vault alongside your other notes.

File explorer showing .cook recipe files

Source View

Write recipes using Cooklang syntax with YAML frontmatter for metadata.

Source view of a .cook file

Rich Preview

Ingredients are highlighted with quantities, directions are numbered, and timers stand out.

Rich preview rendering of a recipe

Cooklang Syntax

Preheat #oven{} to 350°F.

Mix @flour{2%cups} and @sugar{1%cup} in a #bowl{}.

Bake for ~{30%minutes}.
  • @ingredient{quantity%unit} — ingredients
  • #cookware{} — cookware
  • ~{quantity%unit} — timers

License

GPL-3.0 — see LICENSE for details.