• Otter@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 days ago

    If you can load the raw markdown, then you can copy and paste with the markdown link formatting.

    I think the Reddit Enhancement Suite added a button to posts that would let you display the source. I can’t check that right now.

    For Lemmy, open a post on the website and look for the paper icon. That will let you view the source

  • Auster@thebrainbin.org
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    If I got what you mean, then when formatting is pasted weird and I don’t want the formatting, I try pasting into a text editor with no markdown enabled, such as Notepad++ and Sublime Text in a fresh install, then copy the pasted text if it came good.

    • dudesss@piefed.caOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      That is not working either. And it doesn’t seem to be so much of a piefied problem. It seems to not paste the hyperlink with the display name anywhere except if I use Libreoffice.

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 days ago

    Seems like this would have an easy answer, but I’m not finding it either.

    EDIT: Not sure if anyone cares, but here is how I went about making a solution.

    1. Highlight what I want to copy, right click, select View Selection Source
    2. Highlight the resultant HTML.
    3. Now I can copy with a simple middle click for the HTML, or hit F5 (A randomly chosen hotkey) to trigger a one liner (xclip -o | html2markdown | xclip -i) and now the clipboard is in markdown, so I can just do a middle click to paste the markdown.

    It’s a little clunky, but seems to work for me.