A gemini client/server library and interactive client in Rust.
Go to file
Emii Tatsuo 4c86fbba1e
Add support for alt-text in preformatted blocks ⚠️
⚠️  Breaking Change ⚠️

This adds support for parsing and rendering alt-text in preformatted blocks.  This changes the public API both around the `Node` enum and the `preformatted()` method of the builder.  I cannot think of a way to avoid this that is not needlessly overcomplicated, except maybe merging the preformatted & body into a single newline delimited string but that's hella gross and i don't think anyone wants that.  Lemme know if you can think of a better way of doing this

Preformatted blocks without alt text can still be created by passing in an empty string.  Because alt text isn't separated by a space, this does not add any unnecessary padding.  I chose not to accept Option<String> here because an empty string serves the same function but encourages users to use alt-text in their documents, which is very important for increasing accessibility.
2020-11-30 14:05:12 -05:00
gemtext Add support for alt-text in preformatted blocks ⚠️ 2020-11-30 14:05:12 -05:00
majc majc: fix redirects 2020-08-08 16:05:13 -04:00
majd start ideas for majd 2020-07-26 17:47:22 -04:00
pilno/karnycukta add CGI support 2020-08-08 11:23:44 -04:00
site oops 2020-08-08 12:14:13 -04:00
src refactor gemtext tools into its own crate 2020-08-08 16:10:20 -04:00
testdata majc: fix rendering of gemlog.blue 2020-07-28 16:02:48 -04:00
.drone.yml fix? 2020-08-06 14:45:48 -04:00
.envrc add basic gemeni response parsing 2020-07-23 22:25:35 -04:00
.gitignore move majsite to its own crate, crate2nix 2020-07-25 21:11:00 -04:00
CHANGELOG.md version bump for gemtext 2020-09-26 19:21:03 -04:00
Cargo.toml version bump for gemtext 2020-09-26 19:21:03 -04:00
LICENSE add basic gemeni response parsing 2020-07-23 22:25:35 -04:00
README.md Update 'README.md' 2020-07-24 12:12:00 +00:00
VERSION version bump for gemtext 2020-09-26 19:21:03 -04:00
shell.nix Remove kindlegen from shell.nix 2020-11-01 22:47:28 +00:00

README.md

maj

A gemini ecosystem for Rust.

Build Status