Please feel free to correct my English.

The Lemming formerly known as /u/SatyrSack@lemmy.one

  • 1 Post
  • 38 Comments
Joined 2 months ago
cake
Cake day: September 28th, 2024

help-circle

  • I agree that using a code block is not the right way to handle quotes, but you can control the syntax highlighting in a markdown code block by adding a language identifier.


    ```
    We never once asked for personal donations specifically in the hopes that if this moment ever came, our userbase would appreciate that we were able to make it this long on passion alone, and trust that your donation will make the best possible impact.
    ```
    
    We never once asked for personal donations specifically in the hopes that if this moment ever came, our userbase would appreciate that we were able to make it this long on passion alone, and trust that your donation will make the best possible impact.
    

    ``` text
    We never once asked for personal donations specifically in the hopes that if this moment ever came, our userbase would appreciate that we were able to make it this long on passion alone, and trust that your donation will make the best possible impact.
    ```
    
    We never once asked for personal donations specifically in the hopes that if this moment ever came, our userbase would appreciate that we were able to make it this long on passion alone, and trust that your donation will make the best possible impact.
    

    ``` cpp
    bool getBit(int num, int i) {
        return ((num & (1<<i)) != 0);
    }
    ```
    
    bool getBit(int num, int i) {
        return ((num & (1<<i)) != 0);
    }
    

    ``` python
    def add(a, b):
        return a + b
    ```
    
    def add(a, b):
        return a + b
    








  • They were formatted correctly. This screenshot here is of the rendered text, not the source. The issue is that with markdown, you need two newlines to create a new paragraph. If you only use one newline, the subsequent line just gets placed at the end of the previous line. But the Lemmy spoiler syntax does not work that way; you can put the ::: delimiters directly above and below the spoiler text without the need for any extra lines. Because Eternity does not recognize the spoiler syntax here, it is placing all three lines of each spoiler into one line just like it would do to any arbitrary text.

    https://lemmy.ml/post/22135805