Articles

Rendering MDX in a Svelte component when using Astro

I like to use both Svelte and MDX when I work with Astro… but I encounter a problem when using all three of them at once — I can import an MDX file directly into Astro, but can I import MDX into Svelte?

Normally, you can’t. But there’s a way to use MDX with Svelte. And that’s what I’m going to share with you today.

Setting up Visual Studio Code for Web Development — For Beginners and Intermediate Developers

The coding environment is one of the most important things for a developer.

If you set up your coding environment with the right Linters and Formatters, coding will be very simple. If you don’t, coding will be a nightmare. Why? Because linters and formatters help you catch many errors and speed up the development process (and also, remove a lot of headache you will face from your constant typos)!

Now you know the importance of the environment, the next step is to configure this environment such that it works for you. This is a difficult task because there are so many options available today.

The good news is: You don’t have to do any of that difficult work because I’ve narrowed down the best configuration possible (in my opinion) for you.

I’m going to tell you what the configuration is and how to set it up.

Never let anyone stop you from pursuing your dreams

Whatever you yearn to be — be it a developer, a writer, a designer or anything else in the world — never let anyone stop you from pursuing your dreams.

Your dream is something precious to you. It directs the way you want to manifest in this lifetime. And you will continue to want to manifest your dreams even if the whole world is against you.

Understanding the color-scheme property

You would have heard of the CSS color-scheme property if you are interested in adding a dark theme to your website. Here’s what it looks like:

:root {
color-scheme: light dark;
}

Hold on while i sign you up…

🤗
Woohoo! You’re in!
Now, hold on while I redirect you.