Community
    • Login

    How to enable this function? thanks!

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    10 Posts 4 Posters 1.3k Views
    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.
    • Xiaolin ZhongX
      Xiaolin Zhong
      last edited by Xiaolin Zhong

      I installed notepad both on my computer and laptop.
      In the edit panel of my laptop, I can click “-” symble to fold several related rows, but on my computer there is no “-” symble at all, I cannot find this function.:(
      Anyone know this funtion? thank u!

      this website seems couldn’t post figures…

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil @Xiaolin Zhong
        last edited by dinkumoil

        @Xiaolin-Zhong

        The feature you meant is called “Block folding”, in other editors it is refered to as “Code folding”. In Notepad++ you can configure it in the preferences dialog:

        Block folding settings

        Ensure that in the Folder Margin Style group box the option None is not selected.

        Please note: Whether block folding is available or not depends on the document type you are watching in Notepad++. It’s only able to work after a lexical analysis of the document’s content by a so called lexer to identify foldable blocks. Notepad++ chooses the lexer automatically when a document is loaded according to its file name extension (e.g. .html, .js, .c, and so on). You can also select it manually by choosing one of the languages available in the Language menu.


        @Xiaolin-Zhong said

        this website seems couldn’t post figures

        That’s right, instead you have to use an image upload site like imgur.com. There you can upload images without having an account.

        After uploading your image click on the dot menu in the upper right corner of the preview image and select Get share links. A dialog will pop up, click on the green Copy link button under BBCode (Forums), you will get a link like that:

        [img]https://i.imgur.com/vESg0ci.png[/img]
        

        Change it to

        ![Optional text](https://i.imgur.com/vESg0ci.png)
        

        Now you can add it to your comments on this forum.

        1 Reply Last reply Reply Quote 2
        • PeterJonesP
          PeterJones
          last edited by

          @dinkumoil said:

          click on the green Copy link button under BBCode (Forums)

          Or use “Markdown (Reddit)”, where all you have to do is add the ! before it when you paste it into this forum.

          dinkumoilD 1 Reply Last reply Reply Quote 2
          • dinkumoilD
            dinkumoil @PeterJones
            last edited by

            @PeterJones said:

            Or use “Markdown (Reddit)”, where all you have to do is add the ! before it when you paste it into this forum.

            Unfortunately the “Markdown (Reddit)” link lacks the file name extension (.png, .jpg and so on), thus it is not a valid link for displaying the image here in the forum.

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA
              Alan Kilborn @dinkumoil
              last edited by

              @dinkumoil

              use “Markdown (Reddit)”

              I use that Imgur copy option all the time here successfully just as Peter said, simply prepend a ! to it after pasting it into this Compose window.

              dinkumoilD 1 Reply Last reply Reply Quote 0
              • dinkumoilD
                dinkumoil @Alan Kilborn
                last edited by dinkumoil

                @Alan-Kilborn

                I’ ve tested it too, it was my first try to get a link to the image I’ve posted above. It’s also the most logical variant because it contains “Markdown” what is exactly what I wanted. But the preview only showed the optional text (the text inside []) instead of the image. So I decided to take the BBCode link.

                See here:

                Optional text

                If you hover over this text and also over the image above you will see that the only difference of the links is the .png part.

                1 Reply Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones
                  last edited by PeterJones

                  @dinkumoil ,

                  There are two screens where I see that I can grab the markdown: 1) when browsing all my files, and looking at a single image info; and 2) when looking at the post for an image, and selecting the “Get share links” like you described. Both show the extension in the Markdown (Reddit) location.

                  Imgur

                  The only thing that I’ve found doesn’t work is that animated gifs show up as the .gifv rather than .gif, so I have to just delete out the extra v at the end of the URL.

                  Alan KilbornA dinkumoilD 2 Replies Last reply Reply Quote 0
                  • Alan KilbornA
                    Alan Kilborn @PeterJones
                    last edited by

                    @PeterJones said:

                    The only thing that I’ve found doesn’t work is that animated gifs show up as the .gifv rather than .gif, so I have to just delete out the extra v at the end of the URL.

                    I’m in total Peter-agreement with that statement as well.

                    1 Reply Last reply Reply Quote 0
                    • dinkumoilD
                      dinkumoil @PeterJones
                      last edited by dinkumoil

                      @PeterJones

                      That’s interesting, there seem to be more than one user interface on Imgur.

                      I don’t have an account on Imgur. When I go to imgur.com, at the start page I click on the green button in the upper left corner with the caption “New post”. I get an upload dialog:

                      Imgur

                      After dropping my image file and opening the dot menu I see that:

                      Imgur

                      After clicking on “Get share links” I see that:

                      Imgur

                      Note that there is no .png in the “Markdown (Reddit)” link.

                      1 Reply Last reply Reply Quote 2
                      • Alan KilbornA
                        Alan Kilborn
                        last edited by

                        For the record, I use Imgur through the account I’ve set up there. Perhaps the differences are now explained. Good to know, if these type of inconsistencies come up again here.

                        1 Reply Last reply Reply Quote 2
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors