This post demonstrates all the enhanced blog features. Use the text arrangement toggle in the header to customize your reading experience with different fonts, text sizes, line heights, and content widths.
Callout Cards
Use callout cards to highlight important information, warnings, tips, and more.
This is an informational callout. Use it to provide additional context or details that readers might find helpful.
Use keyboard shortcuts to navigate faster! Press Ctrl + K to open the command palette.
Be careful when modifying configuration files. Always backup your data before making changes.
Never share your API keys or passwords in public repositories. This can lead to security breaches.
You’ve successfully completed the setup process. Your application is now ready to use.
This feature is available in version 2.0 and above. Check your version before proceeding.
Mathematical Equations with KaTeX
One of the most powerful features is full LaTeX math support [1] . You can write inline math like or the quadratic formula directly in your text.
For more complex equations, use display mode:
Here’s the famous Euler’s identity:
And a matrix example:
Calculus Example
The derivative of a function using the limit definition:
Interactive Concept Checks
Test your understanding with interactive questions. Click on the answer area to reveal the solution!
What is the time complexity of binary search?
O(log n) - The search space is halved with each iteration, leading to logarithmic time complexity [2] . For an array of 1 million elements, binary search needs at most 20 comparisons.
What does the Big O notation O(n) mean?
Linear time complexity - The algorithm’s running time grows linearly with the input size. If you double the input, the time roughly doubles as well.
In the equation , what is the discriminant? The discriminant is . It determines the nature of the roots:
- If : Two distinct real roots
- If : One repeated real root
- If : Two complex conjugate roots
Video Embeds
Easily embed YouTube and Vimeo videos with privacy-enhanced URLs:
YouTube Video
Vimeo Video
Single Image
You can also display a single image with a caption:

Photo Gallery
Display images in a beautiful grid with lightbox support. Click any image to view it in fullscreen!
Three Column Gallery
Two Column Gallery
Typography and Text Formatting
The enhanced blog layout includes improved typography with proper heading hierarchy and spacing.
Code Blocks
function binarySearch(arr, target) {
let left = 0;
let right = arr.length - 1;
while (left <= right) {
const mid = Math.floor((left + right) / 2);
if (arr[mid] === target) {
return mid;
} else if (arr[mid] < target) {
left = mid + 1;
} else {
right = mid - 1;
}
}
return -1;
}
Blockquotes
The only way to do great work is to love what you do. If you haven’t found it yet, keep looking. Don’t settle.
— Steve Jobs
Lists
Unordered list:
- First item with some additional text to show wrapping
- Second item
- Third item with bold and italic text
Ordered list:
- First step in the process
- Second step with more details
- Third step to complete the task
Table of Contents
Notice the floating table of contents on the left side (on desktop). It highlights the current section as you scroll and allows quick navigation to any heading.
On mobile devices, you’ll find a collapsible TOC dropdown at the top of the article.
Reading Preferences
Click the text icon (Aa) in the header to customize:
- Font: Switch between Sans-serif and Serif fonts
- Line Height: Choose Compact, Normal, or Relaxed spacing
- Width: Select Narrow, Normal, or Wide content width
Your preferences are saved and will persist across sessions!
Conclusion
This enhanced blog layout provides a modern, feature-rich reading experience with:
- Full KaTeX/LaTeX math support
- Interactive concept check components
- Video embeds for YouTube and Vimeo
- Photo galleries with lightbox
- Floating table of contents
- Customizable text arrangement
- Improved typography and spacing
All features work seamlessly across light, dark, and paper themes.
Citations and References
You can add citations to your text using the Cite component [3] . Each citation links to the corresponding reference at the bottom of the page.
References
- (1984) The TeXbook Addison-Wesley ↩
- (2009) Introduction to Algorithms MIT Press ↩
- (2004) Markdown: Syntax ↩
(0)