{"id":13532374,"url":"https://github.com/laravel-admin-extensions/simplemde","last_synced_at":"2025-04-28T15:31:58.985Z","repository":{"id":57011871,"uuid":"147620302","full_name":"laravel-admin-extensions/simplemde","owner":"laravel-admin-extensions","description":"Simplemde markdown editor extension for laravel-admin","archived":false,"fork":false,"pushed_at":"2018-12-06T02:52:36.000Z","size":96,"stargazers_count":32,"open_issues_count":5,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-30T00:02:57.691Z","etag":null,"topics":["editor","laravel","laravel-admin","markdown"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laravel-admin-extensions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-06T05:03:06.000Z","updated_at":"2024-02-14T01:52:27.000Z","dependencies_parsed_at":"2022-08-21T15:10:30.757Z","dependency_job_id":null,"html_url":"https://github.com/laravel-admin-extensions/simplemde","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Fsimplemde","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Fsimplemde/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Fsimplemde/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Fsimplemde/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laravel-admin-extensions","download_url":"https://codeload.github.com/laravel-admin-extensions/simplemde/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251338714,"owners_count":21573600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","laravel","laravel-admin","markdown"],"created_at":"2024-08-01T07:01:10.495Z","updated_at":"2025-04-28T15:31:53.953Z","avatar_url":"https://github.com/laravel-admin-extensions.png","language":"PHP","readme":"Simplemde editor extension for laravel-admin\n======\n\n[Simplemde](https://github.com/sparksuite/simplemde-markdown-editor) is a great markdown editor, this extension is used to integrate `Simplemde` into the `laravel-admin` form.\n\n## Screenshot\n\n![wx20180906-130207](https://user-images.githubusercontent.com/1479100/45136112-3deea300-b1d5-11e8-984d-9d1c8d53c97d.png)\n\n## Installation\n\n```bash\ncomposer require laravel-admin-ext/simplemde\n```\n\nThen\n```bash\nphp artisan vendor:publish --tag=laravel-admin-simplemde\n```\n\n## Configuration\n\nIn the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension.\n```php\n\n    'extensions' =\u003e [\n\n        'simplemde' =\u003e [\n        \n            // Set to false if you want to disable this extension\n            'enable' =\u003e true,\n            \n            // If you want to set an alias for the calling method\n            //'alias' =\u003e 'markdown',\n            \n            // Editor configuration\n            'config' =\u003e [\n                \n            ]\n        ]\n    ]\n\n```\n\nThe configuration of the editor can be found in [Simplemde Documentation](https://github.com/sparksuite/simplemde-markdown-editor#configuration)\n```php\n    'config' =\u003e [\n        'autofocus'   =\u003e true,\n        'placeholder' =\u003e 'xxxx',\n        ....\n    ]\n```\n\n## Usage\n\nUse it in the form:\n```php\n$form-\u003esimplemde('content');\n```\n\nSet height\n```php\n$form-\u003esimplemde('content')-\u003eheight(500);\n```\n\nIf the method alias is specified in the configuration as `markdown`\n```php\n$form-\u003emarkdown('content');\n```\n\n## Donate\n\n\u003e Help keeping the project development going, by donating a little. Thanks in advance.\n\n[![PayPal Me](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/zousong)\n\n![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)\n\nLicense\n------------\nLicensed under [The MIT License (MIT)](LICENSE).\n","funding_links":["https://www.paypal.me/zousong"],"categories":["扩展包"],"sub_categories":["字段类扩展包"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-admin-extensions%2Fsimplemde","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaravel-admin-extensions%2Fsimplemde","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-admin-extensions%2Fsimplemde/lists"}