← Back to blog

Advanced Markdown Features Demo

January 20, 2024
3 min read
MarkdownDemoFeatures

Advanced Markdown Features#

Your blog now supports advanced markdown rendering! This post demonstrates all the new features.

Code Blocks with Syntax Highlighting#

Here's a JavaScript code example:

```javascript function greetUser(name) { console.log(`Hello, ${name}! Welcome to my blog.`); return true; }

greetUser('Developer'); ```

And here's some Python:

```python def fibonacci(n): if n <= 1: return n return fibonacci(n-1) + fibonacci(n-2)

print(fibonacci(10)) ```

Tables#

You can now create beautiful tables:

FeatureStatusDescription
Syntax Highlighting✅ EnabledCode blocks with Prism.js
GitHub Flavoured Markdown✅ EnabledTables, task lists, and more
Custom Styling✅ EnabledDark mode support

Task Lists#

  • Write the blog post
  • Add code examples
  • Share on social media
  • Get feedback from readers

You can create regular links and bold text or italic text.

Blockquotes are perfect for highlighting important information or quotes from other sources.

Lists#

Unordered lists:

  • First item
  • Second item
  • Third item
    • Nested item
    • Another nested item

Ordered lists:

  1. Step one
  2. Step two
  3. Step three

Inline Code#

Use console.log() for debugging, or const to declare variables in JavaScript.

Headings#

Subheading Level 3#

This is great for organizing your content.

Even deeper headings#

You can go up to 6 levels deep!

目录

正在生成目录...