<commit_before># Prezio

A tool to generate HTML5/CSS slideshows.

Uses [DZSlides][dzslides] HTML template and [pygments.rb][pygments] for syntax highlighting.

## Installation

Install the gem using:

    $ gem install prezio

## Usage

Prezio converts simple html files into presentations.

The HTML file should look like this:

"""html
<title>The Title Of Your Presentation</title>

<!-- One section is one slide -->
<section>
  <h1>My Presentation</h1>
  <footer>by <NAME></footer>
</section>

<section>
  <!-- Any HTML -->
  <p>Some random text</p>
</section>

<section>
  <!-- This will be highlighted -->
  <code lang="ruby">
  def greet(name)
    println "Hello, #{name}!"
  end
  </code>
</section>
"""

Convert the template to presentation using the following command:

    $ prezio convert template.html presentation.html

[dzslides]: https://github.com/paulrouget/dzslides
[pygments]: https://github.com/tmm1/pygments.rb/<commit_msg>Added info about preview mode<commit_after># Prezio

A tool to generate HTML5/CSS slideshows.

Uses [DZSlides][dzslides] HTML template and [pygments.rb][pygments] for syntax highlighting.

## Installation

Install the gem using:

    $ gem install prezio

## Usage

Prezio converts simple html files into presentations.

The HTML file should look like this:

"""html
<title>The Title Of Your Presentation</title>

<!-- One section is one slide -->
<section>
  <h1>My Presentation</h1>
  <footer>by <NAME></footer>
</section>

<section>
  <!-- Any HTML -->
  <p>Some random text</p>
</section>

<section>
  <!-- This will be highlighted -->
  <code lang="ruby">
  def greet(name)
    println "Hello, #{name}!"
  end
  </code>
</section>
"""

Convert the template to presentation using the following command:

    $ prezio convert template.html presentation.html

While you are developing the presentation, it might be useful to run prezio in preview mode:

    $ prezio preview template.html

[dzslides]: https://github.com/paulrouget/dzslides
[pygments]: https://github.com/tmm1/pygments.rb/
{'fraction_non_alphanumeric': 0.12868369351669942, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 3.9441747572815533, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4564269', 'n_tokens_mistral': 672, 'n_tokens_neox': 646, 'n_words': 214}