Cannot Paste Links from Xcode Documentation

Paul Solt's Avatar

Paul Solt

09 Oct, 2018 02:53 PM

When I copy a link from Xcode 10 documentation, I cannot paste the link into Multimarkdown.

Expected: Paste the link into Multimarkdown Composer
Actual: Nothing is pasted... blank paste.

I have to paste it first into Chrome/Safari/Notes, and then I have to copy it again, and then paste it into Multimarkdown.

My guess is that it's rtf, or some other non-text format.

Feature Request

Copy/paste of the formatted link into Markdown would be great, but just being able to paste the link would be nice.

I'd love it if I could copy website links into markdown with both the title and the link.

Example Copy #33 From John Sundell's Github and Paste into Multimarkdown Composer

Currently I have to:
1. Manually copy the title
2. Copy the link
3. Select the title in composer
4. Paste the link

Ideal workflow

  1. Copy link
  2. Paste the formatted link in one action with the title from website, and the link using markdown.

#33 Using map to transform an optional into a Result type

  1. Support Staff 1 Posted by Fletcher on 09 Oct, 2018 03:55 PM

    Fletcher's Avatar

    1) re: Xcode issue -- I think that's something weird with Xcode. I can't even paste such a link into Xcode itself, which is telling. I can't paste into Sublime Text. I *can* paste into TextEdit (perhaps supporting your RTF idea, though other rich text seems to work). I'll dig into it, but the proper fix probably needs to come from Apple, given that even Xcode can't paste it... I have not heard of difficulty pasting links from anywhere else -- I'll be curious to figure out exactly what's going on.

    2) re: grabbing page titles off the web -- I'll think about this one. To be honest, this behavior annoys me in other apps that support it. It rarely gives me the result I want. It would also require consistent behavior in terms of when to implement this functionality (e.g. Composer currently offers several variations of pasting URLs depending on what is selected). Will also have to dig into synchronous vs asynchronous behavior -- Apple's networking calls are migrating towards asynchronous (I believe), which makes this much trickier. I can use libCurl easily on Mac, which is synchronous, but this is trickier on iOS and I'm still looking for a solution there for MultiMarkdown itself (e.g. ePub exporting.) I'm not saying no, but this won't happen quickly.


    Fletcher T. Penney
    Manager, Founder
    MultiMarkdown Software, LLC
    [email blocked]

  2. 2 Posted by Paul Solt on 09 Oct, 2018 08:52 PM

    Paul Solt's Avatar

    I think it's also a bug in Xcode.

    It should work, but you'll probably have to investigate the different
    pasteboard types.

  3. Support Staff 3 Posted by Fletcher on 09 Oct, 2018 09:58 PM

    Fletcher's Avatar

    Yeah -- Xcode copies the URL type, but does not copy a text type. So
    pasting it into an NSTextView doesn't work.

    I tried replacing the contents of the pasteboard mid-stream in this
    situation, but that doesn't work.

    I think to fix this would require rewriting the entire paste workflow,
    since I currently rely on default macOS behavior. Not the end of the
    world by any means, but annoying.


  4. 4 Posted by Paul Solt on 10 Oct, 2018 02:32 AM

    Paul Solt's Avatar

    I played around with the pasteboard yesterday, but I don't fully understand
    how it works yet ...


  5. Support Staff 5 Posted by Fletcher on 10 Oct, 2018 01:36 PM

    Fletcher's Avatar

    Yeah.... It took me a bit to get a handle on the idea that the
    pasteboard can hold multiple formats of the same information at the same

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac