Add Prism Code Syntax Styling To NextJS Blog (mdx-prism)

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 25

  • @X1Zeth2X
    @X1Zeth2X 3 года назад +6

    Hey dude, I've started watching your videos recently and just want to say that your tutorials are very helpful - keep it up cause I see lots of potential! :)

  • @omkarnarayankar5275
    @omkarnarayankar5275 2 года назад

    Great tutorial man. I was struggling with this and it was frustrating. Keep up the good work !!!!

  • @alfonsolasa2495
    @alfonsolasa2495 3 года назад +1

    This is really hight quality video Benjamin! Thanks for sharing your knowlage!!

  • @tho_norlha
    @tho_norlha 2 года назад

    You are amazing, I’m a cs 2nd year student and you are an inspiration to me

  • @jackfwinterburn
    @jackfwinterburn 3 года назад +3

    Great quality video bro 🙌🏿, might wanna try turning down the exposure for the face cam tho

    • @BenjaminCarlson
      @BenjaminCarlson  3 года назад +1

      Just got a new camera so I was playing around with the settings. Thanks for the tip!

  • @CodingNuggets
    @CodingNuggets 3 года назад +2

    Hey Benjamin. Good job on the videos. I think you might need to add a diffuser to your light source or turn down the exposure in your editor. Great video overall. See you soon!

    • @BenjaminCarlson
      @BenjaminCarlson  3 года назад +1

      Yep! Just got new lights and camera and shot before testing setup... Didn't feel like reshooting and editing it post production made it look not natural. Will be fixed next video!

    • @CodingNuggets
      @CodingNuggets 3 года назад +2

      @@BenjaminCarlson You'll get it. I'm trying to get my setup right also. It's cumbersome. Once we get the flow down, we'll be able to rock and roll consistently!

    • @BenjaminCarlson
      @BenjaminCarlson  3 года назад +1

      Exactly!

  • @aianshu
    @aianshu 2 года назад +1

    can you please help how can i add pagiantion in nextjs MDX blog

  • @stevechow8892
    @stevechow8892 2 года назад

    great tutorial! but I suggest you use contentlayer with nextjs to render mdx
    !

  • @roosterfloss758
    @roosterfloss758 2 года назад

    Is it possible to add pagination somehow in the mdx blog without swr or any overhead CMS?

  • @nemethricsi
    @nemethricsi 3 года назад +1

    That's very cool! I've always struggled how to use Prism! thank you! Will it cover any languages? Or just javascript? Or how does it work?

    • @BenjaminCarlson
      @BenjaminCarlson  3 года назад +1

      Yup, any language! Just replace javascript with your language.

    • @nemethricsi
      @nemethricsi 3 года назад +1

      @@BenjaminCarlson Thank you! :) What tool are you using for zooming in so nicely during your tutorials? 🧐

    • @BenjaminCarlson
      @BenjaminCarlson  3 года назад +1

      @@nemethricsi I use Final Cut Pro from Apple!

    • @nemethricsi
      @nemethricsi 3 года назад

      @@BenjaminCarlson thanks!

  • @popularedits6984
    @popularedits6984 3 года назад

    Can you tell mee how can i make documentation website using mdx and nextjs?? Please

  • @renzogiancarloriosrugel2331
    @renzogiancarloriosrugel2331 3 года назад

    Hi, thanks for your videos, any recomendación or documentation to put the views count like your website?

    • @BenjaminCarlson
      @BenjaminCarlson  2 года назад

      I am using firebase database for that. I would check out their docs or even look at the source code for my site benjamincarlson.io. I think I added the views in this series but I forget as it was a while ago

  • @aianshu
    @aianshu 2 года назад

    bro this is a error: ESM packages (remark-autolink-headings) need to be imported. Use 'import' to reference the package instead