Skip to content

Commit

Permalink
🐛 Fix: set mermaid theme as 'default' when initialization (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jan 25, 2022
1 parent 05bd918 commit ce0d1ef
Show file tree
Hide file tree
Showing 8 changed files with 206 additions and 201 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
- :zap: Perf: merge shortcode cardlink (deprecated v0.2.13) into shortcode link and add 'download' param ([#42](https://github.com/Lruihao/FixIt/issues/42))
- :zap: Perf: optimize JS loading ([#25](https://github.com/Lruihao/FixIt/issues/25))
- :recycle: Refactor: header title DOM and add subtitle option ([#26](https://github.com/Lruihao/FixIt/issues/26))
- :bug: Fix: set mermaid theme as 'default' when initialization ([#38](https://github.com/Lruihao/FixIt/issues/38))
- :bug: Fix: typeit print code error ([#19](https://github.com/Lruihao/FixIt/issues/19))
- :bug: Fix: pre element overflow error ([#29](https://github.com/Lruihao/FixIt/issues/29))
- :bug: Fix: toc display error without content header ([#21](https://github.com/Lruihao/FixIt/issues/21))
Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/theme.min.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
weight: 3
title: "Theme Documentation - Built-in Shortcodes"
date: 2020-03-04T16:29:41+08:00
lastmod: 2020-03-04T16:29:41+08:00
lastmod: 2022-01-25T15:48:41+08:00
draft: false
author: "Lruihao"
authorLink: "https://lruihao.cn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
weight: 4
title: "Theme Documentation - Extended Shortcodes"
date: 2020-03-03T16:29:41+08:00
lastmod: 2020-03-03T16:29:41+08:00
lastmod: 2022-01-25T15:48:59+08:00
draft: false
author: "Dillon"
authorLink: "https://dillonzq.com"
description: "LoveIt theme provides multiple shortcodes on top of built-in ones in Hugo."
author: "Lruihao"
authorLink: "https://lruihao.cn"
description: "FixIt theme provides multiple shortcodes on top of built-in ones in Hugo."
resources:
- name: "featured-image"
src: "featured-image.jpg"
Expand All @@ -19,7 +19,7 @@ categories: ["documentation"]
lightgallery: true
---

**LoveIt** theme provides multiple shortcodes on top of built-in ones in Hugo.
**FixIt** theme provides multiple shortcodes on top of built-in ones in Hugo.

<!--more-->

Expand Down Expand Up @@ -472,10 +472,8 @@ end
branch newbranch
checkout newbranch
commit
commit
checkout master
commit
commit
merge newbranch
{{</* /mermaid */>}}
```
Expand All @@ -494,10 +492,8 @@ end
branch newbranch
checkout newbranch
commit
commit
checkout master
commit
commit
merge newbranch
{{< /mermaid >}}

Expand Down Expand Up @@ -1284,12 +1280,18 @@ Example `script` input:

```markdown
{{</* script */>}}
console.log('Hello LoveIt!');
console.log('Hello FixIt!');
{{</* /script */>}}
```

You can see the output in the console of the developer tool.

{{< script >}}
console.log('Hello LoveIt!');
console.log('Hello FixIt!');
{{< /script >}}

---

{{< admonition quote "Thanks" >}}
_Thanks to the original author [Dillon](https://dillonzq.com) for preparing and revising the content before version `v0.2.10` in this documentation._
{{< /admonition >}}
Loading

0 comments on commit ce0d1ef

Please sign in to comment.