Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2022-08-09 (1 month ago) | | Not yet rated by the users | | Total: 33 This week: 1 | | All time: 10,559 This week: 163 |
|
Description | | Author |
This package can publish blog posts with content in Markdown format.
It provides an application that uses the Laravel framework to provide a Web interface and an API to allow users to create, update, delete and view blog posts.
The blog posts editing pages allow the users to enter the post text in the Markdown format.
The application converts the posts to HTML before displaying the posts on Web pages. Innovation Award
August 2022
Nominee
Vote |
Blogs are still a popular form of publishing content of interest to a given community.
HTML is a natural format for defining blog content because Web pages use HTML to determine the page contents.
However, certain HTML tags may be insecure to allow blog post authors to submit content because a malicious author may use specific tags to steal private information from blog visitors.
Markdown is not as powerful as HTML in rendering content, but it is undoubtedly more secure because it does not support the same kind of tags HTML supports and can be insecure.
This package implements a blog system that allows authors to edit the post content in Markdown format, and then it displays that content on Web pages using regular HTML.
Manuel Lemos |
| |
|
|
Innovation award
Nominee: 2x |
|
Details
Laravel Markdown Blog
An example blog application using Laravel, Markdown, Prism JS and Markdown JS - the right way.
Live Demo -
http://laravel-markdown-blog.herokuapp.com
Why I've done this ?
Basically I love to write blog articles on my DevsEnv - https://devsenv.com website by Laravel which uses Tiny MCE Editor, but I'm not satisfied with that. I believe, using Markdown is just a much better way to write blog articles.
Versions
-
PHP - `^7.3|^8.0`
-
Laravel - `^8.75`
External packages, I used
-
Laravel Markdown Parser - https://github.com/GrahamCampbell/Laravel-Markdown
-
JavaScript Markdown Editor - https://github.com/sparksuite/simplemde-markdown-editor
-
PrismJS - https://prismjs.com/
-
SimpleMDE - https://simplemde.com/
How to Start
## Clone repository
git clone https://github.com/ManiruzzamanAkash/laravel-markdown-blog.git
## Go to that folder
cd laravel-markdown-blog
## Install composer
composer install
## Create file .env and
Copy .env.example to .env
## Create a database called
laravel_markdown
## Generate Key
php artisan key:generate
# Run migrations and seeder file to seed 1,000 tutorials
php artisan migrate --seed
## Install node, as we've used Tailwind CSS
npm install
## Run tailwind CSS in watch mode to detect any file change
## and automatically generate app.css in public/css/app.css
npm run watch
Screenshots
Tutorial Lists Page
Tutorial Create Page
Tutorial Create Tutorial Fill Data
Tutorial Detail Page
Tutorial Edit Page
After Save Tutorial
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.