MDtoWeb

NPM Version License: ISC A powerful command-line tool to convert Markdown files into beautiful, customizable HTML web pages with multiple themes, templates, and features.

📚 Overview

MDtoWeb is a versatile markdown-to-HTML converter that transforms your documentation, notes, or any markdown content into professional web pages with minimal effort. Choose from different templates, customize themes, add social media links, and create multi-language documentation with a simple CLI interface.

✨ Features

🚀 Installation

npm install -g mdtoweb-cli

🔧 Usage

Simply run the CLI command in your terminal:
mdtoweb
Follow the interactive prompts to configure your web page:

🖼️ Templates

Basic Template

A clean, simple layout that focuses on content. Perfect for documentation, articles, or simple pages. Includes a sidebar navigation that automatically generates links from your markdown headings. Ideal for documentation with multiple sections.

🎨 Themes

🌐 Multi-Language Support

Create documentation in multiple languages and allow users to switch between them with a simple dropdown selector. The tool will guide you through setting up different markdown files for each language.

🔗 Social Media Integration

Add links to your social media profiles with several display options:

📝 Markdown Features Support

MDtoWeb supports most common markdown features:

📋 Example

Here's an example of how to use MDtoWeb:

📦 Project Structure

` mdtoweb-cli/ ├── bin/ │ └── cli.js # CLI entry point ├── consts/ │ ├── components/ # UI components │ ├── templates/ # HTML templates │ ├── languages.json # Supported languages │ └── socialMedia.js # Social media platforms ├── services/ │ ├── convertFile.js # File conversion logic │ ├── MarkdownParser.js # Markdown parsing │ └── index.js # Service exports ├── index.js # Main application logic └── package.json # Project configuration `

📋 Requirements

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

📄 License

This project is ISC licensed.

👨‍💻 Author

🙏 Acknowledgements

Author: Osman Beyhan


❤️ Make via MDtoWeb