8.3.2.2.3.32. parse_inline

DispatcherSphinxDirective.parse_inline(text: str, *, lineno: int = -1) tuple[list[Node], list[system_message]]

Parse text as inline elements.

Parameters:
  • text – The text to parse, which should be a single line or paragraph. This cannot contain any structural elements (headings, transitions, directives, etc).

  • lineno – The line number where the interpreted text begins.

Returns:

A list of nodes (text and inline elements) and a list of system_messages.

Added in version 7.4.