| title | My first post published from GitHub |
|---|---|
| subtitle | An example subtitle |
| slug | my-first-post-published-from-github |
| tags | general-programming, developer-blogging |
| saveAsDraft | true |
This post lives as a markdown file in a GitHub repository. Pushing it to the main branch published it to Hashnode.
Edit this file and push again, and the post updates in place. The slug in the frontmatter is how the two stay linked, so pick one and keep it.
The saveAsDraft: true line above means this example lands as a draft, not a public post. Remove it when you write something real.
Reference images with a relative path and they get uploaded to the Hashnode CDN automatically:
Absolute URLs work too and pass through untouched.