qwemooe / qwemooe

0 stars 0 forks source link

hugo table of content(toc) · #6

Open qwemooe opened 3 years ago

qwemooe commented 3 years ago

https://qwemooe.gitee.io/post/hugo_toc/

TOC Hugo can automatically parse Markdown content and create a Table of Contents you can use in your templates. Usage Create your markdown the way you normally would with the appropriate headings. Here is some example content:

## Introduction One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin.
qwemooe commented 3 years ago

Imagine life as a game in which you are juggling some five balls in the air. You name them — work, family, health, friends and spirit and you’re keeping all of these in the air.You will soon understand that work is a rubber ball.If you drop it, it will bounce back. But the other four balls — family, health, friends, and spirit — are made of glass. If you drop one of these, they will be irrevocably scuffed, marked, nicked, damaged, or even shattered. They will never be the same. You must understand that and strive for balance in your life.