mirror of
https://github.com/nlohmann/json
synced 2024-11-09 14:10:07 +00:00
Fix source highlighting in user defined type macros docs (#4169)
This commit is contained in:
parent
fac07e22c5
commit
35c0b3e54c
@ -59,7 +59,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
Consider the following complete example:
|
||||
|
||||
```cpp hl_lines="21"
|
||||
```cpp hl_lines="22"
|
||||
--8<-- "examples/nlohmann_define_type_intrusive_macro.cpp"
|
||||
```
|
||||
|
||||
@ -80,7 +80,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
The macro is equivalent to:
|
||||
|
||||
```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33"
|
||||
```cpp hl_lines="22 23 24 25 26 27 28 29 30 31 32 33 34"
|
||||
--8<-- "examples/nlohmann_define_type_intrusive_explicit.cpp"
|
||||
```
|
||||
|
||||
@ -88,7 +88,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
Consider the following complete example:
|
||||
|
||||
```cpp hl_lines="21"
|
||||
```cpp hl_lines="22"
|
||||
--8<-- "examples/nlohmann_define_type_intrusive_with_default_macro.cpp"
|
||||
```
|
||||
|
||||
@ -108,7 +108,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
The macro is equivalent to:
|
||||
|
||||
```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34"
|
||||
```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34 35"
|
||||
--8<-- "examples/nlohmann_define_type_intrusive_with_default_explicit.cpp"
|
||||
```
|
||||
|
||||
|
@ -60,7 +60,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
Consider the following complete example:
|
||||
|
||||
```cpp hl_lines="15"
|
||||
```cpp hl_lines="16"
|
||||
--8<-- "examples/nlohmann_define_type_non_intrusive_macro.cpp"
|
||||
```
|
||||
|
||||
@ -80,7 +80,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
The macro is equivalent to:
|
||||
|
||||
```cpp hl_lines="15 16 17 18 19 20 21 22 23 24 25 26 27"
|
||||
```cpp hl_lines="16 17 18 19 20 21 22 23 24 25 26 27 28"
|
||||
--8<-- "examples/nlohmann_define_type_non_intrusive_explicit.cpp"
|
||||
```
|
||||
|
||||
@ -88,7 +88,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
Consider the following complete example:
|
||||
|
||||
```cpp hl_lines="20"
|
||||
```cpp hl_lines="21"
|
||||
--8<-- "examples/nlohmann_define_type_non_intrusive_with_default_macro.cpp"
|
||||
```
|
||||
|
||||
@ -109,7 +109,7 @@ See examples below for the concrete generated code.
|
||||
|
||||
The macro is equivalent to:
|
||||
|
||||
```cpp hl_lines="20 21 22 23 24 25 26 27 28 29 30 31 32 33"
|
||||
```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34"
|
||||
--8<-- "examples/nlohmann_define_type_non_intrusive_with_default_explicit.cpp"
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user