A simple static site generator built with Python. It converts markdown files into a fully functional static site, ready to deploy for any purpose.
- Markdown to HTML conversion - Seamlessly converts markdown files in the
content/directory to HTML pages - Customizable templates - Uses flexible HTML templates for consistent styling
- Automatic navigation - Generates navigation menus automatically
- CSS theme support - Supports customizable CSS themes for beautiful designs
- Python 3.6 or higher
- No external dependencies required
git clone https://github.com/Ikit24/Html_parser
cd Html_parserNo external dependencies are required for this project.
Add or edit markdown files in the content/ directory. Each markdown file will be converted to a corresponding HTML page.
python main.pyThe generated site will appear in the public/ directory. Open public/index.html in your browser to view your site.
- Change the visual appearance by editing
public/style.css - Create custom color schemes and layouts
- Modify HTML templates in the
templates/directory - Customize the structure and layout of your pages
your-repo/
├── content/ # Your markdown files
├── templates/ # HTML templates
├── public/ # Generated static site
│ ├── index.html
│ └── style.css
└── main.py # Main generator script
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License
Copyright (c) 2025 Attila Szász
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
⭐ Star this repository if you find it helpful!