Open H2WO4 opened 2 years ago
I guess it could be done, but sounds obscure? Where is it used?
It is used solely (to my knowledge) by Mermaid (the Markdown extension).
Within that, it is used solely for Entity Relationship Diagrams (used, for example, to represent relational databases).
I definitely agree that it's obscure, and would definitely understand if this is given low priority (and honestly, it should).
It is just that Fira Code currently does not work well at all with this notation.
Example:
Additionally, here is the official syntax specification: https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram?id=relationship-syntax
Would it be possible to add ligatures for Mermaid's ERD relationship notation? As it is not a common use case, adding them as variants might be preferable.
Syntax specification:
|o
||
}o
}|
--
o|
||
o{
|{
Examples:
}o--||
,|o--|{
Possible problems may arise, as
||
,|-
and-|
are already ligatures. Hard-coding every possibility could possibly work.Design: