# 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/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

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)
