Line blocks

Details

Line blocks are a reStructuredText syntax used to explicitly indicate that line breaks should be treated as hard breaks.

rst2typst converts reST line blocks into \ (markup of line breaks) in Typst, as Typst lacks a built-in feature identical to reST’s line blocks.

Examples

Simple usage

| Lend us a couple of bob till Thursday.
| I'm absolutely skint.
| But I'm expecting a postal order and I can pay you back
  as soon as it comes.
| Love, Ewan.
Lend us a couple of bob till Thursday. \
I'm absolutely skint. \
But I'm expecting a postal order and I can pay you back
as soon as it comes. \
Love, Ewan. \

References

Docutils:

Typst: