Quantcast
Viewing all articles
Browse latest Browse all 180

Cannot close code block by standard fence when you start code with an extra ` (backtick) [closed]

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.

Viewing all articles
Browse latest Browse all 180

Trending Articles