# AddMarkdown

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `method`
- Defined on: [`PipelineSummary`](/reference/api/go/aspire.hosting/pipelinesummary.md)
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Adds a key-value pair to the pipeline summary with a Markdown-formatted value.

## Definition

```go
func (PipelineSummary) AddMarkdown(
    key string,
    markdownString string,
) error
```

## Parameters

- `key` (`string`) -- The key or label for the item.
- `markdownString` (`string`) -- The Markdown-formatted value for the item.

## Returns

`error`

Returns `error`.

## Applies to

- [`PipelineSummary`](/reference/api/go/aspire.hosting/pipelinesummary.md)
