iamcco / iamcco/markdown-preview.nvim

Mermaid Class Digram Multiplicity not shown

Open
#573 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. having multiplicity like "1..*" before the relationship symbol "--"
```
classDiagram
Title "1..*" -- "1..*" Genre: is associated with

Title "1" *-- "0..*" Season :has
Title "1" *-- "0..*" Review :has
Title "0..*" o-- "1..*" Actor :features

Viewer "0..*" --> "0..*" Title :watches

TV Show --|> Title :implements
Short --|> Title :implements
Film --|> Title :implements

Season "1" *-- "0..*" Review :has
Season "1" *-- "0..*" Episode :contains
Episode "1" *-- "0..*" Review :has
```
2. Check that multiplicity is not shown when preview
image

**Expected behavior**
It should show 1..* or 0..* same as the mermaid live preview or in GitHub markdown preview (both show the same way)
image

**Screenshots**

**Desktop (please complete the following information):**
- OS: MacOs 13.3.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.