rabbit-shocker/rabbit

Can't start presentation with markdown format

unasuke opened this issue · 2 comments

probrem

Can't start presentation with markdown format.
(I tried to rd format then it succeed)

root@ddda6ce65d2c:/# rabbit-slide new --id test --base-name slide --markup-language markdown
Gtk-Message: 12:10:44.262: Failed to load module "canberra-gtk-module"
[INFO]
Creating directory: test
[INFO]
Creating file:      test/.gitignore
[INFO]
Creating file:      test/.rabbit
[INFO]
Creating file:      test/config.yaml
[INFO]
Creating file:      test/README.md
[INFO]
Creating file:      test/Rakefile
[INFO]
Creating file:      test/slide.md
[INFO]
Creating directory: /root/.rabbit
[INFO]
Creating file:      /root/.rabbit/author.yaml
root@ddda6ce65d2c:/# cd test/
root@ddda6ce65d2c:/test# rabbit
Gtk-Message: 12:10:54.790: Failed to load module "canberra-gtk-module"
[WARNING]
unsupported format. (supported: [Wiki, PDF, image, RD])

environment

  • Arch Linux (GNOME3)
    • Linux 4.20.3-arch1-1-ARCH #1 SMP PREEMPT Wed Jan 16 22:38:58 UTC 2019 x86_64 GNU/Linux
  • Ruby 2.6.1
    • ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]
  • rabbitl 2.2.1

how to reproduction

FROM rubylang/ruby:2.6.1-bionic
RUN apt update && apt install -y libglib2.0-dev
RUN gem install rabbit
$ docker build -t rabbit-test . # build the dockerfile
$ docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix rabbit-test bash
# rabbit-slide new --ite test-slide --base-name slide --markup-language markdown
# cd test-slide && rabbit
kou commented

Thanks for your report.
It's caused by kramdown update. https://kramdown.gettalong.org/news.html
kramdown splits its GFM parser to separated gem.

Could you install kramdown-parser-gfm gem manually for now?

It works! Thank you 😍