~kota/goldmark-gemtext

v0.3.2 4 months ago .tar.gz browse log

goldmark-gemtext v0.3.2

This release implements link replacers for images!

v0.3.1 4 months ago .tar.gz browse log

goldmark-gemtext v0.3.1

This release fixes a bug with the new LinkReplacers feature. Auto links
were not working at all and all link types were only working in headings
or link only paragraphs. This release fixes them all in normal paragraphs.

v0.3.0 5 months ago .tar.gz browse log

goldmark-gemtext v0.3.0

This release adds a new option "LinkReplacers" which allows modifying
link targets from the markdown source using regular expression matching. This
means you could automatically replace `.md` with `.gmi` in your markdown
links or perhaps add a path to the start of each link. LinkReplacers is
a slice so you can have more than once regex search. They are applied in
order for each of the 3 link types (markdown, wiki, and auto).

v0.2.1 5 months ago .tar.gz browse log

goldmark-gemtext v0.2.1

This release adds a functional helper WithHorizontalRule(). All other
config options had functional helpers, but this one was neglected.
Should make it a little easier to set this option.

v0.2.0 6 months ago .tar.gz browse log

goldmark-gemtext v0.2.0

This version adds a config option for horizontal rules. 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 - as a default was not ideal for
screenreaders. I would encourage using a codeblock or a much shorter
string for your own horizontal breaks.

v0.1.2 7 months ago .tar.gz browse log

goldmark-gemtext v0.1.2

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. More information about
this extension can be found here: https://git.sr.ht/~kota/goldmark-wiki

v0.1.1 9 months ago .tar.gz browse log

goldmark-gemtext v0.1.1

This release adds a new HeadingSpace option. You can now control how
many newline characters are entered after paragraph.

v0.1.0 9 months ago .tar.gz browse log

goldmark-gemtext v0.1.0

This is the initial release of goldmark-gemtext. It provides a reliable
goldmark renderer which has nearly 100% test coverage (some failure
conditions are missing) and a number of useful configuration options. I
might be adding more options in the future, but it's unlikely I will
need to change the ones I've currently implemented and I'm already using
this library from my gemgen cli program. However, this library is still
in a somewhat experimental stage and it would be premature to tag a
v1.0.0 at this time.