mirror of
https://github.com/zap-proto/md.git
synced 2026-10-30 15:04:35 +00:00
Deterministic structured-value -> canonical, token-efficient markdown for the ZAP ecosystem. Array-of-uniform-objects -> GFM table (the token win over JSON's per-row key repetition); object -> ordered kv list; nested -> headings; code/ diff -> fenced blocks. Normalizes native Go values through encoding/json, so the markdown mirrors the JSON codec. ParseTable closes the round-trip on tables. Stdlib only. 12 tests green; ~33% fewer bytes/tokens on an 8-row result set.
10 lines
401 B
Plaintext
10 lines
401 B
Plaintext
zap-proto sub-protocol crate.
|
|
Licensed under either of MIT (https://opensource.org/licenses/MIT) or
|
|
Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0) at your option.
|
|
|
|
Copyright (c) The ZAP Protocol Authors.
|
|
|
|
Unless you explicitly state otherwise, any contribution intentionally
|
|
submitted for inclusion in this project shall be dual-licensed as
|
|
above without any additional terms or conditions.
|