Given that Jebora has markdown support, just throwing a few bits in here... **bold** and *italic* - li item 1 - li item 2 > Quote # heading [link](Https://example.com) `inline code` ``` Code block ``` ```javascript // Not trying xss just doing examples alert("example") ``` ~~strike~~ ~sub~ ^up^

200
53
ich🚭iel
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    therearefivethings
    Now 100%

    Gut gemacht. Ich bin drei jahre her

    I don't speak much Deutsche and this came up in "all" so I felt I needed to reply, so that somebody did congratulations and keep it up. (From somebody 3 years quit)!

    Edit: people replied whilst I was typing, but whatever 🎉

    17
  • The website I have been tasked with updating today...
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    therearefivethings
    Now 100%

    Just to make your pain a little less...

    function collapseNestedDivs(element) {
      const childDivs = element.querySelectorAll('div');
    
      childDivs.forEach((div) => {
        collapseNestedDivs(div); // Recursively check for nested divs
    
        if (div.childElementCount === 1 && div.children[0].tagName === 'DIV') {
          const nestedDiv = div.children[0];
          const parent = div.parentNode;
    
          // Move the styles from the nested div to the parent div
          Array.from(nestedDiv.style).forEach((styleName) => {
            parent.style[styleName] = nestedDiv.style[styleName];
          });
    
          // Move the classes from the nested div to the parent div
          nestedDiv.classList.forEach((className) => {
            parent.classList.add(className);
          });
    
          // Remove the nested div
          parent.removeChild(nestedDiv);
        }
      });
    }
    
    // Call the function to collapse the nested divs starting from a root element
    const rootElement = document.getElementById('root'); // Replace 'root' with your actual root element ID
    collapseNestedDivs(rootElement);
    
    
    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    Now
    1 5

    therearefivethings

    therearefivethings@ lemmy.world