ForNeVeR / ForNeVeR/fornever.me

Markdown: monospace highlighting works differently inside of a list

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
kind:bug
Dominant language
F#
Stars
24
Forks
4
Avg merge
6d 23h
Merged PRs (30d)
1

Description

Consider this markup from [A variant of a diff algorithm for constrained conditions](https://fornever.me/en/posts/2021-02-12.constrained-diff-algorithm.html):
```
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:
image

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.