assertchris/better-markdown-editor
最新稳定版本:1.0.3
Composer 安装命令:
composer require assertchris/better-markdown-editor
包简介
A better markdown editor than the one that ships with Filament
关键字:
README 文档
README
A better markdown editor than the one that ships with Filament.
Installation
You can install the package via composer:
composer require assertchris/better-markdown-editor
You can publish the config file with:
php artisan vendor:publish --tag="better-markdown-editor-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="better-markdown-editor-views"
This is the contents of the published config file:
return [
];
Usage
use AC\BetterMarkdownEditor\BetterMarkdownEditor; BetterMarkdownEditor::make('markdown') // ...all the methods from the current MarkdownEditor // with the addition of some new methods ->hasLanguageAssistance(),
Motivation
Why build this?
I wanted to build a writing platform. I love Filament, but none of the fields had the functionality I use other apps for. It started as me wanting to make Filament's MarkdownEditor able to point out needlessly complex sentences and poor wording.
Why not contribute those improvements to Filament?
I tried, but they're understandably hesitant to take on the maintenance burden.
Why is it better?
For a start, it does what Hemingway does; but better.
Here's what I am planning to add in the near future (while procrastinating writing projects):
- fullscreen mode
- opt-in LLM-based error correction (with loads of caveats and apprehension)
- an upgrade to CodeMirror 6
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-08