Profile image

[Off-Topic] Roblox Screenshots from retro and retro-at-heart games.

5,774 THEOKPILOT  one month ago
  • Log in to leave a comment
  • Profile image
    5,774 THEOKPILOT

    I was able to easily format all these direct photo links into images using this HTML code:
    .
    .
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Multi-Line Markdown Image Link Generator</title>
    <style>
    body { font-family: Arial, sans-serif; padding: 20px; max-width: 600px; margin: auto; }
    textarea { width: 100%; height: 150px; padding: 10px; margin-top: 10px; }
    button { padding: 10px 20px; margin-top: 10px; }
    .output { margin-top: 20px; white-space: pre-wrap; font-weight: bold; background: #f9f9f9; padding: 10px; border-radius: 5px; }
    </style>
    </head>
    <body>
    <h1>Multi-Line Markdown Image Link Generator</h1>
    <label for="inputText">Enter one URL or image path per line:</label>
    <textarea id="inputText" placeholder="e.g.\nhttps://example.com/image1.jpg\nhttps://example.com/image2.png"></textarea>

    <button onclick="wrapLines()">Generate Markdown</button>

    <div class="output" id="outputText"></div>

    <script>
    function wrapLines() {
    const input = document.getElementById('inputText').value;
    const lines = input.split('\n').map(line => line.trim()).filter(line => line !== '');
    const wrappedLines = lines.map(line => ![](${line}));
    document.getElementById('outputText').textContent = wrappedLines.join('\n');
    }
    </script>
    </body>
    </html>

    Pinned one month ago
  • Profile image
    5,774 THEOKPILOT

    @32 Yeah. That makes sense.

    one month ago
  • Profile image
    32.6k 32

    @THEOKPILOT I knew mainly just because the code was very “professional” looking. ChatGPT always puts in very descriptive comments, headers, variables, and ids, which is something most humans probably won’t do if they aren’t super experienced.

    one month ago
  • Profile image
    5,774 THEOKPILOT

    @32 Damn, how did you know? Well yeah. But I wanted to have code that was separate from ChatGPT, so I asked it to make a separate script.

    one month ago
  • Profile image
    32.6k 32

    @THEOKPILOT the code seems a bit unnecessary when copying and pasting is a thing. This was clearly made with ChatGPT, at that point just ask gpt to format the images for you.

    +1 one month ago
  • Profile image

    circular lego studs my beloved

    +1 one month ago
  • Profile image
    5,774 THEOKPILOT

    @Boeing727200F Thank you.

    one month ago
  • Profile image

    very nice.

    +1 one month ago
  • Profile image
    5,774 THEOKPILOT

    @Susimposter

    one month ago
  • Profile image
    5,774 THEOKPILOT

    @sleevefifties50
    .
    @LoganSuleski1
    .
    @PlanerIndustries9

    one month ago
  • Profile image
    5,774 THEOKPILOT

    @deaner
    .
    @Flowey
    .
    @SchmooveBrain

    one month ago
  • Profile image
    5,774 THEOKPILOT

    @RepublicofWrightIsles
    .
    @deutschFELLA
    .
    @50CalChicken

    one month ago
  • Profile image
    5,774 THEOKPILOT

    @BOSKnight
    .
    @DeeganWithABazooka
    .
    @keiyronelleavgeek566

    +1 one month ago