A powerful React application that converts Markdown documents to LinkedIn-compatible formatted text using Unicode characters. Transform your documentation, blog posts, and technical content into beautifully formatted LinkedIn posts with just one click.
- Real-time Markdown conversion - See your formatted text update instantly as you type
- Auto-conversion from rich text - Paste from Word, Google Docs, or any website and automatically convert to Markdown
- Full Markdown support - Headers, bold, italic, strikethrough, links, lists, code blocks, and blockquotes
- Unicode formatting - Uses mathematical Unicode characters for bold/italic text that displays correctly on LinkedIn
- Live preview - See exactly how your post will look on LinkedIn with desktop and mobile views
- Drag & drop support - Drop .md files directly into the editor
- Keyboard shortcuts - Quick formatting with Ctrl+B, Ctrl+I, Ctrl+K, etc.
- Context menu - Right-click selected text for formatting options
- Formatting toolbar - Visual buttons for all formatting options
- Undo/Redo - Full undo/redo support with Ctrl+Z/Ctrl+Y
- One-click copy - Copy formatted text to clipboard
- Download as text - Save your formatted content as a .txt file
- Email to self - Send content via email for later use
- Character count - Real-time LinkedIn character limit tracking (3,000 characters)
- LinkedIn compatibility warnings - Alerts for unsupported features
- Mobile-responsive design - Works seamlessly on all devices
- Sliding side guide - Built-in help with Markdown syntax reference
- Analytics tracking - Usage analytics via Firebase (privacy-focused)
Transform your Markdown content into LinkedIn-ready posts with real-time preview
- Node.js 18.0 or higher
- npm or yarn package manager
# Clone the repository
git clone https://github.com/devlimelabs/markdowntolinkedin.git
cd markdowntolinkedin
# Install dependencies
npm install
# Start development server
npm run dev
# Open http://localhost:5173 in your browser# Build for production
npm run build
# Preview production build
npm run previewmarkdowntolinkedin/
โโโ src/
โ โโโ components/ # React components
โ โ โโโ ui/ # Reusable UI components
โ โ โโโ ContextMenu.jsx # Right-click formatting menu
โ โ โโโ FormattingToolbar.jsx # Toolbar with formatting buttons
โ โ โโโ SideGuide.jsx # Help guide sidebar
โ โโโ lib/ # Utility libraries
โ โ โโโ firebase.js # Analytics and tracking
โ โ โโโ htmlToMarkdown.js # HTML to Markdown conversion
โ โ โโโ markdownChecker.js # Feature validation
โ โ โโโ textFormatting.js # Text formatting utilities
โ โ โโโ undoRedoManager.js # Undo/redo functionality
โ โโโ App.jsx # Main application component
โ โโโ main.jsx # Application entry point
โโโ docs/ # Project documentation
โโโ public/ # Static assets
โโโ firebase.json # Firebase hosting configuration
โโโ package.json # Dependencies and scripts
npm run dev # Start development server (http://localhost:5173)
npm run build # Build for production
npm run preview # Preview production build
npm run deploy # Build and deploy to Firebase- React 18.3.1 - Modern React with hooks
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- Lucide React - Beautiful, customizable icons
- Sonner - Toast notifications
- Firebase - Hosting and analytics
- Enter Markdown: Type or paste your Markdown content into the left editor
- See Preview: Watch the LinkedIn-formatted preview update in real-time
- Copy Result: Click "Copy to Clipboard" to copy the formatted text
- Post to LinkedIn: Paste the formatted content directly into LinkedIn
- Toggle the "Auto" button to automatically convert rich text from Word, Google Docs, or websites
- Paste formatted content and it will be automatically converted to Markdown first
Ctrl+B- Bold selected textCtrl+I- Italic selected textCtrl+K- Create link from selected textCtrl+Shift+S- Strikethrough selected textCtrl+Z- UndoCtrl+YorCtrl+Shift+Z- Redo?- Open help guide
- Drag and drop
.mdfiles directly into the editor - Use "Download Text" to save formatted content as a file
- Use "Email to Self" to send content via email
# My LinkedIn Post
This is a **bold statement** and some *italic text*.
## Key Points
- First important point
- Second important point
- Third important point
Check out my [website](https://example.com) for more info!
> This is a quote that will be italicized๐ ๐ ๐๐ถ๐ป๐ธ๐ฒ๐ฑ๐๐ป ๐ฃ๐ผ๐๐
This is a ๐ฏ๐ผ๐น๐ฑ ๐๐๐ฎ๐๐ฒ๐บ๐ฒ๐ป๐ and some ๐ช๐ต๐ข๐ญ๐ช๐ค ๐ต๐ฆ๐น๐ต.
๐๐ฒ๐ ๐ฃ๐ผ๐ถ๐ป๐๐
โ First important point
โ Second important point
โ Third important point
Check out my website (https://example.com) for more info!
๐๐ฉ๐ช๐ด ๐ช๐ด ๐ข ๐ฒ๐ถ๐ฐ๐ต๐ฆ ๐ต๐ฉ๐ข๐ต ๐ธ๐ช๐ญ๐ญ ๐ฃ๐ฆ ๐ช๐ต๐ข๐ญ๐ช๐ค๐ช๐ป๐ฆ๐ฅ
We welcome contributions! Please follow these guidelines:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Install dependencies:
npm install - Start development:
npm run dev - Make your changes
- Test thoroughly
- Commit your changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
- Follow the existing code style and patterns
- Add comments for complex logic
- Update documentation for new features
- Ensure all features work on both desktop and mobile
- Test with various Markdown inputs
- Check LinkedIn compatibility for new formatting features
- Use modern React patterns (hooks, functional components)
- Follow Tailwind CSS utility-first approach
- Use meaningful component and variable names
- Keep components focused and reusable
- Add proper error handling
When reporting bugs, please include:
- Steps to reproduce the issue
- Expected vs actual behavior
- Browser and device information
- Sample Markdown content that causes the issue
- No data collection: Your content never leaves your browser
- Local processing: All Markdown conversion happens client-side
- Optional analytics: Basic usage analytics via Firebase (no personal data)
- No account required: Use the tool completely anonymously
This project is licensed under the MIT License - see the LICENSE file for details.
- Unicode Mathematical Characters - For enabling beautiful formatting on LinkedIn
- shadcn/ui - For the excellent UI component patterns
- Lucide React - For the beautiful icons
- Tailwind CSS - For rapid UI development
- Firebase - For reliable hosting and analytics
- Issues: Report bugs and request features on GitHub Issues
- Documentation: Check the
/docsdirectory for detailed documentation - Contact: Report Issues
LinkedIn's limited formatting options make it challenging to create visually appealing posts. This tool bridges that gap by:
- Converting standard Markdown to LinkedIn-compatible Unicode formatting
- Providing real-time preview so you know exactly how your post will look
- Supporting advanced features like auto-conversion from rich text
- Offering a seamless workflow from draft to published post
Perfect for:
- Technical content creators
- Documentation writers
- Blog post authors
- Anyone who wants professional-looking LinkedIn posts
Made with โค๏ธ for the LinkedIn community
