• Otter@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    3 months 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
    ·
    3 months 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
      ·
      3 months 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
    3 months 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.

  • Bonus@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Cut and paste into Obsidian, which utilizes markdown, paste in here (just learning this myself). Maybe free markdown editor is out there too.

    Obsidian https://obsidian.md/

    Basic formatting syntax

    https://help.obsidian.md/syntax
    Learn how to apply basic formatting to your notes, using Markdown. For more advanced formatting syntax, refer to Advanced formatting syntax.

    //////////////////////////

    Cut and pasted example from wikipedia below

    //////////////////////////

    Hanged, drawn and quartered

    To be hanged, drawn and quartered was a method of torturous capital punishment used principally to execute men convicted of high treason in medieval and early modern Britain and Ireland. The convicted traitor was fastened by the feet to a hurdle, or wooden panel, and drawn behind a horse to the place of execution, where they were then hanged (almost to the point of death), emasculated, disembowelled, beheaded, and quartered. Their remains would then often be displayed in prominent places across the country, such as London Bridge, to serve as a warning of the fate of traitors. The punishment was only ever applied to men; for reasons of public decency, women convicted of high treason were instead burned at the stake.


    The execution of Hugh Despenser the Younger, as depicted in the Froissart of Louis of Gruuthuse

    It became a statutory punishment in the Kingdom of England for high treason in 1352 under King Edward III, although similar rituals are recorded during the reign of King Henry III. The same punishment applied to traitors against the king in Ireland from the 15th century onward; William Overy was hanged, drawn and quartered by Lord Lieutenant Richard Plantagenet, 3rd Duke of York in 1459, and from the reign of King Henry VII it was made part of statutory law.[1][2] Matthew Lambert was among the most notable Irishmen to suffer this punishment, in 1581 in Wexford.[3]

    The severity of the sentence was measured against the seriousness of the crime. As an attack on the monarch’s authority, high treason was considered a deplorable act demanding the most extreme form of punishment. Although some convicts had their sentences modified and suffered a less ignominious end, over a period of several hundred years many men found guilty of high treason were subjected to the law’s ultimate sanction. They included many Catholic priests executed during the Elizabethan era, and several of the regicides involved in the 1649 execution of Charles I.

    Although the Act of Parliament defining high treason remains on the United Kingdom’s statute books, during a long period of 19th-century legal reform the sentence of hanging, drawing, and quartering was changed to drawing, hanging until dead, and posthumous beheading and quartering, before being abolished in England in 1870. The death penalty for treason was abolished in 1998.