clustergarage / jekyll-code-tabs

Fenced code tabs plugin for Jekyll
MIT License
19 stars 13 forks source link

can not display correctly #11

Open luweizheng opened 3 years ago

luweizheng commented 3 years ago

Hi there, I just install jekyll-code-tabs. Here is what it looks like.

image

I install it as follows:

  1. add into Gemfile
    gem 'kramdown-parser-gfm'
    gem 'jekyll-code-tabs'
  2. exec bundle bundle update

Is there anything wrong?

jdvp commented 3 years ago

Late response and this is the first time I've ever seen this project, but I am pretty sure you need to include the following css/js dependencies since it seems like the plugin is using UiKit classes

  <!-- UIkit CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.7.2/dist/css/uikit.min.css" />

<!-- UIkit JS -->
<script src="https://cdn.jsdelivr.net/npm/uikit@3.7.2/dist/js/uikit.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/uikit@3.7.2/dist/js/uikit-icons.min.js"></script>