Skip to content

clustergarage/jekyll-code-tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jekyll-code-tabs

💎 Separate language snippets with fenced code tabs for documentation pages

Usage

{% codetabs %}

{% codetab C %}
```c
printf("Hello, world!");
```
{% endcodetab %}

{% codetab Go %}
```go
fmt.Println("Hello, world!")
```
{% endcodetab %}

{% codetab Python %}
```python
print("Hello, world!")
```
{% endcodetab %}

{% endcodetabs %}

This will create a tabbed-view (hardcoded to UIkit classes for now) that will allow the user to toggle between content.

alt text

About

Fenced code tabs plugin for Jekyll

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages