https://github.com/Karl-Horning/transform-text
This web application allows users to manipulate text by replacing newline characters with the literal string "\n" or vice versa. It provides a user-friendly interface where users can input text, toggle between the two transformation options, and copy the transformed text to the clipboard.
https://github.com/Karl-Horning/transform-text
bootstrap css frontend html javascript responsive
Last synced: 5 months ago
JSON representation
This web application allows users to manipulate text by replacing newline characters with the literal string "\n" or vice versa. It provides a user-friendly interface where users can input text, toggle between the two transformation options, and copy the transformed text to the clipboard.
- Host: GitHub
- URL: https://github.com/Karl-Horning/transform-text
- Owner: Karl-Horning
- License: mit
- Created: 2024-01-11T23:42:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-10T22:32:15.000Z (over 1 year ago)
- Last Synced: 2025-01-10T23:26:44.465Z (over 1 year ago)
- Topics: bootstrap, css, frontend, html, javascript, responsive
- Language: JavaScript
- Homepage: https://karl-horning.github.io/replace-newlines/
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Replace Newlines Web App
- [Replace Newlines Web App](#replace-newlines-web-app)
- [Description](#description)
- [Technologies Used](#technologies-used)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Contributing](#contributing)
- [Author](#author)
- [License](#license)
## Description
This web application allows users to manipulate text by replacing newline characters with the literal string "\\n" or vice versa. It provides a user-friendly interface where users can input text, toggle between the two transformation options, and copy the transformed text to the clipboard.
## Technologies Used
- HTML
- CSS (Bootstrap for styling)
- JavaScript
## Getting Started
To run this application locally, follow these steps:
1. Clone this repository to your local machine:
```bash
git clone https://github.com/Karl-Horning/replace-newlines.git
```
2. Navigate to the project directory:
```bash
cd replace-newlines
```
3. Open the `index.html` file in your web browser.
## Usage
1. Enter text into the input textarea.
2. Toggle the switch to choose between replacing newline characters with "\\n" or replacing "\\n" with newline characters.
3. The output textarea will display the transformed text.
4. Click the "Copy Output" button to copy the transformed text to the clipboard.
## Contributing
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
## Author
Karl Horning
- [GitHub](https://github.com/Karl-Horning/)
- [LinkedIn](https://www.linkedin.com/in/karl-horning/)
- [CodePen](https://codepen.io/karlhorning)
## License
This repository is licensed under the [MIT License](LICENSE).