WORK-265
Setting up your dashboard 0 entities found · 8/32 branches scanned
ID:WORK-265Status:ready

Shared markdoc formatter functions

Register a small set of author-facing markdoc functions — currency, date, number, join — in @refrakt-md/runes as the shared value-formatting layer, usable anywhere markdoc transforms run: collection cells, body templates, and entityRoutes render strings. Keeps formatting out of fields and out of any bespoke projection DSL.

Priority:mediumComplexity:simpleMilestone:v0.16.0Source:SPEC-070

Criteria completion

Criteria completion: 0 of 4 (0%) checked; tracking started on May 25, no incremental history yet0%25%50%75%100%May 25Jun 15

Tracking started May 25 — check back for trends.

Acceptance Criteria

  • currency, date, number, join registered as markdoc functions available wherever markdoc runs
  • Functions are pure formatters with documented signatures and examples
  • Available in collection heading-delimited cells (WORK-264), body templates (WORK-263), and entityRoutes render / render-template (WORK-268)
  • Unit tests for each formatter, including locale/edge handling for currency and date

Dependencies

None — independent; consumed by WORK-263, WORK-264, WORK-268.

References

  • SPEC-070
  • SPEC-069 — same functions usable in entityRoutes render strings