Get started Pricing

Note Structure

The core note structure.

path: string
The path (not including domain e.g. blog/cats/tabby)

title: string
Title of the page

content: string
The raw markdown text (unless HTML is requested with format=html)

description: string
Description for the page metadata

imgUrl: string
Image url if one has been previously supplied / generated

dateModified: date
In yyyy-mm-dd format

author: string
The author's name (can be a nom de plume)

index: number
Optional: the index of the note within it's folder if manual ordering is being used

data: Object
Optional: metadata you wish store alongside the note

Examples

var note = await pn.get("iphone-12-pro-repairs-london");

{
  "_id":"686f729fd6eecf4e91b37851",
  "path":"iphone-12-pro-repairs-london",
  "title":"On demand iPhone 12 Pro repairs",
  "description":"Fast, professional iPhone 12 Pro repairs across London.",
  "imgUrl":"https://...",
  "created":1752134303405,
  "modified":1752134303405,
  "author":"Billy",
  "data":{"manufacturerID":"1","deviceID":"145","city":"london"},
  "index": 0,
  "content":"<p>...</p>\n"
}

Developers Blog T&Cs Privacy