We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35d6817 commit 66693abCopy full SHA for 66693ab
1 file changed
README.md
@@ -16,7 +16,7 @@ a ruby library/gem for interacting with `.docx` files. currently capabilities in
16
17
requires ruby (tested with 2.1.1)
18
19
- gem install docx
+ gem 'bitops-docx', '~> 0.2.07'
20
21
### reading
22
@@ -37,6 +37,17 @@ doc.bookmarks.each_pair do |bookmark_name, bookmark_object|
37
end
38
```
39
40
+### rendering html
41
+``` ruby
42
+require 'docx'
43
+
44
+# Retrieve and display paragraphs as html
45
+doc = Docx::Document.open('example.docx')
46
+doc.paragraphs.each do |p|
47
+ puts p.to_html
48
+end
49
+```
50
51
### reading tables
52
53
``` ruby
0 commit comments