Markdown Title Colors works on Github but not in Joplin

Operating system

Linux

Joplin version

3.1.24

Desktop version info

Joplin 3.1.24 (prod, linux)

Client ID: 0c4d015e6fd94b1ca23cf7a6ba513570
Sync Version: 3
Profile Version: 47
Keychain Supported: No

Revision: d58126484

Backup: 1.4.2

Sync target

File system

Editor

Markdown Editor

What issue do you have?

Hello, the color code works with both Joplin and Github. However it does not work on titles (#).

This markdown below works with Joplin and Github

$${\color{red}Title \space Markdown \space Color}$$

The markdown below works only with Github

## $${\color{red}Title \space Markdown \space Color}$$

Currently, Joplin seems to require single $s for inline math. For example, in a title,

## ${\color{red}Title \space Markdown \space Color}$