prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

Remove util.docs.formatJsonExample #96

Closed taylorreece closed 2 years ago

taylorreece commented 2 years ago

util.docs.formatJsonExample was only really useful for internal Prismatic component documentation for built-in components, and we've moved all of those to use type: "code", language: "json" for proper syntax highlighting. I think we can safely remove this utility function.