mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
added rule to the style guide section for where to declare variables
This commit is contained in:
@@ -100,6 +100,7 @@ Code
|
||||
- 4 spaces for indentation
|
||||
- 80 character line length
|
||||
- commas last
|
||||
- declare variables in the outermost scope that they are used
|
||||
|
||||
In general, try to make your code blend in with the surrounding code.
|
||||
|
||||
|
Reference in New Issue
Block a user