You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Notes App, note containing HTML, show code instead of result

I am trying to move to Apple Notes from Evernote. Some of my imported notes contain examples of how to write HTML. When I imported them, the code was lost and only the resulting output of the code shows instead. Is there any fix for this?

Posted on Aug 9, 2020 4:31 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 9, 2020 4:28 PM

Thank you for the reply. It seems odd to me that the application would not offer an option to enter text as plain text instead of reading the code. Since the terminal command above, if I switched it to an entire folder, would probably show the plain text as code as well, I'm probably out of luck, as far as using this application, given my studies. I would imagine a lot of people have run into this.

2 replies
Question marked as Top-ranking reply

Aug 9, 2020 4:28 PM in response to VikingOSX

Thank you for the reply. It seems odd to me that the application would not offer an option to enter text as plain text instead of reading the code. Since the terminal command above, if I switched it to an entire folder, would probably show the plain text as code as well, I'm probably out of luck, as far as using this application, given my studies. I would imagine a lot of people have run into this.

Aug 9, 2020 6:31 AM in response to tfleming92

Do not assume that Apple's Notes application is identical in content support as Evernote. The underlying body text of a given note in the Apple Notes application is html, though it is displayed as viewable text. Your copy/pasted HTML code would appear as you stated because of this fact.


The following AppleScript displays the HTML beneath the first note of my Notes folder "Blue":


tell application "Notes"
	activate
	display dialog (get body of the first note of folder "Blue")
end tell



Notes App, note containing HTML, show code instead of result

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.