Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/petabyt/tinyblog
- Owner: petabyt
- License: mit
- Created: 2020-07-28T01:53:50.000Z (over 4 years ago)
- Default Branch: simple
- Last Pushed: 2023-12-13T05:19:23.000Z (about 1 year ago)
- Last Synced: 2025-01-12T22:15:06.611Z (6 days ago)
- Topics: blog, markdown, php
- Language: PHP
- Homepage: https://danielc.dev/blog/
- Size: 60.5 KB
- Stars: 21
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.