Releases: brianyu28/vitality
Releases · brianyu28/vitality
v0.1.5
Vitality v0.1.5 includes:
New Features
- Object groups. An object can have
type: group
, under which is anobjects
key that contains a list of all of the objects within it. Object groups can have transitions applied to them. - Printout mode. Typing
p
while on the page will bring up the printout view, which lines up all of the slides on the same page. Cropping and resizing may still need to be done separately. - The
text
object supports aspacing
key that determines the line spacing between lines. - A
bullet
now supports aspacing
key to determine its level of indentation. - Title-only slides are now supported. If a slide has a
title
key only, it will show up as a heading above the slide. The slide can also have objects associated with it to fill the slide. - Last slide shortcut. Typing
x
will automatically jump to the last slide.
Breaking Changes
- The attributes
dominant_baseline
andtext_anchor
on thetext
attribute have been renamed todominant-baseline
andtext-anchor
, respectively, to line up with the SVG standard nomenclature.
v0.1.4
Vitality v0.1.4 includes
New Features
- Added a control panel (accessible by pressing
c
) to control slides from a separate window - Support for multi-line text objects
- Support for image objects
Enhancements
- There is now a
copy_objects
property that can be used to automatically copy all objects (with anid
) from the previous slide to the current slide.
Bug Fixes
- Fix bug where go-to mode doesn't disable other key presses
- Fix bug where text elements that contained only an integer would cause errors
- Fix bug where multiple transitions for the same object in a row would not take effect
- Fix resizing window bug for particularly wide screens
v0.1.3
Vitality v0.1.3 includes:
New Features
- Arithmetic expressions can now be evaluated in the YAML file by prepending
!calc
- Added the ability to "go to" a slide, as by typing
g
then2
then enter to go to slide 2 (slides are 0-indexed). The user can also can also go to a slide with a particularid
by typingg
followed by the id, and then enter. Slides can be given anid
by adding anid
key to the slide configuration;id
must contain at least one alphabetic character.- Once the presenter has used the go-to feature to go to a particular slide, they can use
b
to go back to their previous slide (retaining build if needed). - If in the middle of a go-to, the escape key cancels the go-to.
- Once the presenter has used the go-to feature to go to a particular slide, they can use
- Add pure HTML slides, by giving a slide a
type: html
as well as anhtml:
key (if the latter is present, the former is assumed). HTML takes up the entire page, and can be used to add images, iframes, buttons, etc. to a page. - Add support for HTML objects as elements on a slide.
- For HTML, added a
.center
class which can be used to center an element both horizontally and vertically.
Enhancements
- Title slides without a type; if
title
andsubtitle
keys are present, then a title slide is assumed - Individual bullets can now have a custom color, by putting the bullet under a
text:
key and adding acolor:
key to the bullet. If nocolor
key is present, the color of for the bullets overall is assumed.
Bug Fixes
- Fixed bug where in
--watch
mode, files were not regenerated when in the current directory - Fixed bug where
attr
andstyle
properties would not copy correctly to transitioned objects if the transitioned object also had anattr
orstyle
key
v0.1.2
This version of vitality includes support for:
- Navigating slides via arrow keys.
- Template slides for title slides, section slides, bulleted slides, blank slides, and slides with objects.
- Custom objects that can be any SVG-supported shape.
- Inter-slide builds for bullets or objects.