Forem Creators and Builders 🌱

Discussion on: how to embed HTML with CSS style on a post page.

Collapse
 
ioscasey profile image
Casey 💎 • Edited

Hey Benjamin! Great question, our markdown only accepts certain html tags and any styling applied to said tags is cleaned up:

allowed_tags = 
%w[strong abbr aside em p h1 h2 h3 h4 h5 h6 i u b code pre
br ul ol li small sup sub img a span hr blockquote kbd]
Enter fullscreen mode Exit fullscreen mode

A great alternative to this would be to embedd a CodePen or JSFiddle - you can find info about our editor here

Collapse
 
benjaminb profile image
Benjamin Bilgehan

Thank you for the reply. I hope forem developers will add this feature in the near future.