     /// The link attribute.
     open var link: URL? {
         get {
-            if let URL = dictionary[NSLinkAttributeName] as? URL {
+            if let URL = dictionary[.link] as? URL {
                 return URL
-            } else if let string = dictionary[NSLinkAttributeName] as? String {
+            } else if let string = dictionary[.link] as? String {
                 return URL(string: string)
             } else {
                 return nil
             }
         }
         set {
-            dictionary[NSLinkAttributeName] = newValue
+            dictionary[.link] = newValue
         }
     }
 

        /// The attachment attribute.
        public var attachment: NSTextAttachment? {
            get {
                return dictionary[NSAttachmentAttributeName] as? NSTextAttachment
            }
            set {
                dictionary[NSAttachmentAttributeName] = newValue
            }
        }


    /// The strikethrough color attribute.
    var strikethroughColor: Color? {
        get {
            return dictionary[.strikethroughColor] as? Color
        }
        set {
            dictionary[.strikethroughColor] = newValue
        }
    }

