Closed tyom closed 7 years ago
In some cases we add a header or footer to panels. There's an existing .panelfooter class I'm not sure if it's been extended to include .panelheader but this would be useful. Is this possible in a custom filter?
@daniellemullis
Currently MD filters are used for simple cases that just wrap content. One exception is reveal
filter which takes parameter. It is possible to add more parameters to custom filters but it may complicate the Markdown text a bit too much. We need to take a closer look at how we use them before going too deep into custom filters territory. I think there's a Trello card for this in backlog.
In the meantime we use panel as a component (meaning it is defined in manifest.json
or Wagtail). It receives values separately and is injected alongside main Markdown document.
Pending final copy.
Trello card