Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default mdmath style should not impact "normal" markdown preview #122

Open
arnauldvm opened this issue Mar 2, 2022 · 1 comment
Open

Comments

@arnauldvm
Copy link

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

  1. Create markdown file with table and long text paragraph
  2. Launch markdown preview
  3. 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
@AzureArmageddon
Copy link

I'm able to reproduce the centered tables by enabling mdmath. I'm not encountering justified text. Would love to see this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants