markata

module
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: MIT

README

Markata

Write Markdown. Publish more than pages.

Markata builds static sites from Markdown. Define feeds to filter, sort, and paginate content into HTML, RSS, Atom, or JSON; use templates and plugins to shape the result.

Documentation · Installation · Releases

Install

# curl (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/WaylonWalker/markata/main/install.sh | bash

# mise
mise use -g github:WaylonWalker/markata

# uv
uv tool install markata

# uvx (run without installing)
uvx markata --help

# pip / pipx
pip install markata
pipx install markata

# Go (1.26+; current source)
go install github.com/WaylonWalker/markata/cmd/markata@main

Choose one method above, or download a binary from GitHub Releases. Check your installation with markata version.

PyPI now distributes the Go implementation after a version break from Python Markata. See installation details.

Quick start

mkdir my-site && cd my-site
markata config init
markata new "Hello World"
markata serve

Build the output when you're ready:

markata build

Set up your coding agent

markata agent install -g

See the documentation for agent configuration and other commands.

Learn more

Markata is the Go implementation (formerly markata-go). The compatibility command and existing markata-go.toml configuration remain supported. See the migration guide.

Directories

Path Synopsis
cmd
markata command
Package main provides the canonical Markata CLI entry point.
Package main provides the canonical Markata CLI entry point.
markata-go command
Package main provides the entry point for the markata-go CLI.
Package main provides the entry point for the markata-go CLI.
markata-go-lsp command
Package main provides the entry point for the markata-go Language Server Protocol server.
Package main provides the entry point for the markata-go Language Server Protocol server.
markata-go/cmd
Package cmd provides the CLI commands for markata-go.
Package cmd provides the CLI commands for markata-go.
markata-wasm command
Command markata-wasm exposes the standalone renderer inside a browser worker.
Command markata-wasm exposes the standalone renderer inside a browser worker.
markata-workbench command
Command markata-workbench serves the standalone Go Markdown editor.
Command markata-workbench serves the standalone Go Markdown editor.
internal
configdocs
Package configdocs extracts struct field doc comments from pkg/models so the serve settings sidebar can describe every config option.
Package configdocs extracts struct field doc comments from pkg/models so the serve settings sidebar can describe every config option.
configdocs/gen command
Command gen writes pkg/config/settings_docs_gen.go from pkg/models doc comments.
Command gen writes pkg/config/settings_docs_gen.go from pkg/models doc comments.
fontcatalog
Package fontcatalog owns the built-in font catalog and its immutable assets.
Package fontcatalog owns the built-in font catalog and its immutable assets.
testbinary
Package testbinary provides the Markata CLI binary used by integration tests.
Package testbinary provides the Markata CLI binary used by integration tests.
pkg
aesthetic
Package aesthetic provides design token management for markata-go themes.
Package aesthetic provides design token management for markata-go themes.
assets
Package assets provides functionality for downloading and self-hosting external CDN assets.
Package assets provides functionality for downloading and self-hosting external CDN assets.
blogroll
Package blogroll provides functionality for managing blogroll metadata.
Package blogroll provides functionality for managing blogroll metadata.
buildcache
Package buildcache provides incremental build caching for markata-go.
Package buildcache provides incremental build caching for markata-go.
buildlab
Package buildlab contains the filesystem and process primitives used by reproducible build experiments.
Package buildlab contains the filesystem and process primitives used by reproducible build experiments.
config
Package config provides configuration loading and management for markata-go.
Package config provides configuration loading and management for markata-go.
contentindex
Package contentindex defines the versioned Markata Content Index format.
Package contentindex defines the versioned Markata Content Index format.
criticalcss
Package criticalcss provides CSS extraction utilities for critical CSS optimization.
Package criticalcss provides CSS extraction utilities for critical CSS optimization.
csspurge
Package csspurge provides CSS analysis and unused rule removal functionality.
Package csspurge provides CSS analysis and unused rule removal functionality.
diagnostics
Package diagnostics provides shared diagnostic checks for markdown files.
Package diagnostics provides shared diagnostic checks for markdown files.
editorial
Package editorial provides deterministic, isolated Git authoring for post editorial work.
Package editorial provides deterministic, isolated Git authoring for post editorial work.
editorworkspace
Package editorworkspace discovers and loads a trusted local editor workspace.
Package editorworkspace discovers and loads a trusted local editor workspace.
encryption
Package encryption provides AES-256-GCM encryption utilities for private posts.
Package encryption provides AES-256-GCM encryption utilities for private posts.
fontpacks
Package fontpacks implements Markata's catalog-driven typography system.
Package fontpacks implements Markata's catalog-driven typography system.
htmltotext
Package htmltotext converts HTML content to plain text with proper formatting.
Package htmltotext converts HTML content to plain text with proper formatting.
imageindex
Package imageindex defines the versioned Markata image inventory format and the build-time collector used by the generated image library.
Package imageindex defines the versioned Markata image inventory format and the build-time collector used by the generated image library.
importer
Package importer provides functionality to import content from external sources.
Package importer provides functionality to import content from external sources.
lifecycle
Package lifecycle provides the lifecycle management system for markata-go.
Package lifecycle provides the lifecycle management system for markata-go.
lint
Package lint provides linting functionality for markata-go.
Package lint provides linting functionality for markata-go.
lsp
Package lsp provides a Language Server Protocol (LSP) implementation for markata-go.
Package lsp provides a Language Server Protocol (LSP) implementation for markata-go.
migrate
Package migrate provides tools for migrating from Python markata to markata-go.
Package migrate provides tools for migrating from Python markata to markata-go.
pageweight
Package pageweight reports the uncompressed weight of generated HTML pages.
Package pageweight reports the uncompressed weight of generated HTML pages.
palettes
Package palettes provides color palette management for markata-go themes.
Package palettes provides color palette management for markata-go themes.
plugins
Package plugins provides lifecycle plugins for markata-go.
Package plugins provides lifecycle plugins for markata-go.
renderingcontract
Package renderingcontract contains the versioned, language-neutral presentation contract.
Package renderingcontract contains the versioned, language-neutral presentation contract.
renderingrecipe
Package renderingrecipe compiles normalized rendering semantics into portable, deterministic assets.
Package renderingrecipe compiles normalized rendering semantics into portable, deterministic assets.
resourcehints
Package resourcehints provides detection and generation of resource hints (preconnect, dns-prefetch, preload, prefetch) for web performance optimization.
Package resourcehints provides detection and generation of resource hints (preconnect, dns-prefetch, preload, prefetch) for web performance optimization.
search
Package search provides full-text search using bleve for ranked results.
Package search provides full-text search using bleve for ranked results.
searchapi
Package searchapi provides a read-only HTTP API for bleve full-text search.
Package searchapi provides a read-only HTTP API for bleve full-text search.
servecontrol
Package servecontrol holds the live state shared by serve clients.
Package servecontrol holds the live state shared by serve clients.
servefix
Package servefix plans reviewable source edits for serve diagnostics.
Package servefix plans reviewable source edits for serve diagnostics.
serveopen
Package serveopen builds commands for opening local source and preview URLs.
Package serveopen builds commands for opening local source and preview URLs.
servetui
Package servetui presents a servecontrol session in a terminal.
Package servetui presents a servecontrol session in a terminal.
services
Package services provides reusable business logic interfaces for markata-go.
Package services provides reusable business logic interfaces for markata-go.
sidebar
Package sidebar provides functions for building sidebar navigation from various sources.
Package sidebar provides functions for building sidebar navigation from various sources.
sourcegit
Package sourcegit provides the canonical Git state used for source builds.
Package sourcegit provides the canonical Git state used for source builds.
suggest
Package suggest ranks close names for user-facing diagnostics.
Package suggest ranks close names for user-facing diagnostics.
templates
Package templates provides template engine functionality for markata-go.
Package templates provides template engine functionality for markata-go.
terminaltheme
Package terminaltheme resolves semantic colors shared by markata-go's CLI logs, prompts, and terminal user interfaces.
Package terminaltheme resolves semantic colors shared by markata-go's CLI logs, prompts, and terminal user interfaces.
themes
Package themes provides embedded theme files for markata-go.
Package themes provides embedded theme files for markata-go.
tui
Package tui provides an interactive terminal user interface for markata-go.
Package tui provides an interactive terminal user interface for markata-go.
urlmentions
Package urlmentions consumes versioned public URL-reference indexes.
Package urlmentions consumes versioned public URL-reference indexes.
workbench
Package workbench provides a server backed Markdown editor that can be embedded in Go applications.
Package workbench provides a server backed Markdown editor that can be embedded in Go applications.
Command gensynonyms parses WordNet data files and generates a curated synonym JSON file for embedding in the markata-go binary.
Command gensynonyms parses WordNet data files and generates a curated synonym JSON file for embedding in the markata-go binary.
rendering-contract command
Command generate-rendering-contract projects the language-neutral contract to the Go and browser consumers.
Command generate-rendering-contract projects the language-neutral contract to the Go and browser consumers.
rendering-recipe command
Command rendering-recipe validates and compiles the canonical recipe bundle.
Command rendering-recipe validates and compiles the canonical recipe bundle.
shortcuts-modal-render command
Command shortcuts-modal-render renders the actual Markata Pongo2 template for browser acceptance; the browser test must not strip template syntax.
Command shortcuts-modal-render renders the actual Markata Pongo2 template for browser acceptance; the browser test must not strip template syntax.
wasm-assets command
Command wasm-assets exports the embedded presentation bundle for the static demo.
Command wasm-assets exports the embedded presentation bundle for the static demo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL