Using @tryghost/admin-api.
Set up
- Replace http://localhost:2368with your blog URL
- Obtain API key by creating a new integration at http://localhost:2368/ghost/#/settings/integrations
Usage
Using @tryghost/admin-api.
Set up
http://localhost:2368 with your blog URLUsage
This gist is based on @ibrahima's version that doesn't support Next.js.
import Markdown from '@/components/markdown'
function PostBody({ content }) {