cover
icon

Render Notion Page in your Website, All Notion Blocks Supported

summary

NoNex supports all Notion blocks, ensuring precise content mirroring on your webpage.

categories
NoNex
published date
last edited time
thumbnail

Rich Text Formatting

Bold, Italicize, Underline, Link, code , break, s p a c i ng,

empty block, ( only for normal text, not for Headings )

bg code

underline Code

normal code

strike through code

text colors : Default, Gray, Brown, Orange, Yellow, Green, Blue, Purple, Pink, Red.

blue

blue_background

brown

brown_background

default

gray

gray_background

green

green_background

orange

orange_background

pink

pink_background

purple

purple_background

red

red_background

yellow

yellow_background


Basic Blocks

Text

Plain Text hi there

Color Paragraph

Background Paragraph

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Perferendis voluptatum maiores molestiae labore sed ratione, aspernatur quo deleniti quia, blanditiis suscipit odio autem reprehenderit nemo consectetur saepe ab molestias consequatur doloribus. Itaque cum aperiam assumenda provident, alias dignissimos accusamus fuga suscipit iusto officia et repudiandae asperiores possimus praesentium modi quaerat fugit quia facilis natus id architecto. Dolor sed a unde eos delectus voluptas ipsum atque dicta qui laborum. Cupiditate eaque, esse numquam officia libero impedit quisquam voluptate quaerat quod minus dolore, iste, illo commodi. Est doloremque officia eius animi facere? Reprehenderit dolor doloribus aspernatur vel assumenda blanditiis iusto eaque laudantium.


To-do list

Done

Do this

Color Todo

Background Todo

Rich text Todo : Bold, Italicize, Underline, Link, code , break, s p a c i ng,

Parent Todo

Child Todo

its child


Heading 1

Color Heading 1

Background Heading 1

Bold, Italicize, Underline, Link, code , break, s p a c i ng,

bg code underline Code normal code strike through code


Heading 2

Color Heading 2

Background Heading 2

bg code underline Code normal code strike through code


Heading 3

Color Heading 3

Background Heading 3

bg code underline Code normal code strike through code


Table

12
34
56

Table with Row & Column Header

RowHeader
Column
Header
OverFlowingTable
Large Text laksdjf aldjgg aljglakjalfdsj al djkd

List

  • one
  • two
  • Background List
  • Color List
  • Rich text List : Bold, Italicize, Underline, Link, code , break, s p a c i ng,
  • Parent List
  • Child List
  • its child

child

toggle

a


Toggle

Add Any Block Inside the Toggle

Toggle me

Hi there

Toggle without children

Color Toggle

Hi layman term

Background Toggle

hello world

You can add any block in Toggle

Hi

tick

  • ss

Inside you will find another Toggle

mind blowing

Chid Toggle

HI

Heading 1 Toggle

fell free to contact me

heading1

Heading 2 Toggle g 2 s

child

Heading 3 Toggle hi

sdfa


Quote

Quote of the day

Colored Quote

Background Quote

Rich text Quote Lorem ipsum dolor sit, amet consectetur adipisicing elit. Perferendis voluptatum maiores molestiae labore sed ratione, aspernatur quo deleniti quia, blanditiis suscipit odio autem reprehenderit nemo consectetur saepe ab molestias consequatur doloribus. Itaque cum aperiam assumenda provident, alias dignissimos accusamus fuga

Parent

Chiild quote

childs

its child

You can add any block in the child



Divider




Callout

*you can choice any icon for callout like Emojis, Notion Icon, Custom Uploaded Icons

💡

Callout

🎨

Color Callout

icon

Background Callout

🥹

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Perferendis voluptatum maiores molestiae labore sed ratione, aspernatur quo deleniti quia, blanditiis suscipit odio autem reprehenderit nemo consectetur saepe ab molestias consequatur doloribus. Itaque cum aperiam assumenda provident, alias dignissimos accusamus fuga

icon

parent

⬜

child

child

it’s child

Callout Background different in Dark theme

Callout Background

*callout have different background on dark theme

default

🇰🇷

default

gray

🇰🇷

gray

brown normal

🇰🇷

brown

orange

🇰🇷

orange

yellow

🇰🇷

yellow

Green

🇰🇷

greeen

blue

🇰🇷

blue

purple

🇰🇷

purple

pink

🇰🇷

pink

red

🚧

red

callout colors

default

🌠

default

gray

🇰🇷

gray

brown normal

🇰🇷

brown

orange

🇰🇷

orange

yellow

🇰🇷

yellow

Green

🇰🇷

greeen

blue

🇰🇷

blue

purple

