Pi66

Home | Repos | About | Blog | Gaza

merodi
A markdown-based static site generator.
git clone https://git.pi66.xyz/merodi

About | Files | Commits | Refs | License


docs: update README.md

Author: pi66
Date: 2026-06-27 12:18
commit: 9ae2b7a8

Stat

M README.md 4 +2 -2

Diff

diff --git a/README.md b/README.md
index 4c9a3b0..d871b89 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,8 @@ Write pages in markdown, style them with Jinja2 templates, and get a ready-to-pu

```bash pip install . +# or using `pipx` +pipx install . ```

Quick start

@@ -77,12 +79,10 @@ Pages are rendered with **Jinja2**. Template files live in `src/templates/`. You

Functions defined in `src/plugins.py` are available as globals in your templates:

-{% raw %} ```jinja2 {{ fetch("https://api.example.com/data", type="json") }} ...

Show all

diff --git a/README.md b/README.md
index 4c9a3b0..d871b89 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,8 @@ Write pages in markdown, style them with Jinja2 templates, and get a ready-to-pu

```bash pip install . +# or using `pipx` +pipx install . ```

Quick start

@@ -77,12 +79,10 @@ Pages are rendered with **Jinja2**. Template files live in `src/templates/`. You

Functions defined in `src/plugins.py` are available as globals in your templates:

-{% raw %} ```jinja2 {{ fetch("https://api.example.com/data", type="json") }} {{ read("src/data/content.txt") }} ``` -{% endraw %}

The default `plugins.py` provides `fetch(url, type)` for HTTP requests and `read(file)` for local files. Add your own functions — any public name (no leading underscore) is automatically available.

// Created by Pi66

// Copyright ©Pi66 2026