• Login
Community
  • Login

How to enable this function? thanks!

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
10 Posts 4 Posters 1.4k 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.
  • X
    Xiaolin Zhong
    last edited by Xiaolin Zhong Aug 8, 2019, 2:49 AM Aug 8, 2019, 2:47 AM

    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…

    D 1 Reply Last reply Aug 8, 2019, 8:14 AM Reply Quote 0
    • D
      dinkumoil @Xiaolin Zhong
      last edited by dinkumoil Aug 8, 2019, 8:15 AM Aug 8, 2019, 8:14 AM

      @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
      • P
        PeterJones
        last edited by Aug 8, 2019, 1:04 PM

        @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.

        D 1 Reply Last reply Aug 8, 2019, 2:50 PM Reply Quote 2
        • D
          dinkumoil @PeterJones
          last edited by Aug 8, 2019, 2:50 PM

          @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.

          A 1 Reply Last reply Aug 8, 2019, 3:17 PM Reply Quote 0
          • A
            Alan Kilborn @dinkumoil
            last edited by Aug 8, 2019, 3:17 PM

            @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.

            D 1 Reply Last reply Aug 8, 2019, 3:59 PM Reply Quote 0
            • D
              dinkumoil @Alan Kilborn
              last edited by dinkumoil Aug 8, 2019, 4:02 PM Aug 8, 2019, 3:59 PM

              @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
              • P
                PeterJones
                last edited by PeterJones Aug 8, 2019, 4:59 PM Aug 8, 2019, 4:57 PM

                @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.

                A D 2 Replies Last reply Aug 8, 2019, 5:39 PM Reply Quote 0
                • A
                  Alan Kilborn @PeterJones
                  last edited by Aug 8, 2019, 5:39 PM

                  @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
                  • D
                    dinkumoil @PeterJones
                    last edited by dinkumoil Aug 8, 2019, 5:46 PM Aug 8, 2019, 5:45 PM

                    @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
                    • A
                      Alan Kilborn
                      last edited by Aug 8, 2019, 5:47 PM

                      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
                      8 out of 10
                      • First post
                        8/10
                        Last post
                      The Community of users of the Notepad++ text editor.
                      Powered by NodeBB | Contributors