Compare commits
2 Commits
feature/ne
...
67a60c8c6e
| Author | SHA1 | Date | |
|---|---|---|---|
| 67a60c8c6e | |||
| 52d715a6de |
15
README.md
15
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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Notare
|
||||
VERSION = "0.0.2"
|
||||
VERSION = "0.0.3"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user