<commit_before># preSvg
presentationable vector graphics created with inkscape

## [try live version](http://htmlpreview.github.io/?https://github.com/gitbreaker222/preSvg/blob/master/presvg.html)

## how to create svg-slides

In inkscape:

- create a layer for each slide
- set background-color via document preferences
  - ![location of the background-color preference](http://goinkscape.com/wp-content/uploads/2015/04/transparent-3.png)
- set slide labels by layer name
- save file as inkscape-svg (default format)

## how to show svg-slides

- open **preSvg.html** in your browser
- load your inkscape svg file
- --> the first slide/layer shows up
- click **back/next** or use keys to loop through slides
  - back = arrow up, arrow left, backspace
  - next = arrow down, arrow right, space, enter<commit_msg>adds documentation for layer name prefixes<commit_after># preSvg
presentationable vector graphics created with inkscape

## [try live version](http://htmlpreview.github.io/?https://github.com/gitbreaker222/preSvg/blob/master/presvg.html)

## how to create svg-slides

In inkscape:

- create a layer for each slide
- set background-color via document preferences
  - ![location of the background-color preference](http://goinkscape.com/wp-content/uploads/2015/04/transparent-3.png)
- set slide labels by layer name
  - prefix the layer name with `.` to exclude it from the slides (e.g. _".layout"_)
  - prefix the layer name with `+` to show this layer with every slides (e.g. _"+background"_)
  - prefix the layer name with `#` to mark it as a chapter title and show it in the menu (e.g. _"#how to create svg-slides"_)
- save file as inkscape-svg (default format)

## how to show svg-slides

- open **preSvg.html** in your browser
- load your inkscape svg file
- --> the first slide/layer shows up
- click **back/next** or use keys to loop through slides
  - back = arrow up, arrow left, backspace
  - next = arrow down, arrow right, space, enter
{'fraction_non_alphanumeric': 0.10725229826353422, 'fraction_numerical': 0.010214504596527068, 'mean_word_length': 3.8975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '388415', 'n_tokens_mistral': 609, 'n_tokens_neox': 601, 'n_words': 226}