Skip to content

Commit a87f21d

Browse files
authored
Update details.md
1 parent e69058c commit a87f21d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

docs/templates/hn/details.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Main object: `import TObject from 'atherdon-old-newsletter-js-outertemplate';`
4646

4747

4848

49-
Absolutely! I'll prepare a comprehensive, clear, and organized documentation draft for the components you linked, suitable for your page at [details.md](https://github.com/LLazyEmail/documentation/blob/main/docs/templates/hn/details.md). I'll include descriptions, code snippets, and HTML previews for each component. Here is the detailed draft:
5049

5150
---
5251

@@ -279,26 +278,21 @@ These components help create clean, semantic, and visually appealing email templ
279278

280279
---
281280

282-
Feel free to customize the descriptions, style snippets, or add further examples as needed. Would you like me to prepare this as a downloadable markdown file for your use?
283-
```
284281

285282
---
286283

287284

288-
## 2nd VERSION
289285

290-
Thank you for pointing that out. I’ve reviewed the links you provided and I understand that your components are functions that accept attributes and inner content to generate HTML strings dynamically.
286+
## 2nd VERSION
291287

292-
Based on the code in those files, here is a refined version of the documentation with example usage that matches how your components are designed — they are functions that take an `attributes` object and `children` (inner content), returning HTML strings.
288+
a refined version of the documentation with example usage that matches how your components are designed — they are functions that take an `attributes` object and `children` (inner content), returning HTML strings.
293289

294-
---
295290

296-
```markdown
297291
# Template Components Documentation
298292

299293
This documentation describes various components implemented as functions that generate HTML strings for email templates. These components accept attribute objects for customization and inner content as arguments, simplifying the process of building dynamic, styled email content.
300294

301-
---
295+
302296

303297
## Button
304298

0 commit comments

Comments
 (0)