<!-- Thanks for contributing, please follow the instructions in these comments. This is an Open Source project - please consider contributing a bug fix yourself (please read `CONTRIBUTING.md` before starting any work). --> ### Description <!-- Please describe the bug clearly and concisely and provide any relevant information such as the Cylc version where appropriate. --> The [exemple](https://cylc.github.io/cylc-sphinx-extensions/extensions/cylc.sphinx_ext.cylc_lang.html#pygments-lexers) given in the docs uses a graph string spanning on multiple lines. ```ini [scheduling] initial cycle point = 2000 [[graph]] P1Y = """ @wall_clock => foo? => bar (foo? & bar) => pub """ ``` It is correctly rendered (see the previous link). But a single-line graph string without the 3 quotations marks isn't parsed correctly. ### Reproducible Example ```ini [scheduling] cycling mode = integer initial cycle point = 0 [[graph]] R1/^ = foo => bar R1/+P1 = baz => bar ``` Try this in Sphinx. <!-- Please provide an example of how to replicate this bug to help us diagnose the issue. -->