diff --git a/README.md b/README.md index 4cc245ff..57b96388 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ and dimensional analysis can be performed without sacrificing on accuracy. Pleas the below example for a quick preview of basic library features: ```cpp +#define UNITS_UDLS 1 #define UNITS_REFERENCES #define UNITS_LITERALS diff --git a/docs/quick_start.rst b/docs/quick_start.rst index 0170a96a..9b898eb2 100644 --- a/docs/quick_start.rst +++ b/docs/quick_start.rst @@ -34,7 +34,7 @@ Here is a small example of possible operations:: .. admonition:: Try it on Compiler Explorer - `Example #1 `_ + `Example #1 `_ This library requires some C++20 features (concepts, classes as :abbr:`NTTP (Non-Type Template Parameter)`, ...). Thanks to them the user gets a powerful @@ -42,6 +42,7 @@ but still easy to use interface where all unit conversions and dimensional analy performed without sacrificing on accuracy. Please see the below example for a quick preview of basic library features:: + #define UNITS_UDLS 1 #define UNITS_REFERENCES #define UNITS_LITERALS @@ -83,7 +84,7 @@ of basic library features:: .. admonition:: Try it on Compiler Explorer - `Example #2 `_ + `Example #2 `_ .. seealso::