Installation is easy as 1, 2, 3. Because that's the number of files you need to copy into your project to get it installed. Here are those files as you will find them in the download.
We will go into depth with each of these files later in the documentation.
All you need to do is move them over to their respective position in your Laravel application. After moving the files over to your application, you will need to make sure that Livewire has discovered the new MarkdownX component by running the following
php artisan livewire:discover
Boom 💥. We've just installed the MarkdownX component in your project. You can now use the livewire component inside any of your views by referencing the Livewire component:
You may want to add a few styles around that component to position it correctly:
<div class="max-w-4xl mx-auto"> <h1 class="py-10 text-4xl font-bold">Welcome to MarkdownX</h1> <livewire:markdown-x /> </div>
That's it. You are now using the MarkdownX editor in your project 👏. In the next section we'll cover a few things that you should know to get the best out of this editor.
Want to download MarkdownX and use it in your project and support ongoing development? If so, you will want to upgrade to a Pro account 🌟.
Click here 👇 to learn more.Upgrade to Pro
Take these 2 steps to try out the demo
We'll never message you. This is just to prevent spam. Damn Spammers! Ruin it for everyone 😆.Verify Here
Now you can click create->post and try out the editor
Warning: If you are testing the editor, do not publish an incomplete post. It will be deleted.