Text send to macOS services menu is not Markdown

Not sure if bug, feature or uncommon usage… but:

  • Bear Version: 2.8.1
  • OS Version: macOS Tahoe 26.5
  • What were you doing: Sending text to an Apple Shortcut via Services menu
  • What feature did you use: Native macOS Services feature in combination with Bear and Shortcuts
  • What happened: When copying the text and pasting it to TextEdit, there’s the correct markdown. However, if I send the text to Shortcuts via the Ctrl-click Services menu, the Markdown gets completely removed (see screenshot). I added a ‘Show content’ to my Shortcut to show
  • What did you expect to happen: Plain markdown gets send to Shortcuts via Services

I’m trying to regex the in the callout, so I don’t have to rely on the ‘done: false’. Callout looks nicer :slight_smile:

edit: Just tried to convert Rich text to Markdown first in my Shortcut, but that did not work. (Wasn’t expecting it to work, just for the sake of completeness :face_with_tongue:)

1 Like

If I’m not mistaken, if you trigger the shortcuts from the right-click menu among the clipboards available picks plain text or converts the rich text to plain.
Are you always interested in the whole note markdown? If this is the case, I can propose a workaround

Yep, whole note markdown would be perfect. In iOS, I can send the whole openend note as markdown to my shortcut, but on Mac I need to rely on Services … or at least: so I thought. So, yes, a workaround would be great!

Use the Last Viewed Note action and read the text property of the note object.
You can trigger the shortcut via Services (without selecting the whole content) or from the menu bar.

1 Like

When you said workaround I already thought I must be missing a useful action :sweat_smile: Thanks a lot! Works like a charm!