bradleytaunt / portable-php

A portable blog generator in PHP

Home Page:https://portable.fyi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate a single-file HTML website from Markdown files.
Demo: https://cadars.github.io/portable-php/

Requirements: PHP

  1. Write posts in content/
  2. Open http://example.com/portable.php in your browser
  3. Save as index.html

Or from the command-line:

php portable.php > index.html
Included dependencies
  • Parsedown converts Markdown to HTML.
  • ParsedownExtra adds support for footnotes, abbreviations, definition lists, tables, class and id attributes, fenced code blocks, and Markdown inside HTML blocks.
  • ParsedownExtraPlugin adds the loading="lazy" attribute to images, proper figure and figcaption elements, and more. Can be used for code highlighting.

About

A portable blog generator in PHP

https://portable.fyi

License:MIT License


Languages

Language:HTML 57.6%Language:CSS 24.9%Language:PHP 17.5%