RubyGems Navigation menu

xhtml_report_generator 2.1.0

The generator can be used to create xhtml files. It comes with some default utility functions.

Here is an example usage

gen1 = XhtmlReportGenerator::Generator.new
gen1.create_layout("Title")
gen1.heading("h1", {"class" => "bothtoc"}) {"titel"}
gen1.heading("h2") {"subtitel"}
gen1.heading("h3") {"section"}
gen1.content({"class"=>"bold"}) {"content function: Hallo welt <br /> html test <span class="r" >red span test</span>"}
gen1.html("<p class="italic">html function: Hallo welt <br /> html test <span class="r" >red span test</span></p>")
gen1.highlight(/Ha.*lt/)

The javascript to render the table of contents, the custom generator functions and style sheet all can be supplied by your own, if necessary.

Gemfile:
=

安裝:
=

版本列表:

  1. 4.0.3 July 17, 2020 (188.5 KB)
  2. 4.0.2 January 30, 2019 (175.0 KB)
  3. 4.0.1 January 26, 2019 (174.5 KB)
  4. 4.0.0 September 26, 2017 (223.5 KB)
  5. 3.1.2 March 13, 2017 (57.0 KB)
  6. 2.1.0 October 15, 2015 (45.0 KB)
顯示所有版本(共 25)

擁有者:

作者:

  • Manuel Widmer

SHA 256 總和檢查碼:

=

總下載次數 50,166

這個版本 2,190

版本发布:

授權:

MIT

Ruby 版本需求: >= 1.9.3

相關連結: