<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributedString/MarkdownParsingOptions/InterpretedSyntax-swift.enum/inlineOnly",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation16AttributedStringV22MarkdownParsingOptionsV17InterpretedSyntaxO10inlineOnlyyA2GmF"
  },
  "title" : "AttributedString.MarkdownParsingOptions.InterpretedSyntax.inlineOnly"
}
-->

# AttributedString.MarkdownParsingOptions.InterpretedSyntax.inlineOnly

A syntax value that parses all Markdown text, but interprets only attributes that apply to inline spans.

```
case inlineOnly
```

## Discussion

With this syntax, the parser doesn’t apply attributes that differentiate blocks. However, extended attributes apply to inline spans, so the parser includes them, if the [`allowsExtendedAttributes`](/documentation/Foundation/AttributedString/MarkdownParsingOptions/allowsExtendedAttributes) property allows them.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)