mainroad

Mermaid - Intro how to use

What is Mermaid? Mermaid is a sequence diagram generator written in JavaScript. https://github.com/mermaid-js/mermaid Not only sequence diagrams, but Mermaid can also generate simple graphs. Sequence diagram Here is the simple snippet for beginners (slightly changed from official sample). Mainroad syntax: sequenceDiagram participant Alice participant Bob Alice->>Bob: Hello John, how are you? Bob-->>Alice: Great! sequenceDiagram: I want to draw sequenceDiagram participant Alice: There is a member of our protocol whose name is Alice.

Mainroad configuration manual on Hugo

Most of the information on this page is in the official document. https://themes.gohugo.io/mainroad/ This post is a personal memo to remind me of what I did. Main page It “specifies section pages to show on home page and the “Recent articles” widget.” The following config line shows content/general and content/hugo category on our main page. [Params] mainSections = ["general", "hugo"] Add Google Analytics Mainroad theme supports Google Analytics as default, so you don’t need to input the JavaScript in the template manually.