tldraw / tldraw-v1

A tiny little drawing app. This is the original 2021-2022 version, released under MIT.
https://old.tldraw.com
MIT License
60 stars 36 forks source link

[feature] .tldr.svg extension support in VScode #30

Closed baptiste closed 7 months ago

baptiste commented 1 year ago

I'm not too sure how it works exactly, but drawio's VScode extension recognises the .drawio.svg (and drawio.png) double extension, which is very convenient when embedding the image (recognised as such) in a markdown document in visual editor mode. Because it's also recognised by the drawio extension as a valid scene, it can be edited side-by-side in real time (cf screenshot).

Screenshot 2023-02-20 at 07 54 06

Now, drawio is XML-based, so perhaps this dual-purpose is more straight-forward to achieve than with the JSON-based tldr format, but I imagine the logic would be pretty similar (presumably, embedding the original scene file in the svg/png).

steveruizok commented 7 months ago

Hi, closing this as we won't be adding new features to this version of tldraw. Check https://github.com/tldraw/tldraw for the latest! This issue has been discussed there as well.