Forum — Daily Challenge
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    what is the script editor thingy

    Comments & Feedback
    6
    13
    86
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • debbieD
      debbie ADMIN M0★ M1 M5
      last edited by debbie

      It's great that you noticed this feature and are exploring the forum! 🙂

      This is called a "fenced code block." When you click on the </> button and get the automatic ``` prompt, this means that you are able to type code for the purpose of showing and demonstrating code commands (not for the purposes of rendering the code).

      Suppose I wanted to tell you how to type a math symbol, like \(\frac{360^{\circ}}{2}.\) How would I show you the commands for typing \(\frac{360^{\circ}}{2}?\) Whenever I type \(\frac{360^{\circ}}{2},\) it just shows as math instead of the actual keystrokes that I want to show you. So, how would I do it?

      With a fenced code block!

      \\( \frac{360^{\circ}}{2} \\)
      

      The above is the code for \( \frac{360^{\circ}}{2}!\)

      If you're wondering what language these commands are coming from, it's a special language used for styling text on the web called \(\color{red}\text{markdown}.\) Learn some very basic markdown commands on this site, and you'll be able to quickly make your posts look more alive and clear! 🙂

      You can also learn some quick and easy Latex commands for typing math, like the \(\frac{360^{\circ}}{2}\) example and more, in this how-to post!

      1 Reply Last reply Reply Quote 1
      • The Blade DancerT
        The Blade Dancer M0★ M1★ M2★ M3★ M4 M5
        last edited by

        Discord has some Markdown elements that's how I know some of this lololol

        sqwishyS 1 Reply Last reply Reply Quote 3
        • sqwishyS
          sqwishy M2 M3 M4★ @The Blade Dancer
          last edited by

          @The-Darkin-Blade haha

          1 Reply Last reply Reply Quote 2
          • H
            hhh M0★ M1★ M2 M3★ M4★
            last edited by

            haha DO NOT RUN THIS CODE

            while True:
            print('this message will never end')
            
            Potato2017P 1 Reply Last reply Reply Quote 4
            • Potato2017P
              Potato2017 M5★ @hhh
              last edited by

              @userusername said in what is the script editor thingy:

              haha DO NOT RUN THIS CODE

              while True:
              print('this message will never end')
              

              haha it doesnt work because the print is not indented

              The best Potato
              aops: Potato2017
              yt: http://bit.ly/potatosubscribe
              discord: Potato2017#1822 (it's tent#0001 now)
              tetr.io: https://ch.tetr.io/u/potato2017
              -Potato2017

              1 Reply Last reply Reply Quote 2
              • The Blade DancerT
                The Blade Dancer M0★ M1★ M2★ M3★ M4 M5
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • RZ923R
                  RZ923 M0★ M2★ M3★ M4★ M5
                  last edited by

                  import time
                  time.sleep(360)

                  Time stops working because it went to sleep 🛏 💤.

                  Very Interesting

                  1 Reply Last reply Reply Quote 2
                  • H
                    hhh M0★ M1★ M2 M3★ M4★
                    last edited by

                    but what about latex in AoPS

                    Potato2017P 1 Reply Last reply Reply Quote 3
                    • Potato2017P
                      Potato2017 M5★ @hhh
                      last edited by

                      @userusername on aops, u can just use $ as well as $$ to center it. on here instead of using $ you have to use this (quote to see):
                      \(2+2=4\)

                      The best Potato
                      aops: Potato2017
                      yt: http://bit.ly/potatosubscribe
                      discord: Potato2017#1822 (it's tent#0001 now)
                      tetr.io: https://ch.tetr.io/u/potato2017
                      -Potato2017

                      1 Reply Last reply Reply Quote 4
                      • The Blade DancerT
                        The Blade Dancer M0★ M1★ M2★ M3★ M4 M5
                        last edited by

                        how does aops work

                        Potato2017P 1 Reply Last reply Reply Quote 2
                        • Potato2017P
                          Potato2017 M5★ @The Blade Dancer
                          last edited by

                          @The-Rogue-Blade ...

                          The best Potato
                          aops: Potato2017
                          yt: http://bit.ly/potatosubscribe
                          discord: Potato2017#1822 (it's tent#0001 now)
                          tetr.io: https://ch.tetr.io/u/potato2017
                          -Potato2017

                          1 Reply Last reply Reply Quote 3

                          • 1 / 1
                          • First post
                            Last post
                          Daily Challenge | Terms | COPPA