md2

md2gemini

File converter from Markdown to Gemini.

Showing:

14 Versions

1.8.1

This release makes CLI usage work again. Whoops. See #28 for details.

1.8.0

  • Bugfix: Don't fail on empty input (10f126146f5b3a218f38d777b0b865f3c4c96ab7)
  • The link_func param was added when calling md2gemini from Python, allowing you to modify link URLs using your own custom logic (3e01d5937e9e43f9ba2ad51c624d555e56ea28d9)
    • Thanks to @raspbeguy in #27!

If you'd like to support md2gemini development, as well as my other Gemini projects, you can sponsor me through Ko-Fi or Github Sponsors. Thanks!

1.7.0

  • Unordered list items spanning multiple lines are supported now (#22, #23, thanks @ericonr!)
  • Tables have a default alt text: table (53b2f83)
  • Code blocks don't have an extra ending newline (Thanks Sandra!) (0420ea8)
  • --table-tag and --code-tag flags added, to support alt text for code blocks (that don't already have one), and to override the new default one for tables (5fb30f3)

If you'd like to support md2gemini development, as well as my other Gemini projects, you can sponsor me through Ko-Fi or Github Sponsors. Thanks!

1.6.0

This releases adds the --links copy mode (#17). I've also revamped the README to include documentation of each link mode, since there are five now. Check it out!

1.5.1

This bugfix release:

  • Goes back to using CRLF (aka \r\n) for line endings, to ensure Windows support
  • Respects markdown hard line breaks, as it should - #18

1.5.0

This release adds the --base-url and --md-links options and auto removes fragment/hash links.

#7 #13 #11

1.4.0

This releases adds the --strip-html option. It also remove inline HTML when --plain is used, and adds some extra newlines around blocks that should have been added before.

1.3.2

Fixes #8, so that image tags are actually added to image links - on the command line and through library usage.

1.3.1

Adds the --frontmatter option to support Zola frontmatter. Now --jekyll is deprecated, but still works of course.

EDIT: Technically, this should have been release v1.3.0, my bad. I will leave it as is to not break any compatibility. I've retroactively added a v1.3.0 git tag to this same commit, but I will leave PyPI as is.

1.2.1

1.2.0

Fixes #4 and #5, adding a --plain option.

1.1.0

This release fixes #1, #2, and #3.

1.0.1

1.0.0