readme
lipu lili mi is a plain text wiki, using only the most basic formatting elements: para, subhead, link, image. it uses modified gemini syntax. (now modified to point is not compatible)
the simple syntax means it is readable in plain text, but can convert for web. most of it is personal shit that doesn't need sharing, but some stuff like useful links and media curation and notes are good to share.
note: opt shift o is open file from text service short cut on macos
NOTE: gx in vim to open url (OR ANY external file e.g. image), gf for local text file, C-W gf to open in new tab,
conversion
ssg wikifolder webfolder sitename https://url
convert to html with the lipu.awk script (heavily modified based on omar polos gemtext awk script). also uses the ssg script from roman zolotarev with modifications to support .lipu files and the lipu.awk script as a conversion tool.
static site generator by roman zolotarev
gemtext to html with awk by omar polo
syntax
my tiny hypertext spec called lipu, basically a HEAVILY modified gemtext.
:[<whitespace>]h1<eol> ::[<whitespace>]h2<eol> :::[<whitespace>]h3<eol> --[<whitespace>].nn[<whitespace>]description[<whitespace>]url/to/link --[<whitespace>].fi[<whitespace>]alttext[<whitespace>]url/to/image --[<whitespace>].ic[<whitespace>]alttext[<whitespace>]url/to/inlineicon ```<eol>(<line of text><eol>)+``` paragraph is everyting until<eol> *[<whitespace>]list item text<eol> >[<whitespace>]block quote here used for img captions<eol> pacing break /^~~~$/
the .nn in links is optional, it is a way to add categorisation to bookmarks, first digit is general categories, second is 0 for general or some subcategory when necessary.p
00 library + knowledge systems 01 personal wikis and knowledge collections 02 personal art curation and art and media libraries 10 the world around us observations, 20 people and our interactions 21 music 22 stories 23 games 30 tools, ways of interfacing or organinsing 40 the body, caring for, sustaining, moving etc 50 technical writing, computer ref 51 creative tools
- * i use it like para\n~~~\n\n so in plain text style is next to section ending then has a gap
- note that & < > will be sanitised when converting so is not conflicting with html.
- use gawk because awk macos is broken for multibyte strings???
- files have the .txt extension (depricated. use .lipu unless is not going into website)
- can't really do lists interwoven w other shit e.g. * then '' etc cause has big ass gaps in html, cant have blank lines or makes new list
fin
chocobo by jgs →→
('(=--.
. ; o _\
(`(/, / `/'`
`-\` '.______/` \
\`'- -=`\ )
`={ -= = _/ /
`\ .-' /`
{`-,__.'===,_
//` `'\\
_.;' jgs/zi. '"
`\==.
old shit
u can hack the awk script by including a blank ': ' and it will insert empty h3, giving a sort of empty linebreak. empty lines in lipu are ignored, but u shouldnt cause fucks up semantic ness
now i have it that an empty line with >1 spaces on it will become a <br> this way an actually blank line can be used for the plain text spacing only, and a line with a space is used for breaks to add in html, without fucking up visuals of plaintext