fornever.me
fornever.me copied to clipboard
Markdown: monospace highlighting works differently inside of a list
Consider this markup from A variant of a diff algorithm for constrained conditions:
The goal of the algorithm is to produce a shortest _command_ sequence which,
when applied to a sequence `A` and mapping `ItemsA`, will produce a mapping
`ItemsB`, which has the following properties:
1. It maps every item in sequence `B` to a number.
2. All the numbers are distinct (no two items map to same number).
2. When ordered by the corresponding numbers in `ItemsB`, sequence `B` remains
itself.
It gets rendered in the following way:
See how the code fenced items B
, ItemsB
etc. are not bold in the list, but are bold in the preceding block.
They should be rendered in the same way everywhere.