This repository has been archived by the owner on Jun 24, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vasiliy Yorkin
committed
Jul 11, 2013
1 parent
557318c
commit 10d2439
Showing
1 changed file
with
2 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,2 @@ | ||
1) | ||
---------------------- | ||
generate do | ||
table_of_contents | ||
p do | ||
italic | ||
bold | ||
write "paragraph1" | ||
line_break | ||
write "paragraph2" | ||
end | ||
end | ||
|
||
2) | ||
---------------------- | ||
p "paragraph content", :align => 'center' do | ||
style "styleId" | ||
italic | ||
preserve_whitespace | ||
write "blablah" | ||
end | ||
|
||
3) | ||
---------------------- | ||
p "some content", :style => "style1" :b => true, :i => true do | ||
line_break | ||
write "another content" | ||
line_break | ||
write "more content" | ||
end | ||
1) Paragraph spacing support | ||
2) Dynamic style generations |