<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextLayoutManager/linkRenderingAttributes",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextLayoutManager(cpy)linkRenderingAttributes"
  },
  "title" : "linkRenderingAttributes"
}
-->

# linkRenderingAttributes

Returns the default set of attributes for rendering a link.

```
class var linkRenderingAttributes: [NSAttributedString.Key : Any] { get }
```

## Discussion

The base [`NSTextLayoutManager`](/documentation/AppKit/NSTextLayoutManager) class returns with [`single`](/documentation/AppKit/NSUnderlineStyle/single) for <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/underlineStyle> and the platform link color for <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/foregroundColor>. The platform color for macOS is `linkColor`. Other platforms uses `blueColor`.

---

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)