This document demonstrates all standard Markdown features along with proper sidenote usage. This resource is the central reference for all content creators building a Digital Garden or implementing the Zettelkasten Method.
Basic Typography
Effective typography forms the foundation of digital writing. As explained by 1(Lee et al. 2023), consistent formatting improves readability. Recent studies 2(Garcia & Williams, 2022) show that proper formatting significantly impacts user engagement. As demonstrated in previous research 2, this approach has been validated multiple times.
Modern web development has evolved significantly 3(Zhang et al., 2023). This evolution continues to shape how we build websites 3 and manage content 4(Brown ).
Sidenotes work great with lists to provide additional context for specific items without breaking the list flow 5(Smith & Doe, 2020). Pay attention to this line. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context.
Bold text and italic text are straightforward. You can also have bold italic text and strikethrough a. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context. Sidenotes work great with lists to provide additional context.
Plain text with a sidenote. b
For academic applications of these formatting techniques, see our Academic Writing guide. 6(Johnson, 2019)
Headings
Above was an H2. Here are other levels, crucial for content organization:
H3 Heading
H4 Heading
H5 Heading
H6 Heading
Lists
Lists are essential your Personal Knowledge Base 5. Lists are essential for structuring information in your PKB
Unordered Lists
- Item one
- Item two
- Nested item a
- Nested item b
- Item three
Ordered Lists
- First item
- Second item
- Nested item 1
- Nested item 2
- Third item
Task Lists
- Completed task
- Incomplete task
- Another task
Links and Images
External link and internal link
Code
Inline code is wrapped with backticks. Modern web development practices 3 emphasize the importance of clean, well-documented code. This has been consistently shown in the literature 7(Miller et al. 2022).
# Code block with syntax highlighting
def hello_world():
print("Hello, world!")
Blockquotes and Special Quotes
fThis is a standard blockquote.
It can span multiple lines.
inline code.Tables
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
Horizontal Rule
Advanced Sidenote Usage
According to 4, effective content management requires careful consideration of information architecture. Recent performance studies 7 have shown that proper content organization significantly impacts site performance. These findings align with earlier research 5.
Plain text with a sidenote. g
Complex paragraph with multiple concepts that benefit from sidenotes.h The text continues here with more information that might need explanation.i
Sidenotes with References
Academic-style writing often uses sidenotes for citations.¹j
Math Expressions
This theme supports mathematical expressions using MathJax rendering. Important: Make sure to add math = true to your page’s frontmatter to enable math rendering.
Math Syntax Guidelines
For math to render properly in Hugo:
- Use single dollar signs
$...$for inline math - Use double dollar signs
$$...$$for display (block) math - Use single backslashes
\for LaTeX commands (not double\\) - Line breaks in equations use
\\(double backslashes) - Dollar signs are handled properly when delimiters match between Hugo and MathJax
Inline Math
Inline math is wrapped with single dollar signs:
Inline math integrates seamlessly with your text flow for simple expressions and variables. The syntax is $E = mc^2$ which renders as
Block Math
For standalone equations, use double dollar signs:
Equation Arrays and Alignment
For multiple aligned equations:
Matrices
Complex Notation
The above is Gauss’s divergence theorem, showing volume integrals can be converted to surface integrals. Complex mathematical expressions benefit from sidenotes that explain the concepts without cluttering the formula.
Numbered Equations
Chemical Equations
Chemical equations use standard LaTeX chemistry notation with MathJax:
More chemical equation examples:
Simple reaction:
With states of matter: $$ \mathrm{NaCl_{(s)} + H_2O_{(l)} \rightarrow Na^+{(aq)} + Cl^-{(aq)}} $$
Complex reaction with charges:
Equilibrium reaction:
Chemical equation syntax tips:
- Use
\mathrm{}to wrap chemical formulas for proper formatting \rightarrowfor reactions,\rightleftharpoonsfor equilibrium^+and^-for charges:Na^+,Cl^-_{(s)},_{(l)},_{(g)},_{(aq)}for states of matter- Subscripts use
_:H_2O,2NH_3 - Superscripts use
^:Mn^{2+}
Troubleshooting:
- If math doesn’t render, check that
math = trueis in your frontmatter - Ensure you’re using the correct delimiters (
$for inline,$$for display) - For complex expressions, test in smaller parts first
- Check browser console for MathJax errors
Footnotes
Standard markdown footnotes1 work like this.
HTML in Markdown
Conclusion
This boilerplate demonstrates the range of markdown features and proper sidenote usage 6. For practical applications and performance considerations 7, see our guides on Digital Gardening. As noted in seminal work 6, proper documentation is essential.
Diagrams
This theme supports both Mermaid diagrams and GoAT ASCII diagrams for visualizing complex information.
Mermaid Diagrams
Mermaid diagrams are created using fenced code blocks with the mermaid language identifier. They render dynamically and are perfect for interactive documentation.
Basic Flowchart
Markdown source:
Sequence Diagram
Gantt Chart
Class Diagram
Entity Relationship Diagram
Git Graph
GoAT ASCII Diagrams
GoAT diagrams use ASCII art for simple, text-based visualizations that work well in plain text environments.
System Architecture
Data Flow
Diagram Best Practices
Mermaid Advantages:
- Interactive and clickable elements
- Professional appearance
- Wide variety of diagram types
- Automatic layout and styling
- Good for complex relationships
GoAT Advantages:
- Works in plain text environments
- Fast rendering (server-side)
- Copy-pasteable as ASCII art
- Minimal dependencies
- Good for simple diagrams
Usage Guidelines:
- Use Mermaid for complex, interactive diagrams
- Use GoAT for simple diagrams that need to work everywhere
- Both types export well to PDF
- Keep diagrams focused on one concept
- Add sidenotes to explain complex diagram elements
Diagrams are powerful tools for explaining complex concepts. Choose the right type based on your audience and medium - Mermaid for web-first content, GoAT for documentation that might be viewed as plain text.
Gallery Slider Examples
The theme includes a powerful gallery slider component for showcasing multiple images with navigation controls, thumbnails, and captions.
Basic Gallery
The gallery slider supports both landscape and portrait images, automatically adjusting the layout. Navigation works via arrows, dots, thumbnails, and keyboard controls.
Autoplay Gallery
Autoplay can be enabled with a custom interval. Thumbnails can be hidden for a cleaner look.
Gallery with Custom Options
Gallery Features:
- Navigation: Arrow keys, click arrows, dot indicators, thumbnail clicks
- Autoplay: Optional with customizable intervals
- Responsive: Adapts to different screen sizes
- Keyboard Support: Left/right arrow keys, Escape to close
- Touch Support: Swipe gestures on mobile devices
- Accessibility: Proper ARIA labels and keyboard navigation
The gallery component is fully accessible and works with keyboard navigation. Each image can have individual captions for better context.
}}
l src2="/images/docs/gallery-slider-doc/plums-8932336_1280.jpg" alt2=“Auto slide 2” caption2=“Hover to pause autoplay” src3="/images/docs/gallery-slider-doc/spenser-sembrat-esoj35vCKS8-unsplash.jpg" alt3=“Auto slide 3” caption3=“Click navigation to restart timer”
}}
Autoplay can be enabled with a custom interval. Thumbnails can be hidden for a cleaner look.
This is a footnote content. ↩︎





