---
title: AttributeScopes.FoundationAttributes.MarkdownSourcePositionAttribute
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/attributescopes/foundationattributes/markdownsourcepositionattribute
---

# AttributeScopes.FoundationAttributes.MarkdownSourcePositionAttribute

A type for using a markdown source position as an attribute.

## Declaration

```swift
@frozen enum MarkdownSourcePositionAttribute
```

## Topics

### Encoding and Decoding

- [name](foundation/attributescopes/foundationattributes/markdownsourcepositionattribute/name.md)
- [AttributeScopes.FoundationAttributes.MarkdownSourcePositionAttribute.Value](foundation/attributescopes/foundationattributes/markdownsourcepositionattribute/value.md)

### Supporting Types

- [AttributedString.MarkdownSourcePosition](foundation/attributedstring/markdownsourceposition.md)

## Relationships

### Conforms To

- [AttributedStringKey](foundation/attributedstringkey.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [DecodableAttributedStringKey](foundation/decodableattributedstringkey.md)
- [EncodableAttributedStringKey](foundation/encodableattributedstringkey.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Using Markdown source position attributes

- [markdownSourcePosition](foundation/attributescopes/foundationattributes/markdownsourceposition.md)
