JavaScript preprocessors can help make authoring JavaScript easier and more convenient. For instance, CoffeeScript can help prevent easy-to-make mistakes and offer a cleaner syntax and Babel can bring ECMAScript 6 features to browsers that only support ECMAScript 5.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
HTML Settings
Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
<ul class="table-of-contents">
<li><a href="#イギリスのワーホリ留学について">イギリスのワーホリ・留学について</a>
<ul>
<li><a href="#基礎知識">基礎知識</a></li>
</ul>
</li>
<li><a href="#出国前にやること手順">出国前にやること・手順</a>
<ul>
<li><a href="#YMSワーホリビザ申請手順">YMS・ワーホリビザ申請手順</a></li>
<li><a href="#日本でやること">日本でやること</a>
<ul>
<li><a href="#豆知識">豆知識</a></li>
</ul>
</li>
<li><a href="#準備">準備</a></li>
<li><a href="#持ち物">持ち物</a></li>
<li><a href="#保険">保険</a></li>
<li><a href="#お金">お金</a></li>
<li><a href="#渡英後にやること">渡英後にやること</a></li>
</ul>
</li>
<li><a href="#イギリス生活の豆知識">イギリス生活の豆知識</a>
<ul>
<li><a href="#住宅">住宅</a></li>
<li><a href="#学校">学校</a></li>
<li><a href="#仕事">仕事</a></li>
<li><a href="#美容">美容</a></li>
<li><a href="#健康">健康</a></li>
<li><a href="#英語">英語</a></li>
<li><a href="#気づいたこと暮らしのこと">気づいたこと・暮らしのこと</a></li>
<li><a href="#ふりかえり">ふりかえり</a></li>
</ul>
</li>
<li><a href="#イギリス旅行ガイド">イギリス旅行ガイド</a>
<ul>
<li><a href="#スコットランド">スコットランド</a></li>
<li><a href="#イングランド">イングランド</a></li>
<li><a href="#北イングランド">北イングランド</a></li>
<li><a href="#南イングランド">南イングランド</a></li>
</ul>
</li>
<li><a href="#ヨーロッパ旅行ガイド">ヨーロッパ旅行ガイド</a>
<ul>
<li><a href="#ドイツ">ドイツ</a></li>
<li><a href="#オランダ">オランダ</a></li>
<li><a href="#ベルギー">ベルギー</a></li>
<li><a href="#フランス">フランス</a></li>
<li><a href="#スウェーデン">スウェーデン</a></li>
<li><a href="#デンマーク">デンマーク</a></li>
<li><a href="#フィンランド">フィンランド</a></li>
<li><a href="#エストニア">エストニア</a></li>
<li><a href="#ノルウェー">ノルウェー</a></li>
</ul>
</li>
<li><a href="#叶えたい100のこと">叶えたい100のこと</a></li>
</ul>
/*--------------------------------------
もくじ
--------------------------------------*/
ul.table-of-contents {
font-size: 12px !important;/*文字サイズ*/
border: 1px solid #eee !important;
padding: 1em 1.5em 1em 2.25em !important;
color: #999 !important;
display: inline-block;
}
ul.table-of-contents:before {
content: "[ も く じ ]"; /* お好きな文言に変更してください */
display: inline-block;
margin: 0.2em 0em 1em;
padding: 0.2em 1em;
font-weight: bold;
background-color: #f5f5f5;
}
ul.table-of-contents a:after {
display: none !important;
}
ul.table-of-contents li a,
ul.table-of-contents li a:visited {
color: #999 !important; /* リンク文字の色 */
text-decoration: none; /* リンクの下線あり・なし */
}
ul.table-of-contents li a:hover {
color: #bac !important; /* リンクにマウスを重ねた時の色 */
}
ul.table-of-contents li {
margin: 5px 0 10px 10px !important;
line-height: 1.5;
padding: 0;
list-style-type: none !important;
}
ul.table-of-contents li:before {
content: "▼"; /*お好きな記号に変更可能です*/
position: absolute;
left: 1.7em !important; /*左端からのアイコンまでの距離*/
color: #fac;
}
ul.table-of-contents ul li,
ul.table-of-contents li ul {
/* H1のみ表示させる */
display: none !important;
}
Also see: Tab Triggers