Add HTML for pattern library