Some options in a ``code-block`` of an RST file kills entire block

Summary

ReStructuredText Rendering

When using the :caption: || :linenos: options in a code-block the block never renders.

Steps to reproduce

example.rst
* example file

   .. code-block:: yaml
      :caption: example.yml

      user: test

What is the current bug behavior?

  • example file

What is the expected correct behavior?

  • example file

    user: test

Output of checks

This bug happens on GitLab.com

Possible fixes

The option :name: is ignored currently and it would be good to get include these options into that frame of reference.

Assignee Loading
Time tracking Loading