taylorh140 / typst-pintora

A packaged version of pintora intended as a typst plugin.
7 stars 0 forks source link

Implement selectable text that can be copied #1

Open MrToWy opened 2 months ago

MrToWy commented 2 months ago

On pintorajs.vercel.app you can copy the text of a generated diagram.

image

In typst-pintora, the text inside a diagram can not be copied. Is is possible to implement selectable text in typst-pintora?

taylorh140 commented 2 months ago

Ahh im glad you ask since this should soon be possible without any effort on my end: https://github.com/typst/typst/issues/1239

I asked for the same thing almost a year ago. The main details here is that the plugin produces SVGs and as implemented in typst they are not selectable. They depend on upstream libraries. Ill keep this open until it works though.

Thanks for the issue.