On Mon, Oct 7, 2024 at 8:04 PM Rong Xu <xur@xxxxxxxxxx> wrote: > > I removed the "code-block" directives from the rst files, > and used "::" suggested by Jonathan. The rst files themselves are now I think it was Mike. > (1) The text that was previously in code-block no longer indents. It aligns > with the preceding text, regardless of how many spaces I add. Did you try with a tab? At least in Doc/rust/ all those three ways (i.e. `::`, `.. code-block::` and a single `:` for indented non-code) seem to work fine, e.g. the following document uses all of them: https://docs.kernel.org/rust/coding-guidelines.html I hope that helps! Cheers, Miguel