A modern, distraction-free markdown editor with focus mode and typewriter mode for enhanced writing experience.
- Focus Mode: Highlights only the current paragraph, dimming the rest for better concentration
- Typewriter Mode: Automatically centers the current line on screen for comfortable typing
- Theme Support: Light and dark themes with automatic switching
- Monaco Editor: Professional code editor with syntax highlighting
- Real-time Preview: Live markdown preview with split view
- Responsive Design: Works perfectly on desktop and mobile devices
- Local Storage: Automatically saves your content locally
- Node.js 16+
- npm or yarn
- Clone the repository
git clone https://github.com/your-username/markfocus.git
cd markfocus- Install dependencies
npm install- Run the development server
npm run dev- Open http://localhost:3000 in your browser
- Framework: Next.js 12 with TypeScript
- Styling: TailwindCSS
- Editor: Monaco Editor (VS Code's editor)
- State Management: Zustand
- Deployment: Vercel
Toggle focus mode to highlight only the current paragraph. This helps you concentrate on one section at a time while writing.
Enable typewriter mode to automatically center the current line on screen, providing a comfortable typing experience similar to traditional typewriters.
Switch between light and dark themes using the settings panel. The theme preference is automatically saved.
- Your content is automatically saved to local storage
- Use the "Clear Content" button to start fresh
- All changes are preserved between sessions
The editor supports multiple themes. You can add custom themes by placing JSON theme files in the public/themes/ directory.
Customize your editing experience through the settings panel:
- Font size
- Cursor style
- Line numbers
- Minimap
- And more...
npm run build
npm startThis project is optimized for deployment on Vercel:
- Push your code to GitHub
- Connect your repository to Vercel
- Deploy automatically on every push
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js
- Editor powered by Monaco Editor
- Styled with TailwindCSS
- Deployed on Vercel
MarkFocus - Write better, focus more. ✍️