Obsidian does not render inline math (e.g., $\bar{r}$ or $\hat{r}$) properly in reading view when:
- the inline math starts at the beginning of a line and
- there are at least 29 lines in the note.
It works fine when the note has less than or equal to 28 lines, or the inline math is in the middle or at the end of a line.
Steps to reproduce
- Open a new page.
- Type the following 29 lines:
$\hat{r}$ 1
$\bar{r}$ 2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- Press
Cmd-E. (You can see that $\hat{r}$ and $\bar{r}$ are not properly rendered. Both are rendered as $r$.)
- Edit the page to remove the last line (29th).
- Press
Cmd-E. (This time, $\hat{r}$ and $\bar{r}$ are properly rendered.)
Expected result

…
Actual result

…
Environment
- Operating system: macOS 12.0.1
- Debug info:
SYSTEM INFO:
Obsidian version: v0.13.19
Installer version: v0.13.19
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Safe mode: on
RECOMMENDATIONS:
none
Additional information