ZIm/crates/markdown/src
Marshall Bowers 990bdde5e8
gpui: Add helper methods for em width and em advance (#24036)
This PR adds two helpers methods to the `TextSystem`:

- `em_width`
- `em_advance`

These methods return the width and advance width for an `em`,
respectively.

We were using these definitions in a number of different spots, and by
unifying them we better canonicalize that an `em` is based on the `m`
character.

Release Notes:

- N/A
2025-01-31 17:47:44 +00:00
..
markdown.rs gpui: Add helper methods for em width and em advance (#24036) 2025-01-31 17:47:44 +00:00
parser.rs Remove ENABLE_MATH option from pulldown_cmark to fix links which contain dollar sign (#22647) 2025-01-07 21:21:18 +00:00