Skip to content

Commit eeea12e

Browse files
committed
nutshell test
1 parent 1b1cc00 commit eeea12e

File tree

4 files changed

+29
-6
lines changed

4 files changed

+29
-6
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: ['_includes']

_includes/head.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- Nutshell.js for interactive explanations -->
2+
<script src="https://ncase.me/nutshell/nutshell.js"></script>
3+
<script>
4+
Nutshell.setOptions({
5+
startOnLoad: true,
6+
});
7+
</script>

index.html

Lines changed: 0 additions & 6 deletions
This file was deleted.

index.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: default
3+
title: Home
4+
---
5+
6+
# Welcome to My Site!
7+
8+
This is a simple example of using Nutshell with GitHub Pages.
9+
10+
[:What is Nutshell?](#about-nutshell)
11+
[:How does this work?](#how-it-works)
12+
13+
## About Nutshell
14+
15+
Nutshell lets you create expandable explanations that appear when readers click special links.
16+
17+
## How It Works
18+
19+
When you click a Nutshell link (starting with :), it shows the target content in a little popup bubble.
20+
21+
[:Back to top](#welcome-to-my-site)

0 commit comments

Comments
 (0)