Commit graph

123 commits

Author SHA1 Message Date
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 dd66069a7f clean 2021-02-04 01:40:56 +00:00
Talon Poole 3dd877ff73 optional title props 2021-02-02 22:34:26 +00:00
Talon Poole 31602f672c add link w/ and w/o text examples 2021-02-02 22:26:11 +00:00
Talon Poole 411fe735b0 1.0.7-rc.1 2021-02-02 22:09:03 +00:00
Talon Poole 86e9e8b660 fix lists
add test
2021-02-02 22:02:09 +00:00
Talon Poole 1bcedc2042 lock 2021-02-02 21:08:47 +00:00
Talon Poole dc3873e0aa include man files in package.json 2021-02-02 21:03:29 +00:00
Talon Poole cee20a2f76 fix undefined links 2021-01-30 21:28:30 +00:00
Talon Poole bfb0fcab29 escape potential html in gemini content
fix rogue newline after pre tag
2021-01-30 18:47:46 +00:00
Talon Poole f31d6a9b27 Merge branch 'main' of codeberg.org:talon/gmi-web into main 2021-01-30 17:08:06 +00:00
Talon Poole 81a7db8526 1.0.2-rc.1 2021-01-30 17:07:11 +00:00
talon 4a7cf29f0c Merge pull request 'v1.0.0' (#3) from v1.0.0 into main
Reviewed-on: https://codeberg.org/talon/gmi-web/pulls/3
2021-01-30 17:53:24 +01:00
Talon Poole 1cc55e7162 1.0.0-rc.1 2021-01-30 16:49:03 +00:00
Talon Poole aa547475f3 more prep 2021-01-30 16:32:44 +00:00
Talon Poole be68750b3f prepare for npm prerelease 2021-01-30 16:15:08 +00:00
Talon Poole a56d44bde5 this too 2021-01-30 00:22:05 +00:00
Talon Poole 9793da8fe7 readme 2021-01-30 00:19:14 +00:00
Talon Poole 1117c2335d pin the git branch 2021-01-30 00:02:19 +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 24d40581d5 cleanup gmi.css docs 2021-01-29 22:49:09 +00:00
Talon Poole d684b1ad90 proof reading 2021-01-29 22:36:30 +00:00
Talon Poole 990667c2a7 use cli to pass in CSS vars 2021-01-29 22:32:30 +00:00
Talon Poole 13a885ee11 er 2021-01-29 20:00:53 +00:00
Talon Poole ab7f953a73 doc-driven 2021-01-29 19:55:24 +00:00
Talon Poole d587b5001d document gmi.css 2021-01-29 18:51:53 +00:00
Talon Poole e21584db5c core styles 2021-01-29 16:11:16 +00:00
Talon Poole 405e34fafc readme 2021-01-29 07:03:10 +00:00
Talon Poole d77cc84a06 install via npm 2021-01-29 06:48:39 +00:00
Talon Poole 21c5e5bfef npm install from git 2021-01-29 06:33:54 +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 2cdf287808 remove compiled mandoc 2021-01-28 06:34:23 +00:00
Talon Poole 7f85626c0e Merge branch 'cli' into main 2021-01-28 06:19:20 +00:00
Talon Poole c71728c713 make format 2021-01-28 06:18:32 +00:00
Talon Poole 89cb9cb691 make format 2021-01-28 06:16:46 +00:00
Talon Poole 92a1a62995 scaffold out the cli 2021-01-28 06:09:49 +00:00
Talon Poole 24c18dd9a9 fix highlighting 2021-01-28 04:27:44 +00:00
Talon Poole 26f51ef26b update example 2021-01-28 04:16:34 +00:00
Talon Poole bd246ddead organize more 2021-01-28 04:12:11 +00:00
Talon Poole fbbd22a8bc readme 2021-01-28 00:36:23 +00:00