Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/petabyt/tinyblog

PHP Markdown blog in 100 lines.
https://github.com/petabyt/tinyblog

blog markdown php

Last synced: about 24 hours ago
JSON representation

PHP Markdown blog in 100 lines.

Awesome Lists containing this project

README

        

# TinyBlog
Single File HTML/CSS/PHP blog in less than 100 lines.
See it in action: http://danielc.dev/blog/
Personally, I'm using https://github.com/petabyt/tinyblog2 now

## Features
- Tiny source code. Just pull index.php and customize.
- Minimal markdown parser. Easy to customize to your liking.

## Setup
In the `posts` folder, create a file named "1" for the first
post, "2" for the second, and so on.

## Theme

A second drop-in replacement white theme is available (index-theme-simple.php),
made by @xiamuguizhi.

## Markdown Syntax

TinyBlog has a built-in Markdown parser. It supports most of the typical
Markdown syntax, but has some additional features:

- Type `---` to insert a "Read More" link, and cut off the rest of the text.
- Use `\*` to prevent the asterisk from being recognized.