Fix misformated tables in style guide Disable auto-formatting for markdown as it doesn't respect tables. Bug: chromium:510238003 Change-Id: Id25df04af404a77b8443a867450faf82880ef5ae Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/470201 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47632}
diff --git a/.style.mdformat b/.style.mdformat deleted file mode 100644 index e69de29..0000000 --- a/.style.mdformat +++ /dev/null
diff --git a/g3doc/style-guide.md b/g3doc/style-guide.md index 51a4aea..f387976 100644 --- a/g3doc/style-guide.md +++ b/g3doc/style-guide.md
@@ -127,10 +127,10 @@ For example, | instead of | use | -|-------------------------------------|----------------------| | -`const std::vector<T>&` | `std::span<const T>` | | -`const T* ptr, size_t num_elements` | `std::span<const T>` | | -`T* ptr, size_t num_elements` | `std::span<T>` | +|-------------------------------------|----------------------| +| `const std::vector<T>&` | `std::span<const T>` | +| `const T* ptr, size_t num_elements` | `std::span<const T>` | +| `T* ptr, size_t num_elements` | `std::span<T>` | See the [cpp reference][span] for more detailed docs. @@ -268,11 +268,10 @@ | instead of | use | |------------------|-----------------------------------------------------------------------------------------| -| `executable` | `rtc_executable` | | `shared_library` | `rtc_shared_library` | -| `source_set` | `rtc_source_set` (only for header only libraries, for -everything else use `rtc_library`)| | `static_library` | `rtc_static_library` -(use `rtc_library` unless you really need `rtc_static_library`) | | `test` | -`rtc_test` | +| `executable` | `rtc_executable` `shared_library` | `rtc_shared_library` | +| `source_set` | `rtc_source_set` (only for header only libraries, for everything else use `rtc_library`) | +| `static_library` | `rtc_static_library` (use `rtc_library` unless you really need `rtc_static_library`) | +| `test` | `rtc_test` | ### Target visibility and the native API