January 15, 2024
🪄Spotlight📦Use Case🔭Industry Insight
Artificial IntelligenceCloud

Comprehensive Markdown Sample Post to demonstrate elements


Heading Level 1

This is a paragraph with bold text, italic text, and inline code. You can also combine them: bold and italic or bold with code.

Heading Level 2

Here's a paragraph with a link to Google and an internal link.

Heading Level 3

This paragraph contains strikethrough text and some highlighted text.

Heading Level 4

Heading Level 5
Heading Level 6

Lists

Unordered List

  • First item
  • Second item
    • Nested item 1
    • Nested item 2
      • Deeply nested item
  • Third item

Ordered List

  1. First numbered item
  2. Second numbered item
    1. Nested numbered item
    2. Another nested item
  3. Third numbered item

Task List

  • Completed task
  • Another completed task
  • Incomplete task
  • Another incomplete task

Code Blocks

JavaScript

javascript
function greet(name) {  return `Hello, ${name}!`;}const message = greet('World');console.log(message);

Python

python
def fibonacci(n):    if n <= 1:        return n    return fibonacci(n-1) + fibonacci(n-2)for i in range(10):    print(fibonacci(i))

TypeScript

typescript
interface User {  id: number;  name: string;  email: string;}const users: User[] = [  { id: 1, name: 'John', email: 'john@example.com' },  { id: 2, name: 'Jane', email: 'jane@example.com' },];

Bash

bash
#!/bin/bashecho "Hello, World!"cd /path/to/directoryls -la

JSON

json
{  "name": "Sample Post",  "version": "1.0.0",  "dependencies": {    "react": "^18.0.0",    "next": "^13.0.0"  }}

Blockquotes

This is a blockquote. It can contain multiple paragraphs.

Here's the second paragraph in the blockquote.

Blockquote with heading

This blockquote contains a heading and multiple paragraphs.

  • It can also contain lists
  • Like this one

Tables

Column 1Column 2Column 3
Cell 1Cell 2Cell 3
Cell 4Cell 5Cell 6
Cell 7Cell 8Cell 9

Table with Alignment

Left AlignedCenter AlignedRight Aligned
LeftCenterRight
Data 1Data 2Data 3
More dataEven moreFinal data

Images

Alt text for image

Here's an image with a link:

Linked Image


Horizontal Rules

Above this line.


Below this line.


Emphasis and Formatting

  • Bold text
  • Italic text
  • Bold and italic
  • Inline code
  • Strikethrough
  • Highlighted text
  • Subscript
  • Superscript


Escaped Characters

Here are some escaped characters: *not italic*, `not code`, #not heading


HTML Elements

You can also use raw HTML in markdown:

This is a custom HTML block with styling.

  • Item 1
  • Item 2

Math (if supported)

Inline math: $E = mc^2$

Block math: $$ \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi} $$


Definition Lists

Term 1 : Definition 1

Term 2 : Definition 2a : Definition 2b


Footnotes

Here's a sentence with a footnote1.

Another sentence with another footnote2.


Abbreviations

The HTML specification is maintained by the W3C.

*[HTML]: HyperText Markup Language *[W3C]: World Wide Web Consortium


Conclusion

This markdown file demonstrates all the major markdown elements including:

  • Headings (H1-H6)
  • Paragraphs with various formatting
  • Lists (ordered, unordered, nested, task lists)
  • Code blocks in multiple languages
  • Inline code
  • Blockquotes
  • Tables
  • Images
  • Links (various types)
  • Horizontal rules
  • Emphasis (bold, italic, strikethrough)
  • HTML elements
  • And more!

Footnotes

Footnotes

  1. This is the first footnote.

  2. This is a named footnote.