Skip to content

anzilr/TextFormatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Formatter and Color Picker for SubEditBot

This web application allows users to format text with bold, italic, underline styles, apply custom colors, and align subtitles using alignment codes. It provides a simple and intuitive interface for formatting text, making it easy to generate formatted text for SubEditBot users.

Features

  • Bold, Italic, and Underline Formatting: Toggle text formatting with bold, italic, and underline styles.
  • Color Picker: Select and apply custom colors to the text.
  • Subtitle Alignment: Align subtitles using a set of predefined alignment codes.
  • Copy to Clipboard: Easily copy the formatted text to the clipboard.

Usage

For normal users

  1. Open index.html in your web browser to use the application.
  2. Paste your text into the input text area.
  3. Use the buttons to apply formatting and color.
  4. Use the alignment box to align subtitles.
  5. Copy the formatted text using the "Copy Formatted Text" button.

For SubEditBot user

  1. Click on the Formatter button in your edit menu to use the application.
  2. Paste your text into the input text area.
  3. Use the buttons to apply formatting and color.
  4. Use the alignment box to align subtitles.
  5. Copy the formatted text using the "Copy Formatted Text" button.

File Structure

TextFormatter/
├── index.html
├── styles.css
└── script.js
  • index.html: The main HTML file containing the structure of the application.
  • styles.css: The CSS file containing styles for the application.
  • script.js: The JavaScript file containing the logic for text formatting and alignment.

Contributing

Feel free to fork this repository and submit pull requests. Contributions are always welcome!

License

This project is licensed under the MIT License.

Acknowledgements

Font Awesome for the icons used in the application. All contributors and users for their support and feedback.