~kota/gemgen

v0.6.0 2 years ago .tar.gz browse log

gemgen v0.6.0

This version adds a new option `-l` which allows modifying the
destination of link with regular expressions. Additionally, gemgen will
now create the output directory if missing rather than printing an
error.

v0.5.1 2 years ago .tar.gz browse log

gemgen v0.5.1

This version fixes reading markdown from STDIN and writing gemtext to
STDOUT. Thanks ~alterae for the fix!

v0.5.0 2 years ago .tar.gz browse log

gemgen v0.5.0

This version adds a new flag for horizontal rules (-r, --horizontal-rule).
You can now print them using any string you like, including newlines to
create a codeblock for example.

The default horizontal rule was changed to a blank string (hence the
version bump). Having the 80 character wide - as a default was not ideal
for screenreaders. The new default is ~~~ which should be more friendly.

v0.4.2 3 years ago .tar.gz browse log

gemgen v0.4.2

This release fixes a bug in which the newly added wiki links could be
skipped.

v0.4.1 3 years ago .tar.gz browse log

gemgen v0.4.1

This resease adds rendering support for the wiki style links markdown
extension. With this extension you can use the [[destination.com|label]]
syntax which is popular on a few major wikis. Details of the
implementation can be found here: https://git.sr.ht/~kota/goldmark-wiki

v0.4.0 3 years ago .tar.gz browse log

gemgen v0.4.0

This version adds templating. You can specifiy one or more template
files with the new -t, --template option. It accepts a comma seperated
list of strings using the form "pattern,/path/to/template" where pattern
is a regular expression matching your source filenames.

To match all input files with a template file named "content.tmpl" you
could use -t '.*,content.tmpl'. Full documentation is in the updated
manual.

The template files themselves consist of actions such as {{.Content}},
{{.LastEdit}} or {{.Filename}}. Again more info and examples are in the
man page.

v0.3.0 3 years ago .tar.gz browse log

gemgen v0.3.0

This version adds:
 - concurrent file reading/writing
 - options for link handling in paragraphs and headers
 - option to print or not print blank lines after headings

The command line options were slightly changed to allow for these
features and to make room for future plans. There are now long and short
versions of each flag and the `-E` option has been removed. Instead you
can use `-e off`, `-e markdown`, or `-e unicode`.

The unicode option is currently undocumented. I don't want to carelessly
encourage its usage which would harm screenreaders. Those who know about
the feature should only use it when they can provide a alternative
accessible version of their documents.

v0.2.0 3 years ago .tar.gz browse log

gemgen v0.2.0

This version adds the -E option which will use unicode magic to print
bold, italic, and strikethrough in plain UTF-8 gemtext. Try it out!

v0.1.0 3 years ago .tar.gz browse log

gemgen v0.1.0

First release of gemgen. It's fast and accurate, but has lots of room
for improvements.