jekyll-github-sample icon indicating copy to clipboard operation
jekyll-github-sample copied to clipboard

not working, Liquid syntax error

Open breuerfelix opened this issue 6 years ago • 1 comments

this plugin is freaking amazing cause I can update my page automatically when I update my project readme. saving a lot of time to not update things in 2 different places.

anyways I get an error: Liquid Exception: Liquid syntax error (line 1): Unknown tag 'github_sample' in projects/king-bot/index.md

I installed the gem, and added it to the plugins (btw. change that in your documentation please :) )

tried to bundle exec Jekyll serve but no luck at all

implemented like: {% github_sample scriptworld-git/king-bot/blob/master/README.md 5 %}

also tried: {%- github_sample scriptworld-git/king-bot/blob/master/README.md 5 -%}

and even full path: {% github_sample https://github.com/scriptworld-git/king-bot/blob/master/README.md 5 %}

breuerfelix avatar Jun 21 '18 06:06 breuerfelix

I had the same problem with Jekyll 4.0.0

It worked after I put jekyll_github_sample under the plugins section

plugins:
  - jekyll_github_sample

@bwillis would be great if you'd update your readme.

Thanks for the plugin anyway!

hpmartini avatar Jan 26 '20 09:01 hpmartini