New blog posts go into the /src/pages/posts/ directory. Images referenced go in /static/images/.
See the example code below: https://gist.github.com/matthewshan/141e244798c081aaa0d11bf5265affd9
Markdown Cheatsheet: https://www.markdownguide.org/cheat-sheet/
This site was generated by www.stackbit.com, v0.2.80.
Stackbit Fresh Theme original README is located here.
-
Install Node.js and npm
-
Install npm dependencies:
npm install -
get "stackbit-api-key" from project menu in Stackbit dashboard
-
run the following command to assign this key to
STACKBIT_API_KEYenvironment variable:export STACKBIT_API_KEY={stackbit_netlify_api_key} -
run the following command to fetch additional site contents from Stackbit if needed:
npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5dfc2f48102ba9001bbe0894 -
Starts a development server
npm run develop -
Browse to http://localhost:8000/