PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Markdown X preview not working

Solved
cyberagora

Mar 17th, 2024 12:13 PM

I'm not sure if anyone is having the same issue where the preview is not working here is a sample project sample

bobbyiliev

Mar 18th, 2024 02:30 AM

Hey!

Would you mind making that repository private? Publishing the MarkdownX files publicly violates the license.

Feel free to add me as a contributor to the private repo and I will be happy to take a look. My GitHub username is bobbyiliev

cyberagora

Mar 18th, 2024 03:08 AM

sure here https://github.com/CovertError/LivewireTest/invitations

bobbyiliev

Mar 18th, 2024 03:13 AM

Best Answer

Hey!

Thank you for this!

The problem is that you have not included the Tailwind CSS typography plugin:

Install the plugin from npm:

npm install -D @tailwindcss/typography

Then add the plugin to your tailwind.config.js file:

/** @type {import('tailwindcss').Config} */
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('@tailwindcss/typography'),
    // ...
  ],
}

Alternatively you could quickly test this with the dev CDN:

  <script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio,line-clamp"></script>

I'll submit a PR to add this to the docs! Thanks for pointing it out.

Hope that this helps!

Best,

Bobby