Pasting HTML/Rich Text in Notes

shortcuts
#1

I’ve been using the following shortcut to create a header for notes in Apple Notes. I wanted this to be formatted, so I have it copy rich text to the clipboard and launch Notes, rather than sharing to Notes directly.

However, I can’t figure out how to consistently get the title to be formatted as a “Title” rather than a “Header” in Notes formatting. Shortcut is below. Any ideas?

https://www.icloud.com/shortcuts/fd397de6ac3443b7b79a1c518ee87782

0 Likes

#2

I think I’ve solved this, so leaving it here for posterity: it seems that you must have two nested headers (i.e., h1 and h2) for the h1 tag to be registered as a title as opposed to a header. Something about the existence of a second level header makes Notes treat the first header as a title. So converting the following markdown to rich text:

# Title
Text

- Bullet
- Bullet

will lead to a first line formatted as a “Header”, but

# Title
Text

## Header
- Bullet
- Bullet

will lead to the first line formatted as a “Title”.

Hope this is helpful!

Teddy

0 Likes

#3

Wow, that’s weird, thanks for sharing!

0 Likes