TL;DR: A brief synopsis that includes link to a github repo.

Basic Markdown


![Image alt text](image path)

Center an image:


SEO/Accessibility friendly description of the image

### Link

Link text ```

Note: Sometimes it's necessary to use HTML markup for links if the hyperlink contains a closing parentheses.

<a href="">Link text</a>

Blockquote (Quote)

> _"Sample quote from someone cool."_ —Someone Cool

Blockquote (Note)

> **Note:** Blockquote note text

Code Syntax Highlighting


Note: It's necessary to use curly brace tags instead of backticks when code samples mess up the Jekyll blog engine formatting:


{{use raw tag when curly braces are present}}

<link rel="stylesheet" src="or when external stylesheets are called, such as CDN Bootstrap">

### JavaScript

js ```





$ bash


- removed
+ added



This article is outdated. Some kind of warning about this article being out of date.

## Special Characters and Snippets

### Characters

* Em dash: `—` (don't use hyphens for this) - Mac shortcut: `Shift`+`Option/Alt`+`-`
* En dash: `–` (don't use hyphens for this) - Mac shortcut: `Option/Alt`+`-`
* Lambda: `λ`

### Within-article Target Links

HTML is required with a `target="_self"` because the blog programming will automatically open _all_ links in a new window unless this is specified. Markdown anchor links do not work.

Link to Target


### Tweet Quote

"Max tweet character length is 255."


Copy-Paste Auth0 Login Setup for SPAs

Important Note: Make sure this is updated to reflect the appropriate application type, allowed callback settings, and API identifier when pasting into a post.

Auth0 login screen

Sign Up for Auth0

You'll need an Auth0 account to manage authentication. You can sign up for a free Auth0 account here. Next, set up an Auth0 Client and API so Auth0 can interface with your app and API.

Set Up an Application

  1. Go to your Auth0 Dashboard and click the "create a new application" button.
  2. Name your new app, select "Single Page Web Applications," and click the "Create" button.
  3. In the Settings for your new Auth0 app, add http://localhost:[PORT]/callback to the Allowed Callback URLs.
  4. Add http://localhost:[PORT] to the Allowed Logout URLs.
  5. Click the "Save Changes" button.
  6. If you'd like, you can set up some social connections. You can then enable them for your app in the Application options under the Connections tab. The example shown in the screenshot above utilizes username/password database, Facebook, Google, and Twitter.

Note: Under the OAuth tab of Advanced Settings (at the bottom of the Settings section) you should see that the JsonWebToken Signature Algorithm is set to RS256. This is the default for new applications. If it is set to HS256, please change it to RS256. You can read more about RS256 vs. HS256 JWT signing algorithms here.

Set Up an API

  1. Go to APIs in your dashboard and click on the "Create API" button.
  2. Enter a name for the API. Set the Identifier to your API's URL. In this example, this is http://localhost:[PORT]/api/. The Signing Algorithm should be RS256.