terrylinooo / githuber-md

Markdown editor plugin for WordPress.
GNU General Public License v3.0
604 stars 88 forks source link

Use mathjax and python blocks in the same article will lead to cross-line mathjax equations not rendered #332

Closed TomHeaven closed 6 months ago

TomHeaven commented 10 months ago

Describe the bug

Use mathjax and python blocks in the same article will lead to cross-line mathjax equations not rendered

To reproduce

Steps to reproduce the behavior:

  1. Create the following article:

Somthing...

```mathjax P{ij}^k(t) \propto \tau{ij}(t) \tag{1} ``` Somthing...

```python import numpy as np ```

  1. Publish the article.

Expected behavior

The cross-line Mathjax equation will not be rendered.

Screenshots Equations Normal in Editor Figure1: Equations Normal in Editor

Equations not Rendered in Page Figure 2: Equations not Rendered in Page

Server environment

User environment

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.