I have been stuck with the following format problem a couple of hours and read many post style documents on SO. Finally I found there is one `
more than normal in the beginning of the code.
This is a little bit confusing. The code block interpreted the extra tick mark as code, but it cannot end it without any delimiter and users may be confused. It is better to not transfer the block as code. I just share it for others like me and may be it is helpful.
public class Main
{
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```
This is not code; I cannot end the code by delimiter.
`
). You start with````java
(that's 4 back ticks) and end with```
(that's 3 back ticks), and so the code fence is not closed because 3 != 4.```
-style (fenced) Markdown code blocks. I’m not sure what the goal of this discussion is. The title is: “Code delimiter not work when you wrong start it” — in other words: when you use it wrong, it doesn’t work! What are we supposed to do about it?```
inside the formatting, so the outer code fence used````
(or something along those lines).~~~
as a fence too, so you'd only really need four or more of either if you were using both triple`
and triple~
in the code block.