[libc-commits] [libc] [libc][docs] adds highlighting languages to `docs/dev/config_options.rst` (PR #89136)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Apr 18 09:15:41 PDT 2024


================
@@ -123,7 +121,7 @@ should convert the CMake config options to appropriate compiler and/or linker
 flags. Those compile/link flags can be used in listing the affected targets as
 follows:
 
-.. code-block::
+.. code-block:: none
----------------
nickdesaulniers wrote:

```suggestion
.. code-block:: cmake
```

https://sublime-and-sphinx-guide.readthedocs.io/en/latest/code_blocks.html says that `pygments` is what's used for syntax highlighting.

https://pygments.org/languages/ claims that `cmake` is supported. Can you use that here rather than none?

https://github.com/llvm/llvm-project/pull/89136


More information about the libc-commits mailing list