Hello World
Testing Svelte and MDsveX setup
Introduction
Welcome to this very first sample post! The purpose of this document is to test out the basic Markdown rendering capabilities of our new MDsveX setup with SvelteKit. We’ll explore a few common Markdown elements and see how they appear.
This blog will eventually be full of amazing content, but for now, let’s ensure the plumbing works!
Core Technologies
We are leveraging some fantastic tools here:
- SvelteKit: For the overall application structure, routing, and server-side capabilities.
- MDsveX: To allow writing content in Markdown while seamlessly integrating Svelte components.
- Shiki: For beautiful syntax highlighting in our code blocks.
- : To render mathematical notations.
Plugin Power!
🚀 Cool New Features
This blog showcases some sick modern styling:
- Gradient headings with cyan highlights
- Glassmorphism effects and backdrop blur
- Hover animations that actually feel good
- Tech badges like the homepage
Tech Stack Badges
SvelteKit MDsveX TypeScript Shiki KaTeX CSS GridMarkdown Features Test
Let’s try out a few things.
Code Blocks
Here’s a simple JavaScript snippet that should be highlighted by Shiki:
function greet(name) {
console.log('Hello, ' + name + '! Welcome to the MDsveX world.');
}
greet('Developer');
Lists
Unordered Lists:
- Unordered item 1
- Nested item A
- Nested item B
- Unordered item 2
Ordered Lists:
- Ordered item 1
- Nested ordered item i
- Nested ordered item ii
- Ordered item 2
Blockquotes
This is a blockquote. It should stand out from the regular text and provide some emphasis or citation. It can span multiple lines.
Math Equations
Let’s test an inline equation like ax^2 + bx + c = 0
. And a block equation:
Conclusion This post serves as a basic test. If you’re seeing this rendered correctly, with a table of contents, syntax highlighting, and styled elements, then things are looking good!
The next step will be to create a more comprehensive showcase post that dives deeper into all the features.
Happy Coding!