All Projects → buzzylab → Laradown

buzzylab / Laradown

Licence: mit
Markdown parser for Laravel built on parsedown

Projects that are alternatives of or similar to Laradown

Laravel Blog
基于Laravel5.8构建的轻量博客应用,支持Markdown,支持图片拖拽上传,界面简洁,SEO友好,支持百度链接自动和手动提交
Stars: ✭ 84 (+189.66%)
Mutual labels:  markdown, laravel
Laravel Markdown
A small, lightweight and easy-to-use Laravel package for handling markdown.
Stars: ✭ 185 (+537.93%)
Mutual labels:  markdown, laravel
Wizard
Wizard是一款开源的文档管理工具,支持Markdown/Swagger/Table类型的文档。
Stars: ✭ 1,733 (+5875.86%)
Mutual labels:  markdown, laravel
Wisteria
Beautiful document tool for your project.
Stars: ✭ 226 (+679.31%)
Mutual labels:  markdown, laravel
Sheets
Store & retrieve your static content in plain text files
Stars: ✭ 175 (+503.45%)
Mutual labels:  markdown, laravel
Moell Blog
基于 Laravel 开发,支持 Markdown 语法的博客
Stars: ✭ 301 (+937.93%)
Mutual labels:  markdown, laravel
Doorman
Limit access to your Laravel applications by using invite codes
Stars: ✭ 913 (+3048.28%)
Mutual labels:  laravel
Eloquent Driver
A package that allows you to store Statamic entries in a database.
Stars: ✭ 28 (-3.45%)
Mutual labels:  laravel
Pusher Chatkit Laravel
Laravel wrapper for the Chatkit PHP SDK. ChatKit is shutting down 😕 - https://blog.pusher.com/narrowing-our-product-focus
Stars: ✭ 21 (-27.59%)
Mutual labels:  laravel
Scheduled Tweets App
A Laravel app to schedule tweets
Stars: ✭ 21 (-27.59%)
Mutual labels:  laravel
Blog
My blog created with React, Gatsby & Markdown
Stars: ✭ 29 (+0%)
Mutual labels:  markdown
Laravel Dev Booter
🚧 Boost your Laravel app by registering Prod services only on Prod.
Stars: ✭ 28 (-3.45%)
Mutual labels:  laravel
Markdown
A super fast, highly extensible markdown parser for PHP
Stars: ✭ 945 (+3158.62%)
Mutual labels:  markdown
Leo Blog
My 🏡 on the ☁️
Stars: ✭ 27 (-6.9%)
Mutual labels:  markdown
Partition
A small library for generating markdown tables
Stars: ✭ 28 (-3.45%)
Mutual labels:  markdown
Orderable
My very first Laravel package
Stars: ✭ 21 (-27.59%)
Mutual labels:  laravel
Gorose
GoRose(go orm), a mini database ORM for golang, which inspired by the famous php framwork laravle's eloquent. It will be friendly for php developer and python or ruby developer. Currently provides six major database drivers: mysql,sqlite3,postgres,oracle,mssql, Clickhouse.
Stars: ✭ 947 (+3165.52%)
Mutual labels:  laravel
Laravel Scrum Dev Paas
Laravel后端服务,提供团队协作管理平台的后端业务逻辑
Stars: ✭ 21 (-27.59%)
Mutual labels:  laravel
Notes
📝 Simple delightful note taking, with more unix and less lock-in.
Stars: ✭ 939 (+3137.93%)
Mutual labels:  markdown
Laravel Sftp
SFTP filesystem service provider for Laravel
Stars: ✭ 28 (-3.45%)
Mutual labels:  laravel

Laradown

Latest Stable Version Total Downloads Latest Unstable Version License StyleCI

A New Markdown parser for Laravel built on Parsedown and Parsedown Extra.

Installation

The best and easiest way to install this package is through Composer.

Compatibility

This package fully compatible with Laravel above 5.4.

Require Package

Open your application's composer.json file and add the following line to the require array:

"buzzylab/laradown": "~0.2"

Note: Make sure that after the required changes your composer.json file is valid by running composer validate.

After installing the package, open your Laravel config file located at config/app.php and add the following service provider to the $providers array:

Buzzylab\Laradown\MarkdownServiceProvider::class,

Note: Checkout Laravel's Service Providers and Service Container documentation for further details.

And add the following to $aliases

'Markdown' => Buzzylab\Laradown\Facades\MarkdownFacade::class

Usage

<?php

echo Markdown::render(); // OR echo Markdown::convert();

That's all.

Blade Directive:

Use @markdown directive with parameter:

@extends('layouts.master')

@section('content')
<div>
    
  {{-- $content is markdown data --}}
  @markdown($content)
</div>
@stop

Use @markdown with @endmarkdown as directive block:

@extends('layouts.master')

@section('content')
<div>
  @markdown
  
  # Laradown Packag
  
  @endmarkdown
</div>
@stop

Add style to your converted html with @markdownstyle

    {{-- Get defaute style file --}}
    @markdownstyle
    
    {{-- Custom style file --}}
    @markdownstyle($file)

Helper Functions:

markdown($markdown)

Convert markdown content to html

markdown_style()

Add style to converted html

License

This software is released under The MIT License (MIT).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].