-
Notifications
You must be signed in to change notification settings - Fork 101
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
exported Notes lose formatting #13
Comments
On older versions of the notes app, the database contains html, which if available is provided by the notes plugin. However, newer versions have an unknown format where the data and formatting are stored separately. I have described the basic format here. Their version of the markup is yet unknown as well as a low priority item for research right now. |
I'm guessing it's an NSAttributedString, but I don't know enough about Objective-C and especially its serialization format to know how to interpret the data. |
Having the formatting data would be super useful to me. 👍 |
It's all there, if you can figure out how to make sense of it. I've been working on it, |
Please share your findings, either publicly or privately. |
@bshannon please do share! happy to help build on what you've got 👍 |
I've created a first cut at documenting the format here. Let me know of any questions. |
Fantastic! Thanks for sharing. Is it possible that the previous HTML formatting is just being loaded into an See the "Loading an attributed string from HTML" section of this article: |
It's being "loaded" in the sense that it reads and parses the html and converts it into |
Hoping that you've had a breakthrough since January! 😄 |
Try my savenotes program. |
I will. Thank you @bshannon! |
Exported notes contain only the plain text content of the notes, losing any
rich text formatting. The formatting information seems to be stored separately
from the text that it applies to. It's not obviously in html or rtf or any other
common rich text format. It would be great if this formatting information could
be extracted and applied to the text, creating an html or markdown or similar
rich text document. The Exporter app is able to create a markdown version
of the text.
The text was updated successfully, but these errors were encountered: