/explain-programming

🥢 Collection of commands for programming languages, tools and coding concepts

Primary LanguageJavaScriptMIT LicenseMIT

Explain Programming

Explain programming

Netlify Status

Currently the site is available here.

Run

  1. Install dependencies

    yarn
  2. Run development server

    yarn start
  3. Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

Syntax for code blocks in Markdown

  1. Bash

    • Use bash or bash-output.
    • This will lead to a special code-block design.
  2. Title

    Set a file title with js:title=server.js.

  3. Line highlighting

    • Use js {3} or js {3-5} to highlight one or several lines
    • Use js {3-4,6} to highlight different areas where empty lines are in-between. Note that there is no space after the comma!

Article meta data

Each article contains the following meta data at the top:

---
title: <string> The blog title
date: <string> Date at which writing of this article began, e.g. '1999-01-01'
datePublished: <string> Date at which article got published
author: <string>
description: <string> Used as preview text in list
category: <string> See available categories in `src/constants/Category.js`
tags: <Array<string>> See available tags in `src/constants/Tag.js`
draft: <boolean> Whether to display in `blog` page in __DEV__ mode
ready: <boolean> Release candidate - article ready to be released
published: <boolean> Whether article got published
---

Almost ready for a blog post

Collect files which could be relatively easily be edited to become a good quality blog article

TODO

  • Add RSS feed. See https://www.gatsbyjs.com/plugins/gatsby-plugin-feed/

  • Consolidate style

    • Move styles to Chakra UI theme and define all styles there!
      • blockquote style from node_modules/typography-theme-fairy-gates/dist/index.js
      • Replace all main ... global styles