Papermod 主题有bug,需要这个patch: https://github.com/miallo/hugo-PaperMod/commit/bdc94735006be3102ab9bfe45b360d4f0179a3e0
|
|
让hugo支持mermaid https://gohugo.io/content-management/diagrams/#mermaid-diagrams
mermaid 示例 https://mermaid.nodejs.cn/syntax/examples.html
sequenceDiagram
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
gitGraph
gitGraph:
commit id:"Ashish"
branch newbranch
checkout newbranch
commit id:"1111"
commit tag:"test"
checkout main
commit type: HIGHLIGHT
commit
merge newbranch
commit
branch b2
commit
mindmap
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectiveness<br/>and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid