Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Releases: jjyr/minidown

Fix nest list issue.

25 Feb 16:21
Compare
Choose a tag to compare
* 1
    *2
* 3

Because the incorrect regexp of list element, it will parse to incorrectly nest level if item is start of a line.

Fixed in this release.

version 2.1.0

23 Feb 15:04
Compare
Choose a tag to compare

Fixed all issues. 100% complete GFM support!!

  1. Fix & remove raw html rendered unnecessary
    tags.
  2. Support table syntax.
  3. Fix underscore regexp.
  4. Fix double escape error(escape escape symbol \\).

version 2.0.1

18 Jan 08:24
Compare
Choose a tag to compare

Fix incorrect escape of code block.
For example:

handler = ->(lang, content){ content }
Minidown.render "<>", code_block_handler: handler
# Old version will output
# => "&lt;&gt;"
# it is wrong

# After fix, it will output
# => "<>"

version 2.0.0

12 Jan 06:06
Compare
Choose a tag to compare
  1. API changed
    Minidown.parse(source).to_html changed to Minidown.render(source)
  2. Allow user custom handler, checkout README.md
  3. Allow user use Minidown::Parser, checkout README.md
    Minidown::Parser.new.render(source) is equivalent to Minidown.render(source)

version 1.0.2

29 Dec 10:53
Compare
Choose a tag to compare

Fix codeblock attribute mistake.
source

\``` ruby
hello
\```

With old version it will generated <pre lang="ruby"><code>hello</code></pre>

after fix it generated <pre><code class="ruby">hello</code></pre>

version 1.0.1

23 Nov 04:56
Compare
Choose a tag to compare

Allow tildes as well as backticks for fenced code blocks.

stable version 1.0.0

01 Oct 03:55
Compare
Choose a tag to compare

Just bump major version

version 0.0.6

14 Sep 07:01
Compare
Choose a tag to compare

fix code block, escape html tags in code block.

version 0.0.4

07 Sep 10:47
Compare
Choose a tag to compare

Fix nested ol/ul.

version 0.0.3 is first stable version!

02 Sep 02:13
Compare
Choose a tag to compare

version 0.0.3 fixed all known bugs! you should try it if you have any problem with previous