Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension jebbs.plantuml: markdown highlight misunderstands plantuml string inside sh snippet #592

Open
awvalenti opened this issue Aug 14, 2024 · 0 comments

Comments

@awvalenti
Copy link

Type: Bug

Name: PlantUML
Id: jebbs.plantuml
Description: Rich PlantUML support for Visual Studio Code.
Version: 2.18.1
Publisher: jebbs
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml

Markdown highlighting understands a='
plantuml
' as language switching from shell script to plantuml. Then it highlights stuff incorrectly. See example below and attached GIF. Note that #wrong goes from gray to white when it should'nt.

Peek 13-08-2024 18-25

# right
r4='plantuml'

w1='
  plantuml
'
# wrong

Extension version: 2.18.1
VS Code version: Code 1.92.1 (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z)
OS version: Linux x64 5.15.0-118-generic snap
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10700T CPU @ 2.00GHz (16 x 2194)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
webnn: disabled_off
Load (avg) 0, 1, 0
Memory (System) 15.10GB (7.83GB free)
Process Argv --no-sandbox --disable-extensions --crash-reporter-id e478582e-a30a-45d5-8978-2ed55806744f
Screen Reader no
VM 0%
DESKTOP_SESSION cinnamon
XDG_CURRENT_DESKTOP X-Cinnamon
XDG_SESSION_DESKTOP cinnamon
XDG_SESSION_TYPE x11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant