regebro / hovercraft

Make dynamic impressive presentations from text files!
https://hovercraft.readthedocs.org
MIT License
1.49k stars 209 forks source link

Substep does not work. Did I miss something? #214

Closed yoosofan closed 4 years ago

yoosofan commented 4 years ago

Thanks @regebro, hovercraft developer, for your wonderful and easy tool. I tried to use substep based on presentations.html using Hovercraft! 2.6 on Ubuntu 18.04, but it did not work. What did I miss?

----

JSON Values
=================

.. class:: substep

    *   a string
    *   a number
    *   an object (JSON object)
    *   an array
    *   a boolean
    *   null

----

JSON Values
=================

.. class:: substep

    *   a string

        *   a number

        *   an object (JSON object)

        *   an array

        *   a boolean

        *   null

----

.. class:: substep

    *   a string

    *   a number

    *   an object (JSON object)

    *   an array

    *   a boolean

    *   null

----
regebro commented 4 years ago

Thanks for your kind words. Substeps was first implemented in version 2.7beta1, so they don't work in 2.6.

yoosofan commented 4 years ago

Thanks for your answer. After upgrading to latest release, it works very well. The following instructions may help anyone who wants to upgrade to latest release on Linux (Thanks to Casey and Mat)

curl -L https://api.github.com/repos/regebro/hovercraft/tarball > hovercraft.tar.gz
mkdir -p hovercraft && tar -xvf hovercraft.tar.gz -C hovercraft --strip-components 1
cd hovercraft
pip install --user -e ./