- Fork the repository
- Clone your fork
- Verify that you are running Node version 10 (NVM reccomended for managing node versions)
- Install gatsby globally
npm install -g gatsby-cli
- Install dependencies with
npm install
- Start the application with
npm start
This repository uses markdown lint to enforce a few rules that are based on the repository. Those rules are:
"markdownlint.config": {
"default": true,
"MD003": {
"style": "atx" //atx is the current style used in the document
},
"MD004": {
"style": "dash" //I use dashes as that is what github defaults to with unordered lists
},
"MD007": {
"indent": 4 //again, completely subjective to use 4 spaces as indentation for unordered sublists
},
"MD013": false, //turns off max number of characters on a line and can be configured more
"MD033": false, //turns off the use of inline HTML
"MD035": {
"style": "---" //style to use for horizontal rules
},
"MD041": false, //turns off rule about first line in file needing to be a top-level header
"MD049": { //only followed for controversial branch
"style":"asterisk"
},
"MD050": { //only followed for controversial branch
"style":"asterisk"
}
},
Also, if you need to replace html tags with their corresponding markdown, you can use the regular expression portion in vscode to replace tags with other elements.
For example, here is one such regular expression that you can use
<i>([A-Za-z0-9 .,'":;!?=>|&/\-\\_\(\)\+\{\}\[\]]+)</i>
and then replace it with
`$1`
You can also use \*
for stars instead there
- Prettyfy your code with
npm run format
- Create a new branch for your changes
- Create the PR from that branch to the master branch