How do I make Code Blocks work with MDX JS Loader? #1554
-
I am trying to follow https://ped.ro/blog/code-blocks-but-better I want to use it because it highlights code blocks on particular lines, particular keywords, show preview with code, different themes & bunch of other features so it's very interactive. I want to make my own blog which is just a clone of https://github.com/tailwindlabs/blog.tailwindcss.com/ to have it. I am having a hard time converting the styles part from MDX Bundler into MDX JS Loader especially after the heading Part 2 - UI He is using Stiches & I want to use Tailwind. Where do I put those styles so I can have different colored themes? Another part under Part 3 - Component substitution, he is using XDMs Component Substitution. Where do I put the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@peduarte, as the author of the blog post, may be able to better answer questions on the post. |
Beta Was this translation helpful? Give feedback.
@peduarte, as the author of the blog post, may be able to better answer questions on the post.