jeffreytse / jekyll-spaceship

🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
MIT License
626 stars 67 forks source link

Feature request: Parent/wrapper element in element-processor #95

Open vincerubinetti opened 7 months ago

vincerubinetti commented 7 months ago

This might be out of scope for the project, but it would really save heartache in my very specific case:

I want to be able to wrap <table> elements in a <div> so I can add overflow-x so tables can properly scroll horizontally, instead of just grossly overflowing the section or body containing it. (Adding the overflow directly to the table element doesn't work, thanks spec). I guess instead of children, it'd be parent and work in sort of the same way?

I suppose another solution, for my specific case, would add a "wrapper" functionality to just the table processor.