Profile image

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

5,888 THEOKPILOT  3 months ago
  • Log in to leave a comment
  • Profile image
    5,888 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 3 months ago
  • Profile image
    5,888 THEOKPILOT

    @32 Yeah. That makes sense.

    3 months ago
  • Profile image
    33.1k 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.

    3 months ago
  • Profile image
    5,888 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.

    3 months ago
  • Profile image
    33.1k 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 3 months ago
  • Profile image

    circular lego studs my beloved

    +1 3 months ago
  • Profile image
    5,888 THEOKPILOT

    @Boeing727200F Thank you.

    3 months ago
  • Profile image

    very nice.

    +1 3 months ago
  • Profile image
    5,888 THEOKPILOT

    @Susimposter

    3 months ago
  • Profile image
    5,888 THEOKPILOT

    @sleevefifties50
    .
    @LoganSuleski1
    .
    @PlanerIndustries9

    3 months ago
  • Profile image
    5,888 THEOKPILOT

    @deaner
    .
    @Flowey
    .
    @SchmooveBrain

    3 months ago
  • Profile image
    5,888 THEOKPILOT

    @RepublicofWrightIsles
    .
    @deutschFELLA
    .
    @50CalChicken

    3 months ago
  • Profile image
    5,888 THEOKPILOT

    @BOSKnight
    .
    @DeeganWithABazooka
    .
    @keiyronelleavgeek566

    +1 3 months ago