15 Commits

Author SHA1 Message Date
Matt Aitken 9da448a21b The code block now works with jsx/tsx 2023-02-16 15:22:41 +00:00
James Ritchie e77bfc77e0 more style improvements 2023-02-02 19:38:17 +00:00
D-K-P 769de0f875 Added line numbers to code block 2023-01-19 17:04:34 -08:00
James Ritchie f9b43645c7 Expand button padding tweak 2023-01-09 17:46:55 +00:00
Matt Aitken d844b07e6e Code block collapses as well as expands 2022-12-30 19:15:20 +00:00
Matt Aitken a80cfe1b8b Put a max height on a code block with expand functionality 2022-12-28 16:30:43 +00:00
Matt Aitken db8c4e481b Improved the alignment of the code block when top aligned 2022-12-21 13:59:40 +00:00
James Ritchie 4abfaffc2a Added an error code block to the error node 2022-12-20 11:47:29 +00:00
Matt Aitken 9166ee4c23 Added an optional copy code button in the prisma component 2022-12-20 10:11:03 +00:00
Matt Aitken d2477b2a67 Added explicit typescript and json languages to the code block 2022-12-19 16:32:24 +00:00
Matt Aitken ec54b2858d Render the code manually so we don’t get issues with server and client mismatch 2022-12-19 16:27:51 +00:00
Matt Aitken 9eabadc393 Moved the typescript prisma plugin into the CodeBlock file 2022-12-19 16:20:59 +00:00
Matt Aitken dad0c6d0e6 Fix for Prismjs Remix server/client mismatch error. But it has a horrible flash when the page loads 2022-12-19 16:19:20 +00:00
James Ritchie 1f57ec591f Prism theme improvement 2022-12-16 15:38:33 +00:00
James Ritchie bcd07fe768 Renamed filename to be correct casing 2022-12-16 11:48:54 +00:00