Skip to content

Generated images are clipping text #49

Description

@duncanawoods

All my images are clipping text on Ubuntu 18.04 e.g.

graph TB
  A(This is a string) --> B(This is another string)

vscode mermaid cut-off

Extra info:

  • Happens with no other extensions enabled
  • Happens on Linux but not on on Windows
  • Happens on multiple Linux machines
  • Happens on all past versions over the last year
  • Happens even if I rebuild with latest dependencies & Mermaid 8.4.4
  • Doesn't happen with github rendering or online mermaid tool
  • Doesn't happen with mermaid-cli on the same Ubuntu machines

I guess it's something Linux specific in the VS Code rendering but I'd appreciate ideas of a work-around.

Version details:

Version: 1.41.1
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T15:04:31.999Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.0.0-37-generic
Name: Markdown Preview Mermaid Support
Id: bierner.markdown-mermaid
Description: Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
Version: 1.4.1
Publisher: Matt Bierner
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions