Portable Php Save

A blog in one HTML file

Project README

Get a single HTML document from a collection of 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

Extra: generate a basic RSS feed with portable-feed.php.

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 loading="lazy" to images, figure and figcaption elements, and more. Can be used for syntax highlighting.
Open Source Agenda is not affiliated with "Portable Php" Project. README Source: cadars/portable-php
Stars
105
Open Issues
0
Last Commit
5 months ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating