fuels-ts icon indicating copy to clipboard operation
fuels-ts copied to clipboard

Implement new setup for code snippets

Open arboleya opened this issue 1 year ago • 1 comments

In the past, we had a couple of issues involving code snippets:

  • https://github.com/FuelLabs/fuels-ts/issues/1960

They can be missing imports, have invalid syntax, etc. We must improve our handling of these to ensure that the code chunks we provide in the docs are 100% reliable.

I outlined a proposal for it in this discussion — https://github.com/FuelLabs/fuels-ts/discussions/2159#discussioncomment-9219003.

Here's a quick PoC for it — https://github.com/arboleya/docs-widgets.

arboleya avatar May 28 '24 10:05 arboleya

Blocked by:

  • https://github.com/FuelLabs/fuels-ts/issues/2712

arboleya avatar Jul 09 '24 13:07 arboleya