render

package
v0.92.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package render provides the render.markdown stream operator, which reformats FileContent into a single Markdown document. The editor option selects the framing (markdown, zed, claude, fold).

Typical use:

fs.walk -> fs.filter:ext="go" -> fs.read -> render.markdown:editor="zed" -> out.file:path="context.md"

Index

Constants

View Source
const ID = "render"

Variables

This section is empty.

Functions

func Bundle

func Bundle(_ map[string]string) compiler.Bundle

func Library

func Library() action.Library

func Markdown

Markdown concatenates every file into a single Markdown stream. Each file's Content is replaced with its formatted representation; FileMeta is preserved so downstream stages can still inspect paths.

func MarkdownOperator

func MarkdownOperator() action.NamedOperator

Types

type Config

type Config struct {
	// Editor selects the framing: "markdown" (default), "zed", "claude",
	// or "fold" (details/summary).
	Editor   string `json:"editor"    cli:"editor,e"`
	NoHeader bool   `json:"no_header" cli:"no_header"`
	Prompt   string `json:"prompt"    cli:"prompt"`
}

Config controls render.markdown.

Jump to

Keyboard shortcuts

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