From f522be9c60d4e8cdd68069c1d438c2a2083db592 Mon Sep 17 00:00:00 2001 From: as-op Date: Mon, 24 Jun 2024 15:32:55 +0200 Subject: [PATCH] chore(release): v0.1.0 --- CHANGELOG.md | 11 +++++++++++ Gemfile.lock | 4 ++-- docs/STYLES.md | 2 +- lib/md_to_pdf/version.rb | 2 +- md_to_pdf.gemspec | 2 +- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e550348..91b4970 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ ## [Unreleased] +## [0.1.0] - 2024-06-24 + +- feat: add support for mermaid diagrams if [mermaid-cli](https://github.com/mermaid-js/mermaid-cli) is installed and available in the PATH +- feat: add support for Github alert blockquotes + +BREAKING: + +- styles now require a ˚alerts˚ key with settings for the alert blockquotes (see [docs/STYLING.md](docs/STYLING.md#alert-boxes-styled-blockquotes)) +- command line tool parameters have been fixed to match the documentation +- Module users need to implement mermaid_cli_enabled? and return true to enable mermaid diagrams + ## [0.0.27] - 2024-06-11 - fix(tables): better image handling in table autosizing diff --git a/Gemfile.lock b/Gemfile.lock index 257afd8..9f625dd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,13 +1,13 @@ PATH remote: . specs: - md_to_pdf (0.0.27) + md_to_pdf (0.1.0) color_conversion (~> 0.1) front_matter_parser (~> 1.0) json-schema (~> 4.3) markly (~> 0.10) matrix (~> 0.4) - nokogiri (~> 1.1) + nokogiri (~> 1.16) prawn (~> 2.4) prawn-table (~> 0.2) text-hyphen (~> 1.5) diff --git a/docs/STYLES.md b/docs/STYLES.md index 24164ef..758df12 100644 --- a/docs/STYLES.md +++ b/docs/STYLES.md @@ -949,4 +949,4 @@ available units are `in` - Inch, `ft` - Feet, `yr` - Yard -`pt` - [Postscript point](https://en.wikipedia.org/wiki/Point_(typography)#Desktop_publishing_point) (default if no unit is used) \ No newline at end of file +`pt` - [Postscript point](https://en.wikipedia.org/wiki/Point_(typography)#Desktop_publishing_point) (default if no unit is used) diff --git a/lib/md_to_pdf/version.rb b/lib/md_to_pdf/version.rb index ecf9fea..d5d580c 100644 --- a/lib/md_to_pdf/version.rb +++ b/lib/md_to_pdf/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module MarkdownToPDF - VERSION = '0.0.27' + VERSION = '0.1.0' end diff --git a/md_to_pdf.gemspec b/md_to_pdf.gemspec index 115cd0d..73ed102 100644 --- a/md_to_pdf.gemspec +++ b/md_to_pdf.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency "json-schema", ["~> 4.3"] s.add_runtime_dependency "markly", ["~> 0.10"] s.add_runtime_dependency "matrix", ["~> 0.4"] - s.add_runtime_dependency "nokogiri", ["~> 1.1"] + s.add_runtime_dependency "nokogiri", ["~> 1.16"] s.add_runtime_dependency "prawn", ["~> 2.4"] s.add_runtime_dependency "prawn-table", ["~> 0.2"] s.add_runtime_dependency "text-hyphen", ["~> 1.5"]