Crosswake.CapabilityMap.Renderer (crosswake v0.2.4)

View Source

Deterministic Markdown renderer for the canonical capability map guide.

Summary

Types

action()

@type action() :: :created | :reused | :updated

Functions

render()

@spec render() :: String.t()

render(rows)

@spec render([Crosswake.CapabilityMap.Row.t() | map()]) :: String.t()

write()

@spec write() :: {:ok, action()}

write(path)

@spec write(String.t()) :: {:ok, action()}

write(path, rows)

@spec write(String.t(), [Crosswake.CapabilityMap.Row.t() | map()]) :: {:ok, action()}