New DocTree element `<line_break>`.
Suggestion: Introduce a new Doctree element <line_break> in Docutils 1.0 add "line_break" to docutils.dtd and document it in https://docutils.sourceforge.io/docs/ref/doctree.html add new class docutils.nodes.line_break add visit_line_break() and depart_line_break() methods to Docutils writers. New standard directive line-break. Similar to "replace", "date", and "unicode", this directive may only be used in substitution definitions, e.g. .. |br| .. line-break:: I want a line break\ |br| before this...
-1 for backslash at line-end as "hard line break" in reStructuredText. This would not fit nice with Escaped whitespace characters are removed from the output document together with the escaping backslash. This allows for character-level inline markup. — https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#escaping-mechanism Rather, I suggest "backslash + newline" as a line continuation syntax for, e.g. wrapping long section titles. +1 for a representation of hard line breaks in the...
Instead of relying on a "magic" class value, we may also allow the "xml:space" attribute for <inline> elements and represent a hard line break in the Document Tree as space-preserving inline element containing a newline character. Markdown parsers (like MyST and pycmark) could translate an end-of-line backslash to <inline xml:space=preserve>\n</inline> Writers would need to check inline elements for xml:space and translate it accordingly (e.g. HTML may use <span style="white-space:pre-wrap;">...<\span>...
Inconsistent handling of "figure" directive option "align".
The figalign option and the legacy-figure-align setting are added in in [r10407].
Add "figalign" option to "figure" directive.
Update copyright info.