mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Remove markdown not recognised by GitHub
Remove `{.good}` and `{.bad}` and replace with comments.
This commit is contained in:
parent
f3a418ef09
commit
edd630a9ee
|
@ -462,14 +462,15 @@ following remedies:
|
|||
|
||||
Consider the following example:
|
||||
|
||||
```c# {.bad}
|
||||
// What are these arguments?
|
||||
```c#
|
||||
// Bad - what are these arguments?
|
||||
DecimalNumber product = CalculateProduct(values, 7, false, null);
|
||||
```
|
||||
|
||||
versus:
|
||||
|
||||
```c# {.good}
|
||||
```c#
|
||||
// Good
|
||||
ProductOptions options = new ProductOptions();
|
||||
options.PrecisionDecimals = 7;
|
||||
options.UseCache = CacheUsage.DontUseCache;
|
||||
|
|
Loading…
Reference in New Issue
Block a user