Update readme
All checks were successful
CI Pipeline / build (push) Successful in 12s

This commit is contained in:
2025-12-03 11:57:02 +01:00
parent 52d715a6de
commit 67a60c8c6e
2 changed files with 16 additions and 1 deletions

View File

@@ -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

View File

@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Notare
VERSION = "0.0.2"
VERSION = "0.0.3"
end