🇰🇷

purple

pink

🇰🇷

pink

red

🇰🇷

red


Column

*you can add any block in this columns

First Column

Second Column

First Column

Second Column

Third Column

First Column

Second Column

Third Column

Fourth Column

Fifth Column

First Column

Second Column

Third Column

Fourth Column


Child Support for blocks

done

Parent Todo

Child Todo

its child d

  • Parent List
  • Child List
  • its child
  • now it’s child

child

toggle

a

  • number
  • cls
  • asd

child

Inside you will find another Toggle

mind blowing

Child Toggle

HI

Parent

Child quote

child

its child

You can add any block in the child


icon

parent

🫥

child

child

it’s child

hi


Images

image
image from unsplash
image from giphy
image from giphy
Cloudinary Image
Cloudinary Image
Image
Image
Image
image from pexels
image from pexels
image from pixabay
image from pixabay
image from stocksnap io
image from stocksnap io
svg from svgrepo.com
svg from svgrepo.com

svg from svgrepo.com
svg from svgrepo.com

You can add and render images from Unsplash, Giphy, Cloudinary URLs, Pexels, Pixabay, StockSnap, and SvgRepo.

Note: Avoid adding images or icons directly uploaded from your device to Notion, as these images have a timeout and expire after a few days. Consequently, you won't be able to see the images on your website after this period. It's preferable to use the mentioned solutions instead.


Video

📸

youtube video block supported

can’t understand the language but the melody is very good

Code

Java:

java

Copy

javaCopy code
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

JavaScript:

javascript

Copy

javascriptCopy code
console.log("Hello, World!");

JSON:

json

Copy

jsonCopy code
{
  "name": "John",
  "age": 30,
  "city": "New York"
}

Markdown:

markdown

Copy

markdownCopy code
# Heading 1
## Heading 2
### Heading 3

- List item 1
- List item 2

**Bold Text**

*Italic Text*

PowerShell:

powershell

Copy

powershellCopy code
Write-Host "Hello, World!"

Python:

python

Copy

pythonCopy code
print("Hello, World!")

TypeScript:

typescript

Copy

typescriptCopy code
console.log("Hello, World!");

CSS:

css

Copy

cssCopy code
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  color: #333;
}

JavaScript:

javascript

Copy

javascriptCopy code
function greet() {
  console.log("Hello, World!");
}

greet();

Ruby:

ruby

Copy

rubyCopy code
puts "Hello, World!"

Sass:

sass

Copy

sassCopy code
$font-stack:    Helvetica, sans-serif
$primary-color: #333

body
  font: 100% $font-stack
  color: $primary-color

SCSS:

scss

Copy

scssCopy code
$font-stack:    Helvetica, sans-serif;
$primary-color: #333;

body {
  font: 100% $font-stack;
  color: $primary-color;
}

Scheme:

scheme

Copy

schemeCopy code
(define (hello)
  (display "Hello, World!")
  (newline))

(hello)

SQL:

sql

Copy

sqlCopy code
SELECT * FROM users WHERE country = 'USA';

YAML:

yaml

Copy

yamlCopy code
name: John Doe
age: 30
city: New York

XML:

xml

Copy

xmlCopy code
<note>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
html

Copy

<svg
  xmlns="http://www.w3.org/2000/svg"
  width={14}
  height={14}
  fill="none"
  viewBox="0 0 24 24"
>
  <path
    stroke="currentColor"
    strokeLinecap="round"
    strokeLinejoin="round"
    strokeWidth={2}
    d="M8 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M8 5v0a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v0M8 5v0a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v0"
  />
</svg>
add any caption

Table of content

Colored table of content

Background table of content

Web Bookmark


My Journey Building NoNex

🌃

When I first considered using Notion as my database a few months ago, I looked it up on Google and asked ChatGPT. I felt disappointed because it seemed like I couldn't use Notion as a database. However, after a lot of searching, I discovered a GitHub repository where someone had used Notion as a database for their blog website. I downloaded it and tried to use it on my desktop, but it failed because the code was too old, from 2-3 years ago, and was written too complexly.

Later, I found some Notion rendering packages on the npm website. I attempted to use them, but they were too complicated to work with, and I couldn't customize the blocks according to my preferences. So, I made the decision to develop my own Notion renderer and create a blog website with it.

This Notion renderer code is very well-written and focused on performance. All blocks are rendered on the server-side, statically generated, and built with Next.js, CSS3, and Tailwind CSS. It only uses the notionhq/client official Notion API to get your notion page or database content.

😉

I'm so happy that I was able to build something this good. I had a lot of fun building it and learned many things in the process.