<!--
{
  "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/NSAttributedStringMarkdownInterpretedSyntax/NSAttributedStringMarkdownInterpretedSyntaxInlineOnly",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration Case",
  "symbol" : {
    "kind" : "Enumeration Case",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSAttributedStringMarkdownInterpretedSyntax@NSAttributedStringMarkdownInterpretedSyntaxInlineOnly"
  },
  "title" : "NSAttributedStringMarkdownInterpretedSyntaxInlineOnly"
}
-->

# NSAttributedStringMarkdownInterpretedSyntaxInlineOnly

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

```
NSAttributedStringMarkdownInterpretedSyntaxInlineOnly
```

## Discussion

With this syntax, the parser doesn’t apply attributes that differentiate blocks, like [`presentationIntentAttributeName`](/documentation/Foundation/NSAttributedString/Key/presentationIntentAttributeName). However, extended attributes apply to inline spans, so the parser includes them, if the [`allowsExtendedAttributes`](/documentation/Foundation/NSAttributedStringMarkdownParsingOptions/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)