I have an org
document ~/foo.org
#+Title: testing htmlize
#+Date: <2015-08-21 Fri>
* Hello world
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit
tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et,
mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae dolor.
Nullam tristique diam non turpis. Cras placerat accumsan nulla. Nullam rutrum.
Nam vestibulum accumsan nisl.
** Subsection
Mauris ac felis vel velit tristique imperdiet.
| this | is | a | table |
|--------+------+--------+--------|
| albeit | not | very | useful |
| john | paul | george | ringo |
Issuing M-x htmlize-file <ret> ~/foo.org <ret>
writes an html
file ~/foo.org.html
whose output looks like
#+Title: testing htmlize
#+Date: <2015-08-21 Fri>
* Hello world...
It appears that htmlize
reads ~/foo.org
in its collapsed form. Is it possible to get htmlize
to read ~/foo.org
in its entirety?
I'm currently issuing M-x htmlize-buffer
followed by C-x C-w
to write the complete html
file but I'd like to do this with only one command.