Skip to content

docs: document Lit adapter requirement and render-template string contract - #32

Merged
atherdon merged 2 commits into
mainfrom
docs/lit-adapter-and-render-template-notes
Oct 11, 2026
Merged

atherdon merged 2 commits into
mainfrom
docs/lit-adapter-and-render-template-notes

Conversation

@atherdon

Copy link
Copy Markdown
Contributor

Documents that parts must return strings and that Lit TemplateResults require a local adapter (renderEmailBody + stripLitMarkers).

  • Notes the dependency on @llazyemail/render-template and the known Lit interaction.
  • Directs generation work to @llazyemail/generate-template.
  • Updated both README and AGENTS.md.

This helps avoid the runtime errors that appear when Lit objects are passed into parts.

Related: LLazyEmail/_playing_with_lit email-renderer adapter.

@github-actions

Copy link
Copy Markdown

Rendered emails

This PR rendered email templates.

Open the run → Artifacts → download → open index.html.

@atherdon
atherdon merged commit d08fe56 into main Oct 11, 2026
7 checks passed
@atherdon
atherdon deleted the docs/lit-adapter-and-render-template-notes branch October 12, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant