• boreengreen@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      9 days ago

      You copy some text from a webpage and put it in your email or word processor, it copies the formating too and everything looks wonky. If you paste the clipboard content in a text editor, like notepad and copy the text from there, you strip the formating.

      That is what the post is refering to.

      • rImITywR@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        9 days ago

        You copy some text from a webpage and put it in your markdown/LaTeX document in your text editor, like vim. Then you use pandoc/pdf-latex to export in whatever file format you need. It never looks wonky, it looks exactly like you tell it to.

  • MothProof@lemmy.ca
    link
    fedilink
    arrow-up
    12
    ·
    9 days ago

    Does anyone else use the .LOG feature?

    Put .LOG at the beginning of a text file. When opened in Notepad, you should get a date & time stamp.

    Open filename.txt, type something, save and close.

    Now you have a journal for system and config changes, document collections, time entries, client visits, whatever. Has worked on every Windows box I ever had to use.

  • LovableSidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    8 days ago

    Nailed it, this is the only reason I’ve used notepad for years. Speaking of which, now that I’m permanently on Linux I should lfind a command line way to do this - there has to be one, if not many.

    • BackgrndNoize@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      8 days ago

      You don’t need Linux or any command line tools to do this, there’s lots of apps that can strip formatting from the clipboard content, heck Windows Power Toys also comes with this feature built in, it’s just a simple keyboard shortcut

    • ArtVandelay@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 days ago

      I recently had to remove line breaks from the public key in a key pair, why did I never think of doing this

  • Zerush@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    9 days ago

    Every text editor removes formatting, plain txt files don’t have any format. but text editors, like Notepad are very usefull to edit eg, config files or scripts, where isn’t desirable to change the original format. There are apps way more useless than Notepads-

    • zagaberoo@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      9 days ago

      I just the other day edited a Steam config file with some wacky file extension by cracking it open in notepad. Bless plain text.

  • ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 days ago

    Yeah, that was the only way that worked consistently. Buttons like “Paste Without Formatting” failed in more than a few cases.


    Past tense, because it works on Linux. But I still have the old habit and use KWrite sometimes.

      • frozenspinach@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 days ago

        Outlook intercepts and disables it because of course it does and instead pastes it with the formatting but with a little drop down box at the end of your text pass address you can click to remove the formatting like you tried to do with you with hotkeys.

        I have to use Outlook for work, but never intentionally do so if I choice. Truly amazing. If there’s anything that can be messed up, it will be.

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      8 days ago

      I’m trying to remember if I’ve ever run kwrite beyond the first time 20 years ago when I wanted to see what it was.