> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I render Markdown in the UI?

Before saving, wrap your string with `weave.Markdown(...)`, then use `weave.publish(...)` to store it. The object's type determines rendering, and `weave.Markdown` maps to a known UI renderer. The UI displays the value as a formatted Markdown object. For a full code sample, see [Viewing calls](/weave/guides/tracking/tracing#viewing-calls).

***

<Badge stroke shape="pill" color="orange" size="md">[UI Rendering](/support/weave/tags/ui-rendering)</Badge>
