2017 © Pedro Peláez
 

symfony-bundle simplemde-bundle

This bundle provides the simplemde markdown editor and forms to a symfony bundle

image

ns/simplemde-bundle

This bundle provides the simplemde markdown editor and forms to a symfony bundle

  • Thursday, June 7, 2018
  • by gnat
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1,546 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

SimpleMDEBundle

This bundle provides the simplemde markdown editor, (*1)

Installation

Add the bundle to your composer.json file:, (*2)

require: {
    // ...
    "ns/simplemde-bundle": "dev-master" // or use a tag from packagist.org
    // ...
}

Register the bundle with your kernel:, (*3)

<?php
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new NS\SimpleMDEBundle\NSSimpleMDEBundle(),
    // ...
);

Add the JS and CSS links to relevant pages, (*4)

{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" type="text/css" id="'+ssId+'" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css" crossorigin="anonymous" />
{% endblock %}

{% block javascripts %}
    {{ parent() }}
    
{% endblock %}

Then you can use it as a form type with MarkdownEditorType::class type hint., (*5)

The Versions

07/06 2018

dev-master

9999999-dev

This bundle provides the simplemde markdown editor and forms to a symfony bundle

  Sources   Download

MIT

The Requires

 

by Nathanael David Noblet
by Mark Woynarski

07/06 2018

1.0.4

1.0.4.0

This bundle provides the simplemde markdown editor and forms to a symfony bundle

  Sources   Download

MIT

The Requires

 

by Nathanael David Noblet
by Mark Woynarski

17/07 2017

1.0.3

1.0.3.0

This bundle provides the simplemde markdown editor and forms to a symfony bundle

  Sources   Download

MIT

The Requires

 

by Nathanael David Noblet
by Mark Woynarski

02/11 2016

1.0.2

1.0.2.0

This bundle provides the simplemde markdown editor

  Sources   Download

MIT

The Requires

 

by Nathanael David Noblet
by Mark Woynarski

02/11 2016

1.0.1

1.0.1.0

This bundle provides the simplemde markdown editor

  Sources   Download

MIT

The Requires

 

by Nathanael David Noblet
by Mark Woynarski

01/11 2016

1.0.0

1.0.0.0

This bundle provides the simplemde markdown editor

  Sources   Download

MIT

The Requires

 

by Nathanael David Noblet
by Mark Woynarski