Skip to main content

Testing Editor

Updated 2 min readMarkdown

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This is a paragraph with bold text, italic text, bold italic, strikethrough, inline code, and a link.

You can also use underscores for bold and combine code with bold.


Blockquotes

A single-line blockquote.

A multi-line blockquote. It continues across lines.

And it can be nested.


Lists

Unordered

  • First item

  • Second item

    • Nested item

    • Another nested item

      • Deeply nested
  • Third item

Ordered

  1. First step

  2. Second step

    1. Sub-step a

    2. Sub-step b

  3. Third step

Task list

  • [x] Completed task

  • [ ] Pending task

  • [ ] Another pending task


Code

Inline: use const x = 42 anywhere.

// Fenced code block with language
function greet(name) {
  return `Hello, ${name}!`;
}
console.log(greet("world"));
def fibonacci(n):
    a, b = 0, 1
    for _ in range(n):
        a, b = b, a + b
    return a
Plain code block, no language.

Tables

Feature Free Pro
Custom domain ❌ ✅
GraphQL API ❌ ✅
Blogs 1 up to 10

Images

Standard image Left aligned Center aligned Right aligned

A normal inline link, an autolink https://example.com, and a link with title.


Horizontal rules

Above.


Below.


Math (LaTeX)

Inline math: \(E = mc^2\) and \(a^2 + b^2 = c^2\).

Block math:

$$\int_{0}^{\infty} e^{-x^2} , dx = \frac{\sqrt{\pi}}{2}$$


Hashnode-specific syntax

A user mention: Sandeep

An embed (YouTube, Tweet, Gist, CodePen, etc.):

https://www.youtube.com/watch?v=dQw4w9WgXcQ

A custom widget pinned in the editor:


Mixed edge cases

A widget and an embed on the same line:

then %[https://github.com/explore\].

Text with HTML entities: &, <, >, and a literal percent: 100% done.

Emoji: 🚀 ✅ 🎉

Footnote-style reference and the end.

10 views

About the author

  • Full-Stack Developer @ Bug0 | Node.js, Next.js, JavaScript, TypeScript | Ex-Wipro, DXC, Majesco/Mastek | ex-Java, ex-Spring