psh

command module
v0.0.0-...-33baebc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 22 Imported by: 0

README

psh

A simple static site generator for markdown notes, currently powering psh.cx

It renders markdown notes using goldmarks and adds a navbar for incoming [[wikilinks]] for each note.

The title used for the navbar is the first #Header found.

This is used to serve notes created with zk.

The index page is generated based on ALL available pages

Usage

go install git.sr.ht/~a73x/psh@latest
psh -in ./path/to/markdown -out ./path/for/html

By default this will generate all content into a folder public in the $(pwd)

Documentation

Overview

config.go

index.go

links.go

loader.go

main.go

metadata.go

page.go

renderer.go

generator.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL