[markdown] Implement `$` and `$$` for math fencing in math filter See merge request gitlab-org/gitlab!94111