How to enable this function? thanks!
-
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…
-
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:
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.
-
@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. -
@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.
-
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. -
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:
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. -
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.
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 extrav
at the end of the URL. -
@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.
-
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:After dropping my image file and opening the dot menu I see that:
After clicking on “Get share links” I see that:
Note that there is no .png in the “Markdown (Reddit)” link.
-
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.