sure. In its simplest form you can scroll the contents like:
type: custom:hui-element
card_type: markdown
card_mod:
style: |
ha-card.type-markdown {
box-shadow: none;
border-top: 1px groove var(--divider-color);
overflow-y: scroll;
height: 300px;
}
content: >
note this is using some custom elements. in a single markdown card you can use it directly, but I have these inside entities cards, so have set these extra mods to secure it only applies to that single card.
a bit more complex, and that is what I was referring to, would be to use paragraphs <p>text</p>
, and scroll inside the contents:
see the post by Ildar and some issues with that because of templating: 🔹 Card-mod - Add css styles to any lovelace card - #4376 by Mariusthvdb
we started exploring that here