Skip to content

tgdwyer/tgdwyer.github.io

Repository files navigation

tgdwyer.github.io

Jekyll source for my notes on Programming Paradigms

To build offline, install Jekyll, then:

bundle exec jekyll serve

Contributing

We use pre-commit to ensure quality and consistency of the markdown. To contribute, please follow these steps:

  1. Install pre-commit:

    pip install pre-commit
  2. Install the pre-commit hooks:

    pre-commit install

After this, the pre-commit hooks will run automatically on each commit to check for spelling and linting.

Adding Solutions

If you want to add solutions to your markdown files in this Jekyll site, follow these steps:

1. Format Your Solutions Section

Ensure that your solutions are marked with a heading that is only the word "Solutions" This can be at any heading level (e.g., ### Solutions, #### Solutions). For example:

### Solutions

Your solution content goes here...

```javascript
const exampleFunction = () => {
  console.log("This is an example solution");
};

## Rest of Document

Do not include any subheadings in solutions. The wrap_solution plugin, will automatically process this and hide solutions by default, and will be toggleable on any relevant page.