{"repo":"clementtalleu/EasyAdminMarkdownBundle","free":true,"listed":false,"github":"https://github.com/clementtalleu/EasyAdminMarkdownBundle","clone":"git clone https://github.com/clementtalleu/EasyAdminMarkdownBundle.git","description":"A Markdown editor field for EasyAdmin, powered by EasyMDE.","language":"PHP","stars":13,"topics":["easyadmin","markdown","symfony","twig","easymde","symfony-bundle","php"],"license":"MIT","category":"productivity","readme_excerpt":"EasyAdminMarkdownBundle A Markdown editor field for [EasyAdmin][easyadmin], powered by the [EasyMDE][easymde] JavaScript editor. It provides a MarkdownEditorField that behaves like EasyAdmin's built-in TextEditorField (which uses Trix), but lets your users write Markdown with a live preview, a toolbar and keyboard shortcuts. On the detail page the stored Markdown is rendered as sanitized HTML. --- --- PHP = 8.2 Symfony 7.x and 8.x EasyAdmin 4.x and 5.x Asset pipeline [AssetMapper][assetmapper] (no build step required) Installation Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation. Step 1: Install the bundle If your application uses [Symfony Flex][flex], the bundle is enabled automatically. Otherwise, enable it by hand in config/bundles.php : Step 2: Install the EasyMDE assets The bundle never ships third-party JavaScript itself, so you add EasyMDE to your application's [importmap][importmap]. Use the self-contained build (it bundles CodeMirror and marked), which works reliably with AssetMapper: That's it — the field automatically loads its own JavaScript (as an ES module) and stylesheet from the bundle, and the editor resolves EasyMDE from your importmap. No importmap.php editing is required. Step 3 (optional): Enable HTML rendering on the detail page To render the Markdown as HTML on the detail page, install a Markdown parser: If you skip this step, the detail page falls back to displaying the raw Markdown source","default_branch":null,"files":null,"tree":[],"storefront":"/r/clementtalleu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/clementtalleu/EasyAdminMarkdownBundle/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}