jrblevin / markdown-mode

Emacs Markdown Mode
http://jblevins.org/projects/markdown-mode/
GNU General Public License v3.0
875 stars 160 forks source link

Incorrect table alignment with code block #817

Closed jcs090218 closed 7 months ago

jcs090218 commented 7 months ago

Expected Behavior

| Type   | Description   |
|--------|---------------|
| `<|--` | Inheritance   |
| `*--`  | Composition   |
| `o--`  | Aggregation   |
| `-->`  | Association   |
| `--`   | Link (Solid)  |
| `..>`  | Dependency    |
| `..|>` | Realization   |
| `..`   | Link (Dashed) |

Actual Behavior

After M-x markdown-cycle

| Type  | Description   |             |
|-------|---------------|-------------|
| `<    | --`           | Inheritance |
| `*--` | Composition   |             |
| `o--` | Aggregation   |             |
| `-->` | Association   |             |
| `--`  | Link (Solid)  |             |
| `..>` | Dependency    |             |
| `..   | >`            | Realization |
| `..`  | Link (Dashed) |             |

Steps to Reproduce

  1. Paste the expected behavior in markdown-mode
  2. M-x markdown-cyctle on the table

Backtrace

None

Software Versions

jcs090218 commented 7 months ago

Thank you! That was very fast! :D