Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to convert NSAttributedString back to markdown? #98

Closed
hyouuu opened this issue Aug 12, 2018 · 2 comments
Closed

Is there a way to convert NSAttributedString back to markdown? #98

hyouuu opened this issue Aug 12, 2018 · 2 comments

Comments

@hyouuu
Copy link

hyouuu commented Aug 12, 2018

Please help prevent duplicate issues before submitting a new one:

  • [v] I've searched other open/closed issues for duplicates before opening up this new issue.

Report

Is there a way in Down to do that? If not, any recommended approaches? Sorry if it's a dumb question

@iwasrobbed
Copy link
Collaborator

You can convert it to HTML and then convert that to Markdown. Both of those are unfortunately outside the scope of this library.

E.g. https://stackoverflow.com/questions/5298188/how-do-i-convert-nsattributedstring-into-html-string

@hyouuu
Copy link
Author

hyouuu commented Aug 13, 2018

Thanks for the quick reply and pointer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants