Skip to content

Failed to generate the attributed string for given text "<Test>" #46

@srinivas-kurakula

Description

@srinivas-kurakula

Below is the code to generate an AttributedString in iOS

NSString * markdown = @""
CMDocument *doc = [[CMDocument alloc] initWithData: [markdown dataUsingEncoding: NSUTF8StringEncoding] options: 0];
CMTextAttributes *markdownAttributes = [[CMTextAttributes alloc]init];
CMAttributedStringRenderer *renderer = [[CMAttributedStringRenderer alloc] initWithDocument: doc attributes: markdownAttributes];
return [render render];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions