the yellows111 wiki
Go to file
yellows111 c91c09e606 0.0.7 - "now we have sitemaps"
AC: "wish i'd done this in 0.0.6 but too late now"
2024-04-22 14:48:59 +01:00
.gitignore 0.0.4 - "styling it up" 2024-04-18 11:02:01 +01:00
GNUmakefile 0.0.7 - "now we have sitemaps" 2024-04-22 14:48:59 +01:00
LICENSE 0.0.4 - "styling it up" 2024-04-18 11:02:01 +01:00
README.md 0.0.7 - "now we have sitemaps" 2024-04-22 14:48:59 +01:00
compile.js 0.0.6 - "one of many Minor Text Formatting Updates" 2024-04-22 13:26:06 +01:00
package-lock.json 0.0.7 - "now we have sitemaps" 2024-04-22 14:48:59 +01:00
package.json 0.0.7 - "now we have sitemaps" 2024-04-22 14:48:59 +01:00
sitemap-gen.js 0.0.7 - "now we have sitemaps" 2024-04-22 14:48:59 +01:00
yiki.css 0.0.4 - "styling it up" 2024-04-18 11:02:01 +01:00

README.md

yiki - the yellows111 "wiki"

Takes a bunch of Markdown (*.md) files (default is from docs), and renders to HTML with preserved directory paths.

Features

  • Table of Contents on every page.
  • Preserved directory paths.
  • All headers can be jumped to.

Motivation

Just felt like writing it so I could write markdown instead of working with HTML syntax rules for my documentation/research archive.

Licensing

MIT. Review the LICENSE file if required.

How to use

You need a copy of GNU make (GPL-3 licensed software).

Use the gmake (or if it's the system makefile parser, make) command after writing Markdown (*.md) files to the docs directory.

Afterwards, check the build directory for the .html files.

Otherwise, if you just want to use yiki to render one file:

node compile source.md target.htm

Options

WIKINAME Specify what the "A new yiki!" text should be replaced with.

Example: gmake WIKINAME="I love options!"

VPREFIX Specify the virtual root of that the default template links to for the yiki.css and the index.html files.

Example: gmake VPREFIX:="/yiki/"

DOMAIN Specifiy the domain name that your sitemap.xml links to.

Example gmake DOMAIN:="example.com"

Contributing

I request (but not require) that you modify files without Carriage Returns, and to terminate new or modified files with a Line Feed character.