message: docs(assertions): change to be more readable
diff: @@ -5,8 +5,8 @@ title: 'Assertions'
  ## assertion
  -`assertion(cond, error?)` is a custom assertion function that utilizes [`asserts` from typescript 3.7](https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/#assertion-functions)
  --> this function is mainly build for internal use, but can also be used outside of typegoose
  +`assertion(cond, error?)` is a custom assertion function that utilizes [`asserts` from typescript 3.7](https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/#assertion-functions).
  +-> This function is mainly build for internal use, but can also be used outside of typegoose
  Example:
  @@ -17,9 +17,11 @@ assertion(typeof someMultiValue === 'string');
  // now the type of "someMultiValue" is just "string" and an error is thrown if it is not a string
  ```
  -Note: the function is named `assertion` and not `assert`, so do not confuse it and the types of testing frameworks and from NodeJS itself.
  +:::note
  +The function is named `assertion` and not `assert`, so do not confuse it and the types of testing frameworks and from NodeJS itself.
  +:::
  ## assertionIsClass
  -`assertionIsClass(class)` is like [assertion](#assertion), but with a condition and error pre-defined.
  +`assertionIsClass(class)` is like [assertion](#assertion), but with a set condition and error pre-defined.
  -> this function is mainly built for internal use, but can also be used outside of typegoose
  