A simple web tool to clean up messy code indentation and format it for better readability. This tool allows users to paste their code, clean up unnecessary indentation, and copy the cleaned code either as plain text or formatted with Markdown.
- Clean Code Indentation: Automatically removes unnecessary indentation from pasted code.
- Copy Cleaned Code: Copy the cleaned code to the clipboard.
- Copy Markdown for Java: Copy the cleaned code formatted with Markdown for easy use in documentation or other Markdown-supported platforms.
- Live Preview: Automatically updates the cleaned code display as you type or paste code.
To run this tool locally, follow these steps:
- Clone the Repository:
git clone {repository-url}
- Navigate to the Project Directory:
cd {repository-name}
- Open the
index.html
File: Openindex.html
in your preferred web browser.
- Paste Your Code: Paste your messy code into the textarea labeled "Paste your messy code here...".
- Clean the Code:
- Click "Copy cleaned code to Clipboard" to copy the cleaned code as plain text.
- Click "Copy cleaned code with Markdown to Clipboard" to copy the cleaned code formatted with Markdown.
- View Cleaned Code: The cleaned code will be displayed in the "Cleaned Code" section.
For any questions or feedback, please open an issue