I tried this and styles with ha-markdown, ha-markdown-element and p, but there were no changes.
In the Inspector i can enter this and it works.
cards:
- type: custom:layout-card
layout_type: custom:vertical-layout
cards:
- type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
width: 400
cards:
- type: markdown
content: 'Harmony Wohnzimmer'
style: |
ha-card {
font-size: 24px;
text-align: center;
}
- type: custom:layout-card
layout_type: custom:grid-layout
title: Harmony Wohnzimmer
layout:
grid-template-columns: 33% 34% 33%
grid-template-rows: 60px
grid-gap: 0px 0px
cards: