mdmath
mdmath copied to clipboard
Default mdmath style should not impact "normal" markdown preview
Summary
When the extension is enable, all my Markdown preview is impacted.
For example, tables are centered, text is justified...
Expected behavior
I was expecting mdmath would only impact inline math content.
Actual behavior
mdmath impacts style for whole content
Steps to reproduce
- Create markdown file with table and long text paragraph
- Launch markdown preview
- Observe: the table is centered and the text is justified
Code example
| Date | 2021-08-02
|:---- |:----------
| Id | XXX
| Participants | a b c
Lorem ipsum dolor sit amet, consectetur_adipiscing_elit_sed_do_eiusmod_tempor_incididunt_ut_labore_et_dolore_magna_aliqua
Related links
Environment
Operating system: Windows 10
VSCode version:
Version: 1.64.2 (system setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.18363
Markdown+Math version: v2.7.4
I'm able to reproduce the centered tables by enabling mdmath. I'm not encountering justified text. Would love to see this fixed.