Golang library for converting Markdown to HTML. Good documentation is included.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.3 KiB

Changelog

Semantic versioning is used (https://semver.org/).

v2.1.5

  • Update lcomrade/highlight v1.0.2 => v1.0.4
  • Fix: **\***, __\___ and ~~\~~~
  • Fix: shielding HTML in code block whet language name is unknown

v2.1.4

  • Fix: text before code block
  • Fix: no code block end
  • Update test

v2.1.3

  • Fix: empty line at beginning of code block
  • Update dependencies

v2.1.2

Update lcomrade/highlight v1.0.0 => v1.0.1

v2.1.1

This release is only needed to get the Golang modules working.

v2.1.0

  • Add code block highlight (used lcomrade/highlight)
  • Code block can be opened with any number of chars
  • Now style is applied to paragraph as a single line
  • Fix: text before list
  • Update Go doc
  • Remove Go 1.9 support

v2.0.2

  • <em> and <strong> tags can only be closed with symbol with which it was opened
  • Fix: empty title (e.g.## )

v2.0.1

  • Fix: ``` in row
  • Fix: *, -, ~ inside word
  • Fix: strong and em tag close
  • Fix: <> brackets in non links

v2.0.0

There is nothing dramatically new in this release. But the quality of Markdown detection has improved noticeably.

  • Closing headers are now supported
  • Allow escape backtick, +, - and #
  • Cleaning the HTML from extra spaces
  • Add support opening and closing code block with 4 reverse apostrophes
  • Fix: HTML ID generation
  • Fix: image
  • Fix: )) in links
  • Fix: email detection
  • Fix: remove brackets around URL

v1.2.0

  • Autolink now work in lists
  • Autolink now work in headers
  • Update link parser
  • Update HTML headers IDs

v1.1.2

Fix: mailto:'admin@example.org' replaced to mailto:admin@example.org

v1.1.1

Fix: autolink email display.

v1.1.0

Now automatically converted into links:

  • Emails
  • http://*
  • https://*
  • ftp://*
  • irc://*

v1.0.3

The end of the list is now indicated by an empty line.

v1.0.2

Fix: _ and * inside words are now handled correctly.

v1.0.1

Solved the problem with the display of characters of alphabets other than English. For example, now displays Cyrillic correctly.

v1.0.0

First stable release.

The following Markdown elements are supported:

  • Paragraph
  • Header
  • Text style
  • Link
  • Image
  • Code quote
  • Unordered list
  • Numbered list
  • Character shielding(\*, \_, \~, \.)
  • Embedded HTML tags

And there is quite detailed documentation and examples.