Here is an example of a code block that contains a code block:
This is a code block, and below is some code:
```js
var someVar = 'hello'
```
And now this will appear as a code block. (view raw output)
| FROM node:18.12.1-alpine3.16 as nodebuilder | |
| WORKDIR /app | |
| COPY . . | |
| RUN npm i | |
| RUN npm run build | |
| CMD npm i && npm start |
| // NextJS custom server with HTTPS | |
| // Note, you must generate certificates on your own | |
| const express = require('express') | |
| const nextJs = require('next') | |
| const https = require('https') | |
| const fs = require('fs') | |
| const APP_ENV = process.env.APP_ENV || 'development' | |
| const port = parseInt(process.env.PORT, 10) || 3000 |
| # Port 3000 is for manually logging in and using `netlify dev` if you use the CLI for leveraging secrets | |
| # This includes --livereload to refresh the page when there are file changes | |
| # Runs on localhost:4000 | |
| version: "3.8" | |
| services: | |
| dev: | |
| image: jekyll/jekyll:4 | |
| ports: | |
| - 4000:4000 |
Here is an example of a code block that contains a code block:
This is a code block, and below is some code:
```js
var someVar = 'hello'
```
And now this will appear as a code block. (view raw output)
| # Global .gitignore for all git projects | |
| [core] | |
| excludesFile = ~/.gitignore | |
| # Project-specific Settings | |
| [includeIf "gitdir:~/repos/projectgroup/"] | |
| path = ~/.gitconfig-projectgroup |
I hereby claim:
To claim this, I am signing this object: