Open daochuanli opened 10 years ago
vim vimLearning-Go-zh-cn/ex-basics/src/fizzbuzz.go, then I found: const ( FIZZ = 3 |\longremark{为了提高代码的可读性,定义两个常量。% 参阅``\titleref{sec:constants}'';}| BUZZ = 5 ) And how to use |\longremark{ }| ?
The explanation of longremark is here: https://github.com/mikespook/Learning-Go-zh-cn/blob/master/go-basics.tex#L19. Even though, the L19 don't use longremark in the line, the appearance will be same.
longremark
vim vimLearning-Go-zh-cn/ex-basics/src/fizzbuzz.go, then I found: const ( FIZZ = 3 |\longremark{为了提高代码的可读性,定义两个常量。% 参阅``\titleref{sec:constants}'';}| BUZZ = 5 ) And how to use |\longremark{ }| ?