# How to edit the preview digest layout

**URL:** https://meta.discourse.org/t/how-to-edit-the-preview-digest-layout/142832
**Category:** Support
**Tags:** activity-summary
**Created:** [27 בפברואר,‏ 2020,‏ 10:28pm UTC](https://meta.discourse.org/t/how-to-edit-the-preview-digest-layout/142832 "2020-02-27T22:28:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jenni\_alencar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jenni_alencar/32/169068_2.png) [@jenni\_alencar](https://meta.discourse.org/u/jenni_alencar)
#### Post date: [27 בפברואר,‏ 2020,‏ 10:28pm UTC](https://meta.discourse.org/t/how-to-edit-the-preview-digest-layout/142832/1 "2020-02-27T22:28:13Z")

</div>

Hi community,

How can I edit the layout of preview digest?

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/e/3e40b79489339cc962cb06eb2a8a478f7f970a0d.png)

Also, how can I see the html of this email?

Thank you.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [27 בפברואר,‏ 2020,‏ 10:44pm UTC](https://meta.discourse.org/t/how-to-edit-the-preview-digest-layout/142832/2 "2020-02-27T22:44:38Z")

</div>

Not sure if it’s still the case, but the search gave me this:

> [@Customizable Email Templates](https://meta.discourse.org/t/customizable-email-templates/35818/11):
>
> Unfortunately the digest doesn’t use our normal template code as it uses a [custom ruby template](https://github.com/discourse/discourse/blob/master/app/views/user_notifications/digest.html.erb) due to their being a lot of display logic present. You can now [customize all the text](https://meta.discourse.org/t/customize-all-text-in-discourse/36092) though!

> [@How to change the style of the email template of the digest?](https://meta.discourse.org/t/how-to-change-the-style-of-the-email-template-of-the-digest/61653/2):
>
> Unfortunately the only part of the digest that is editable is the logo, which can be done via site settings. CSS in email is quite a tricky task, so we’ve hardcoded the styles in the template:

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10 בפברואר,‏ 2024,‏ 11:21pm UTC](https://meta.discourse.org/t/how-to-edit-the-preview-digest-layout/142832/3 "2024-02-10T23:21:14Z")

</div>



---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [25 בפברואר,‏ 2024,‏ 2:18am UTC](https://meta.discourse.org/t/how-to-edit-the-preview-digest-layout/142832/4 "2024-02-25T02:18:48Z")

</div>


