Cooklang

From Just Solve the File Format Problem
Revision as of 17:37, 25 January 2026 by Ross-spencer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name Cooklang
Ontology
Extension(s) .cook

Cooklang is a markup language for recipes. It is described as a simple, human-readable text format for writing recipes that can be understood by both cooks and computers.

The Cooklang manifesto further describes its purpose: "Cooking is one of the oldest human skills, yet the way we store and share recipes is broken. Recipes are trapped in ad-ridden websites, locked inside proprietary apps, or written in ways that computers can’t understand. Cooklang is here to change that."

Contents

Specification

A specification is described on the Cooklang website and on GitHub:

Details

Cooklang provides an entirely new syntax for marking up documents. There are inline and metadata elements created for:

  • Ingredients.
  • Steps.
  • Comments.
  • Metadata.
  • Cookware.
  • Timer.

There are further specifications for:

  • Shopping Lists,
  • Pantry Configuration,
  • Scaling and Servings.

As well as support for adding images to recipes.

Basic example

An example recipe on the Cooklang website looks as follows:

Crack the @eggs{3} into a #blender, then add the @plain flour{125%g},
@milk{250%ml} and @sea salt{1%pinch}, and blitz until smooth.

Example files

Example files can also be found on GitHub:

Application support

Cooklang has been developed in concert with its own ecosystem applications.

With syntax highlighting available for different code editors.

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox