Skip to content

Instantly share code, notes, and snippets.

@eduwass
Last active December 24, 2024 18:43
Show Gist options
  • Save eduwass/3c81f95a03e06b86e93fa9c1d4efde24 to your computer and use it in GitHub Desktop.
Save eduwass/3c81f95a03e06b86e93fa9c1d4efde24 to your computer and use it in GitHub Desktop.
markdown_test

Markdown Test File

This file demonstrates various Markdown features and syntax.

Badges and Images

ChatGPT Dependabot GitHub Copilot

GitHub Logo GitHub Logo

Local image: Local Image

Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Footnotes

Here's a sentence with a footnote1.

And another footnote2 in the text.

Tables

Header 1 Header 2 Header 3
Cell 1 Cell 2 Cell 3
Row 2 Data More

Aligned Table:

Left Center Right
Left Center Right
aligned aligned aligned

Links

External Link Internal Link Link with Title

Lists (To Be Implemented)

Unordered List:

  • Item 1
  • Item 2
    • Nested Item 2.1
    • Nested Item 2.2
  • Item 3

Ordered List:

  1. First Item
  2. Second Item
    1. Nested Item 2.1
    2. Nested Item 2.2
  3. Third Item

Blockquotes (To Be Implemented)

This is a blockquote It can span multiple lines

It can have multiple paragraphs

And nested blockquotes

Code (To Be Implemented)

Inline code: const example = "hello world";

Code block:

function greeting(name) {
return Hello, ${name}!;
}

Horizontal Rules (To Be Implemented)




Inline HTML (To Be Implemented)

This is some blue text using inline HTML.

Strikethrough (To Be Implemented)

This text is struck through

Emoji (To Be Implemented)

😄 ❤️ 👍

LaTeX (To Be Implemented)

Inline equation: $E = mc^2$

Block equation:

$$ \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$

Mermaid Diagrams (To Be Implemented)

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
Loading

Example

Note

Highlights information that users should take into account, even when skimming.

Tip

Optional information to help a user be more successful.

Important

Crucial information necessary for users to succeed.

Warning

Critical content demanding immediate user attention due to potential risks.

Caution

Negative potential consequences of an action.

var i;
var fib = [0, 1]; // Initialize array!

for (i = 2; i <= 10; i++) {
  // Next fibonacci number = previous + one before previous
  // Translated to JavaScript:
  fib[i] = fib[i - 2] + fib[i - 1];
  console.log(fib[i]);
}

Footnotes

  1. This is the footnote content.

  2. Footnotes can have multiple lines and even indented content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment