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

# NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace

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

```
NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace
```

## Discussion

This value behaves like [`NSAttributedStringMarkdownInterpretedSyntaxInlineOnly`](/documentation/Foundation/NSAttributedStringMarkdownInterpretedSyntax/NSAttributedStringMarkdownInterpretedSyntaxInlineOnly), but doesn’t interpret multiple consecutive instances of white space as a single separator space. All whitespace characters appear in the result as the source specifies.

---

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)