Gungnir
A blog theme for VuePress. The Jekyll version of it is available here.
Gungnir is the spear of the god Odin in Norse mythology.
Features
- Simple and beautiful
- Responsive design
- Multi-level navigation
- Switchable cover images for home page
- Dark and light mode: system theme detection with a theme-switcher to set the theme as per the user preference
- Search
- Table of contents
- Multiple syntax highlighting themes, support full screening the code blocks (inspired by WordPress theme Sakura)
- Tex support (Katex)
- Draw charts in Markdown easily: Chart.js, Mermaid and roughViz.js
- Markdown enhancements:
- Footnote (markdown-it-footnote)
- Mark (markdown-it-mark)
- Analytics (Google Analytics and Baidu Tongji)
- Comment (Vssue)
- RSS
- Reading time
- Multi-language support (English, Simplified Chinese)
- Archive page with tags, links page
Installation
yarn add -D vuepress-theme-gungnir
# or
npm i -D vuepress-theme-gungnir
Demo
Here are some live demos:
Documentation
Documentation is available (but ongoing) here.
License
VuePress theme Gungnir is Apache License 2.0 licensed, see the LICENSE file for details.