Commit graph

33 commits

Author SHA1 Message Date
Talon Poole 873a9442e9 refactor css 2021-02-18 23:16:05 +00:00
Talon Poole b172d16ca9 add --inline
refactor css.js and html.js
2021-02-18 16:43:25 +00:00
Talon Poole 8b6bacb14e documentation 2021-02-16 22:16:11 +00:00
Talon Poole 56d18c4652 clean 2021-02-16 20:41:27 +00:00
Talon Poole f3b51cf3ae actually apply style overrides! 2021-02-15 23:33:39 +00:00
Talon Poole 5a575f24db ship it 2021-02-15 23:07:42 +00:00
Talon Poole 965195afe3 configurable --descriptions truncation 2021-02-15 22:56:53 +00:00
Talon Poole e5bb1fa77c refactor 2021-02-15 22:31:08 +00:00
Talon Poole b1d2f7140b body core styles 2021-02-15 21:40:59 +00:00
Talon Poole 77e4ecb2fb update --css 2021-02-15 20:56:41 +00:00
Talon Poole 74e84b1ab4 add --dir and update man page 2021-02-15 17:17:16 +00:00
Talon Poole 5254445e77 add --author and --descriptions options 2021-02-12 21:59:18 +00:00
Talon Poole 45e90e61ac fix parse config bug
move charset to top of head
2021-02-12 21:17:00 +00:00
Talon Poole 6a11b71497 update docs 2021-02-12 20:41:43 +00:00
Talon Poole 9887c03769 wip 2021-02-12 01:59:02 +00:00
Talon Poole ddaf0c5ada clean 2021-02-11 23:49:39 +00:00
Talon Poole 2ade53f268 three --css modes: gmi.css, base and none
when "none" inline tags will be wrapped in <p>

--image, --audio and --video now accept the extensions to inline
  so what's possible to load isn't maintained here

--lang is now referred to as --html
  --html and --body are mutually exclusive
2021-02-11 23:26:29 +00:00
Talon Poole 9184e2c792 enable stdio API
--body returns just the innerHTML of the body
gmi.min.css is created in the script not by Makefile
refactor yargs code, better --help menu
2021-02-11 20:57:08 +00:00
Talon Poole cce9b22502 refactor 2021-02-11 02:24:00 +00:00
Talon Poole 54280ba8d3 Use ES modules
use language for <html lang=""> too
2021-02-10 22:03:48 +00:00
Talon Poole be68750b3f prepare for npm prerelease 2021-01-30 16:15:08 +00:00
Talon Poole b383f03f94 RC 2021-01-29 23:59:12 +00:00
Talon Poole 6ec48f2605 getting closeeee 2021-01-29 23:27:39 +00:00
Talon Poole 8ea7873403 title and language meta 2021-01-29 23:17:25 +00:00
Talon Poole 990667c2a7 use cli to pass in CSS vars 2021-01-29 22:32:30 +00:00
Talon Poole ab7f953a73 doc-driven 2021-01-29 19:55:24 +00:00
Talon Poole 34ed5cf36c round of cleaning 2021-01-29 06:15:23 +00:00
Talon Poole 541c6345e4 gmi-web(1) inline media 2021-01-29 00:24:22 +00:00
Talon Poole 06a8bab54a format 2021-01-28 23:13:02 +00:00
Talon Poole e587d1a933 it works 2021-01-28 23:07:57 +00:00
Talon Poole 69d524e79e tokenize 2021-01-28 21:03:30 +00:00
Talon Poole d8c518a575 documentation
I think I need to write some actual code now...
2021-01-28 17:56:02 +00:00
Talon Poole c71728c713 make format 2021-01-28 06:18:32 +00:00