Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kirilkirkov/markdown-to-static-site

A lightweight and easy-to-use PHP 8 tool for generating static websites from Markdown files. This generator allows you to convert Markdown content into HTML, apply themes, and extend functionality with plugins. Perfect for creating documentation, blogs, and static websites.
https://github.com/kirilkirkov/markdown-to-static-site

markdown-parser markdown-parsing markdown-to-html php-markdown php-markdown-parser php8

Last synced: about 1 month ago
JSON representation

A lightweight and easy-to-use PHP 8 tool for generating static websites from Markdown files. This generator allows you to convert Markdown content into HTML, apply themes, and extend functionality with plugins. Perfect for creating documentation, blogs, and static websites.

Awesome Lists containing this project

README

        

# Markdown to Static Site Generator

A simple PHP tool to generate static sites from Markdown files.

## Usage

1. Place your Markdown files in the `content` directory.
2. Run the generator:
```bash
php src/main.php
```
3. Your static site will be generated in the public directory.

## Custom Themes

You can create custom themes by adding them to the themes directory and updating the path in config.php.

## Plugins

Plugins can be created in the plugins directory and added to config.php.

## How to run the project
1. Clone the repository and install the dependencies
```bash
git clone https://github.com/kirilkirkov/Markdown-To-Static-Site.git
cd Markdown-To-Static-Site
composer install
```
2. Start the generator
```bash
php src/main.php
```

Thats all. Your site will be generated to the public directory