This project is a Streamlit application that converts text files into Markdown, Word, PDF, and RTF formats. Users can upload a text file or paste text directly into the app, and optionally upload images to replace any image placeholders found in the text.
You can access the live Streamlit app here: https://txt-md.streamlit.app/
- Convert text to Markdown, Word, PDF, and RTF formats.
- Supports LaTeX-like equation formatting.
- Replace image placeholders in the text with uploaded images.
- Preview Markdown content in the app.
- Download generated files from the sidebar.
- Upload a text file or paste text into the provided text area.
- Optionally, upload images to replace any placeholders found in the text.
- Click the Convert button to generate Markdown, Word, PDF, and RTF files.
- Preview the Markdown content below.
- Download the generated files using the buttons in the sidebar.
re
: Regular expression operations.os
: Miscellaneous operating system interfaces.pypandoc
: A Python wrapper for Pandoc, a universal document converter.streamlit
: An open-source app framework for Machine Learning and Data Science projects.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/cconway1-stevens/DocuTransform.git cd yourrepository