Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 868 Bytes

commonmark.md

File metadata and controls

37 lines (24 loc) · 868 Bytes

Laravel CommonMark

CommonMark for Laravel. Powered by league/commonmark.

Installation

  1. Publish all the assets / views with php artisan vendor:publish --provider="ARKEcosystem\Foundation\Providers\CommonMarkServiceProvider" --tag=config.

Usage

This package provides parsing and rendering for CommonMark. All the specifications and examples can be seen at https://commonmark.org/. There are a few custom elements that can be used to embed third-party content.

Add an image with a caption that accepts markdown

[img src="https://i.imgur.com/tpEev9m.png"]
Caption with **markdown** 
[/img]

Embed SimpleCast

![](simplecast:0275fefa-b0e5-4558-b876-09deb95386e6)

Embed Twitter

![](twitter:laravelnews/status/1315392740537044995)

Embed YouTube

![](youtube:Mb-oVVctwyc)