From 67a60c8c6e4b5cb4f05bea1ff5276308facc0566 Mon Sep 17 00:00:00 2001 From: mathias234 Date: Wed, 3 Dec 2025 11:57:02 +0100 Subject: [PATCH] Update readme --- README.md | 15 +++++++++++++++ lib/notare/version.rb | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 55375ef..65ba637 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,21 @@ Notare includes built-in styles and supports custom style definitions. #### Built-in Styles +| Style | Properties | +|-------|------------| +| `:title` | 26pt, bold, centered | +| `:subtitle` | 15pt, italic, gray (#666666) | +| `:quote` | italic, gray (#666666), indented | +| `:code` | Courier New, 10pt | +| `:heading1` | 24pt, bold | +| `:heading2` | 18pt, bold | +| `:heading3` | 14pt, bold | +| `:heading4` | 12pt, bold | +| `:heading5` | 11pt, bold, italic | +| `:heading6` | 10pt, bold, italic | + +Note: `h1` through `h6` methods use the corresponding heading styles automatically. + ```ruby Notare::Document.create("output.docx") do |doc| doc.p "This is a title", style: :title diff --git a/lib/notare/version.rb b/lib/notare/version.rb index fc5ab8d..8c67315 100644 --- a/lib/notare/version.rb +++ b/lib/notare/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Notare - VERSION = "0.0.2" + VERSION = "0.0.3" end