refactor: prepare plugin for Obsidian community submission
- Fix command name from "Clean Up Freewriting" to "Clean up text" to follow Obsidian guidelines (no plugin name in command) - Replace inline JavaScript styles with CSS classes for better theme compatibility - Add proper CSS styles in styles.css for textarea and description elements - Correct license information in README from MIT to GPL v3 to match actual LICENSE file - Update README documentation to reflect new command name These changes address common Obsidian plugin review feedback: - Avoid assigning styles via JavaScript - Command names should not include plugin name - Maintain consistency between documentation and actual license 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4 files changed
+27
-21
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# Freewriting Cleanup
|
||||
|
||||
[](https://github.com/alexanderkucera/obsidian-freewriting-cleanup/releases)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||

|
||||
|
||||
Transform your messy freewriting into polished prose using AI. Clean up typos, improve grammar, and format your stream-of-consciousness writing into readable paragraphs with a single command.
|
||||
@@ -105,7 +105,7 @@ Write without the ability to delete or edit - just like pen on paper. Perfect fo
|
||||
### 3. Clean Up Your Writing
|
||||
|
||||
1. **Select** the freewriting text you want to clean up
|
||||
2. Use `Ctrl/Cmd + P` → "Clean Up Freewriting"
|
||||
2. Use `Ctrl/Cmd + P` → "Clean up text"
|
||||
3. The selected text will be replaced with the cleaned-up version
|
||||
4. Review and make any final adjustments
|
||||
|
||||
@@ -144,7 +144,7 @@ Write without the ability to delete or edit - just like pen on paper. Perfect fo
|
||||
|
||||
## Commands
|
||||
|
||||
### Clean Up Freewriting
|
||||
### Clean up text
|
||||
|
||||
The main command that transforms your selected text:
|
||||
|
||||
@@ -287,7 +287,7 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.
|
||||
|
||||
## Support
|
||||
|
||||
|
||||
Reference in new issue
Block a user