ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Commands in-line with OC ?

    IT Discussion
    11
    36
    2.9k
    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.
    • dafyreD
      dafyre
      last edited by

      Hmm... I've never had that problem with mine... but I usually only use it when I'm posting code blocks... ie:

      <?PHP
      echo "Hello world!";
      ?>
      
      1 Reply Last reply Reply Quote 0
      • alex.olynykA
        alex.olynyk
        last edited by alex.olynyk

        [root@nextcloud ~]# ip a | grep eth0
        2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
            inet 192.168.128.241/24 brd 192.168.128.255 scope global dynamic eth0
        [root@nextcloud ~]#
        [root@nextcloud ~]# ip r
        default via 192.168.128.254 dev eth0  proto static  metric 100
        192.168.128.0/24 dev eth0  proto kernel  scope link  src 192.168.128.241  metric 100
        [root@nextcloud ~]#
        
        
        1 Reply Last reply Reply Quote 0
        • alex.olynykA
          alex.olynyk
          last edited by

          Thanks to everyone who contributed in this thread. Very helpful.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            Another really simple way to do this would be to use Notepad++ and just indent the entire code space.

            Copy it from notepad++ and paste it to ML.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @DustinB3403
              last edited by

              @DustinB3403 said in Commands in-line with OC ?:

              Another really simple way to do this would be to use Notepad++ and just indent the entire code space.

              Copy it from notepad++ and paste it to ML.

              Now that we know it's just three back ticks before and aft, that's easier than the indent method.

              1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403
                last edited by

                Really

                '''
                testing
                '''

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @DustinB3403
                  last edited by

                  @DustinB3403 said in Commands in-line with OC ?:

                  Really

                  '''
                  testing
                  '''

                  You have to know what backticks are, of course, for it to work.

                  1 Reply Last reply Reply Quote 1
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    test 
                    

                    So the ``` and ```` on a individual paragraph works.

                    bbigfordB 3 Replies Last reply Reply Quote 0
                    • bbigfordB
                      bbigford @DustinB3403
                      last edited by

                      @DustinB3403 said in Commands in-line with OC ?:

                      test 
                      

                      So the ``` and ```` on a individual paragraph works.

                      test using ``` before and after "test"

                      1 Reply Last reply Reply Quote 0
                      • bbigfordB
                        bbigford @DustinB3403
                        last edited by

                        @DustinB3403 said in Commands in-line with OC ?:

                        test 
                        

                        So the ``` and ```` on a individual paragraph works.

                        Hmm, ``` doesn't look the same as four spaces for me. Weird.

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • bbigfordB
                          bbigford
                          last edited by

                          Fully aware I'm doing this...

                          0_1472568220318_gif.gif

                          1 Reply Last reply Reply Quote 1
                          • coliverC
                            coliver
                            last edited by

                            This is a paragraph
                            

                            This is a single line

                            bbigfordB 1 Reply Last reply Reply Quote 1
                            • bbigfordB
                              bbigford @coliver
                              last edited by

                              @coliver said in Commands in-line with OC ?:

                              This is a paragraph
                              

                              This is a single line

                              oh, I see what you mean then... ``` has to go on it's own line. That is what I was missing. Thanks for clarifying. Opening up a quote showed how you did that.

                              1 Reply Last reply Reply Quote 1
                              • bbigfordB
                                bbigford @DustinB3403
                                last edited by

                                @DustinB3403 said in Commands in-line with OC ?:

                                test 
                                

                                So the ``` and ```` on a individual paragraph works.

                                If I had opened yours in a quote I would have saw that. My bad!

                                1 Reply Last reply Reply Quote 0
                                • bbigfordB
                                  bbigford
                                  last edited by

                                  Well I get it now. Thanks everyone!

                                  1 Reply Last reply Reply Quote 0
                                  • DanpD
                                    Danp
                                    last edited by

                                    @BBigford said in Commands in-line with OC ?:

                                    @DustinB3403 said in Commands in-line with OC ?:
                                    test using ``` before and after "test"

                                    In this case, a single ` before and after will work.

                                    bbigfordB 1 Reply Last reply Reply Quote 1
                                    • bbigfordB
                                      bbigford @Danp
                                      last edited by

                                      @Danp said in Commands in-line with OC ?:

                                      @BBigford said in Commands in-line with OC ?:

                                      @DustinB3403 said in Commands in-line with OC ?:
                                      test using ``` before and after "test"

                                      In this case, a single ` before and after will work.

                                      test line

                                      test paragraph

                                      test paragraph 2
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @bbigford
                                        last edited by

                                        @BBigford said in Commands in-line with OC ?:

                                        @DustinB3403 said in Commands in-line with OC ?:

                                        test 
                                        

                                        So the ``` and ```` on a individual paragraph works.

                                        Hmm, ``` doesn't look the same as four spaces for me. Weird.

                                        Line before and after, NOT inline.

                                        bbigfordB 1 Reply Last reply Reply Quote 1
                                        • bbigfordB
                                          bbigford @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in Commands in-line with OC ?:

                                          @BBigford said in Commands in-line with OC ?:

                                          @DustinB3403 said in Commands in-line with OC ?:

                                          test 
                                          

                                          So the ``` and ```` on a individual paragraph works.

                                          Hmm, ``` doesn't look the same as four spaces for me. Weird.

                                          Line before and after, NOT inline.

                                          Got it. Thanks! 😄

                                          1 Reply Last reply Reply Quote 0
                                          • momurdaM
                                            momurda
                                            last edited by

                                            This is text

                                            this isnt
                                            

                                            Does this do anything

                                            Hello

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post