API 
              / Helpers
            
            UI Elements
Helpers for rendering UI elements.
These are available for use in documentation page templates and custom preview inspector panel templates.
        
        code
        
            (language = :html, **opts, &block)
        
      
      
        
  
      
    
  Display a syntax-highlighted block of code.
Arguments:
| 
                language
             | Symbol | Which language the code is written in | 
| 
                opts
             | Hash | Options hash | 
| 
                block
             | Proc | Code block | 
        
        icon
        
            (name, **opts)
        
      
      
        
  
      
    
  Render an icon.
Arguments:
| 
                name
             | Symbol,String | Name of the icon | 
| 
                opts
             | Hash | Options hash | 
Example:
<%= icon :trash %>
<%= icon :camera, size: 6, style: "color: red;" %>