View Source PhxLiveStorybook.Rendering.CodeRenderer (phx_live_storybook v0.4.5)
Responsible for rendering your components code snippet, for a given
PhxLiveStorybook.Variation.
Uses the Makeup libray for syntax highlighting.
Link to this section Summary
Functions
Renders a component code snippet from a RenderingContext.
Returns a Phoenix.LiveView.Rendered.
Renders source of a component story. Returns a rendered HEEx template.
Link to this section Functions
Renders a component code snippet from a RenderingContext.
Returns a Phoenix.LiveView.Rendered.
Renders source of a component story. Returns a rendered HEEx template.