Styling Markdown and CMS Content with Tailwind CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 68

  • @adhecson
    @adhecson 3 ปีที่แล้ว +24

    Styling markdown tuts from you guys is something I'm waiting for!

  • @soviut303
    @soviut303 3 ปีที่แล้ว +45

    A video about overriding settings on the typography plugin would be very useful. The format for this changed from Tailwind 1 to 2.

    • @eesusck
      @eesusck 3 ปีที่แล้ว

      It's explained in the repo's readme.md 👍

    • @soviut303
      @soviut303 3 ปีที่แล้ว +8

      @@eesusck Sure, but almost everything in these videos is documented elsewhere. Typography overrides are pretty involved so a video showing how it's done (and highlighting the differences between 1 and 2) would lower the barrier to entry.

  • @rfmiotto
    @rfmiotto 3 ปีที่แล้ว +6

    Congratulations Tailwind Labs for producing these amazing video tutorials, which shows exactly how to use TailwindCSS and all its features! By just reading the docs from tailwindcss/typography I wasn't quite sure about how and why one should use it, but this video just cleared my mind.

  • @seunoyebode
    @seunoyebode 3 ปีที่แล้ว +11

    🤩 so cool. Can’t wait to try this out with Nuxt Content Module

  • @christostsangaris4785
    @christostsangaris4785 2 ปีที่แล้ว

    Saved me from the trouble to create my own component to handle markdown! Tailwind is awesome!

  • @paulsalele3844
    @paulsalele3844 2 ปีที่แล้ว

    Tailwind is amazing, was stuggling to style my markdown from a CMS and all I needed was this installation. Thanks!!

  • @rickybarabba7866
    @rickybarabba7866 3 ปีที่แล้ว

    Tailwind is getting better and better every release and I consider it the standard "de facto" for my daily front-end development.

  • @JohnSmith-zl8rz
    @JohnSmith-zl8rz 3 ปีที่แล้ว

    Thank You! typography is game changer when you dealing with CMS's.

  • @Triyanox
    @Triyanox 2 ปีที่แล้ว

    This is very great man I'm using the typography plug-in in my blog it's amazing !!

  • @coltonwilliams1565
    @coltonwilliams1565 3 ปีที่แล้ว +3

    This is nice. I was hoping it would show how to change fonts of headings vs fonts of paragraphs and links, etc

  • @jagjens
    @jagjens 3 ปีที่แล้ว

    Such high production value 🤙

  • @colton.padden
    @colton.padden 3 ปีที่แล้ว

    This is just what I was looking for to use with Hugo. Thanks a bunch!

  • @mahdinaderian4053
    @mahdinaderian4053 3 ปีที่แล้ว

    Loved the style of your music.

  • @eddiebsteven
    @eddiebsteven 3 ปีที่แล้ว

    Wizzy Wig! I've never heard anybody say it like that, I love it!

  • @himanshusrivastava931
    @himanshusrivastava931 3 ปีที่แล้ว +1

    Simon never blinks...!! 😮

  •  3 ปีที่แล้ว

    I just want to cry, I should have seen this video 4 hours ago.

  • @zackplauche
    @zackplauche 2 ปีที่แล้ว

    That whisper at 1:07 was hilarious 🤣🤣🤣🤣🤣🤣🤣🤣

  • @israsenior-dev
    @israsenior-dev 2 ปีที่แล้ว

    The best! Thanks you so much dude.

  • @enyelsequeira3619
    @enyelsequeira3619 3 ปีที่แล้ว

    You guys are freaking crazyyyyy!!! Insane!!

  • @michal_kuczek
    @michal_kuczek 3 ปีที่แล้ว

    this is where WordPress Gutenberg editor can be awesome in combination with tailwind, it's easy to add programmatically tailwind classes to Gutenberg blocks

  • @swyxTV
    @swyxTV 3 ปีที่แล้ว

    lovely tutorial! would also mention dark mode.

  • @dugsiiye
    @dugsiiye 3 ปีที่แล้ว

    Awesome Thanks Man

  • @alfieqashwa
    @alfieqashwa 3 ปีที่แล้ว +1

    Thank you from Indonesia 🥰

  • @somevideos99999
    @somevideos99999 3 ปีที่แล้ว

    Thank you for a great product and tutorial. On my system, I need to change the h1 color on a single div. How can I tell prose to use white color on this div? Currently I've added a class using !important to get the text color to change. Is there a "prose" way? Thank you!

  • @amruthesh
    @amruthesh ปีที่แล้ว

    Hey, thanks. It was really helpful.

  • @marioemblem
    @marioemblem 3 ปีที่แล้ว +4

    Can the font family be changed?

    • @ngonimugumwa6374
      @ngonimugumwa6374 3 ปีที่แล้ว

      If you mean an exterior font from Google fonts or something then yes. You’ll usually add that to your Tailwind config file.
      Now that JIT has been released I’m not sure if you can just link it via an html link tag and then reference it inline.

  • @TheKMov
    @TheKMov 3 ปีที่แล้ว

    Thanks for the video. Do you have a WYSIWYG editor recommendation that plays nicely with this? I've tried Quilljs, but the break line produce a huge space between paragraphs since they generate 'p' tag with 'br' inside.

    • @swabhyaasgatecs2733
      @swabhyaasgatecs2733 3 ปีที่แล้ว

      Maybe you can use shift+Enter, Instead of Enter, Works for me in Ckeditor

  • @jujijiju6929
    @jujijiju6929 3 ปีที่แล้ว +1

    Man, we have the same exact hairstyle.

  • @fabio5antos
    @fabio5antos 2 ปีที่แล้ว

    How is the situation of youtube, Facebook and Twitter links, where they load the video and the Card of the information of that link, which are added in the text editors of the CMS WordPress?

  • @accuratecalcs
    @accuratecalcs 3 ปีที่แล้ว

    Can the typography plugin not be used for HTML markup? I would love to have access to a professionally curated set of CSS utilities. I want to pick the font, and then let Tailwind CSS do the work. :-)

  • @belkocik
    @belkocik 2 ปีที่แล้ว

    how to style image inside paragraph? tried like .cms-content p > img { mx-auto } and I got "container" and "mx-auto" in the component that renders a data from CMS. Haven't worked

  • @rafi_45
    @rafi_45 3 ปีที่แล้ว

    this is beautiful.

  • @RicoTrevisan
    @RicoTrevisan 2 ปีที่แล้ว

    The title of the video says Markdown, but your CMS content is in HTML, no? Which markdown to html converter do you use?

  • @SreekumarMenonPhotography
    @SreekumarMenonPhotography 3 ปีที่แล้ว

    shhhhh! Typography plugin is awesome!

  • @lamanguedouce1189
    @lamanguedouce1189 3 ปีที่แล้ว

    Awesome ! So if I'm very lazy I can even use this with a normal html file 😎

  • @Schlumpfpirat
    @Schlumpfpirat 2 ปีที่แล้ว

    How to use njk files? 11ty? Thought you were using Vite

  • @Shubham-xh9nz
    @Shubham-xh9nz 3 ปีที่แล้ว

    can we get a course or yt series ofr new pattern and best practices ? I am allergic to css but this library makes me think again and again to try it out.

  • @unnhao
    @unnhao 3 ปีที่แล้ว

    wow, nice! it's so useful!!!!!

  • @beeman-dev
    @beeman-dev 3 ปีที่แล้ว +2

    I wish prose worked with Dark mode! 🙏

    • @Svish_
      @Svish_ 3 ปีที่แล้ว

      Doesn't it just inherit base colors? So if dark mode changes base color, prose should too?

    • @beeman-dev
      @beeman-dev 3 ปีที่แล้ว

      @@Svish_ it should but it doesn't. There is an issue in the tailwind typography repo

  • @SusanthCom
    @SusanthCom 3 ปีที่แล้ว

    Thanks 👍❤️ . Could you please share, What's that template system used in this project

    • @LouisAgyapong
      @LouisAgyapong 3 ปีที่แล้ว +2

      I think he’s using nunjucks

    • @SusanthCom
      @SusanthCom 3 ปีที่แล้ว

      @@LouisAgyapong Thanks 👍❤️

  • @SuboptimalEng
    @SuboptimalEng 3 ปีที่แล้ว

    omg 😍

  • @gavenblsn4753
    @gavenblsn4753 3 ปีที่แล้ว +1

    whats your editor font?

    • @dyslexicunt
      @dyslexicunt 3 ปีที่แล้ว

      It's 'Operator Mono' by Hoefler&Co

  • @johnlin6121
    @johnlin6121 2 ปีที่แล้ว

    Cool!

  • @austinimbastari2760
    @austinimbastari2760 7 หลายเดือนก่อน

    omg thank you

  • @imprasna2539
    @imprasna2539 3 ปีที่แล้ว

    I need a help, to know how is he calling the cms content. I couldn't get it. Please do help me

  • @rahulsriram6295
    @rahulsriram6295 3 ปีที่แล้ว

    What about lists? HTML ul, ol and li are unstyled due to thee pre-flight of TailwindCSS

    • @TailwindLabs
      @TailwindLabs  3 ปีที่แล้ว +1

      Not after you add the `prose` class to the wrapping element 👍🏻

    • @rahulsriram6295
      @rahulsriram6295 3 ปีที่แล้ว

      @@TailwindLabs That's excellent. All these plugins for forms, typography & JIT, Tailwind is going places

  • @ShovenaFamily
    @ShovenaFamily 3 ปีที่แล้ว

    I will try it

  • @_parassolanki
    @_parassolanki 3 ปีที่แล้ว

    I really like tailwind css framework but i don't like for styling one element i have to use so many utility class in my HTML

  • @thibautbayong1678
    @thibautbayong1678 3 ปีที่แล้ว

    hello, how integrate tailwind-typography with laravel

  • @ApoorvMote
    @ApoorvMote 3 ปีที่แล้ว +1

    Main advantage of tailwind is design system that makes noob designer look really good. Downside is critical CSS for page is not added until bloated sheet is loaded.

    • @Svish_
      @Svish_ 3 ปีที่แล้ว +1

      Use their PurgeCSS integration, or their new jit compiler. I end up with an even smaller CSS-file than I would otherwise.

    • @ApoorvMote
      @ApoorvMote 3 ปีที่แล้ว +1

      @@Svish_ First of all I use them both. Secondly size of CSS file is unimportant. Issue is that it makes another network request to download CSS file. If the critical CSS was embeded in the HTML file then before full CSS file was downloaded you have styling. And its super critical for Web Vitals i.e. LCP, FID, CLS. So yes the current workaround is I embed entire website CSS inside the HTML. But unfortunately purgeCSS generates CSS for whole website not for per page basis. And as your site gets more pages then more unnecessary CSS gets added.

  • @oomusou
    @oomusou 3 ปีที่แล้ว

    amazing

  • @chanandlerbong6176
    @chanandlerbong6176 3 ปีที่แล้ว

    01:08 😂 I don't know if you are the kid or you treating us like kids

  • @bluemwhitew
    @bluemwhitew 3 ปีที่แล้ว

    Shhh! 🤫

  • @learnfronteasy9642
    @learnfronteasy9642 2 ปีที่แล้ว

    hi I'm learning Tailwind in Persian language