| title | date | icon | background | tags | categories | intro | |||
|---|---|---|---|---|---|---|---|---|---|
QuickRef |
2020-11-25 10:28:43 -0800 |
icon-style |
bg-emerald-600 |
|
|
This is a reference of styles that you can use on quickref cheatsheets! |
| - | - |
|---|---|
.cols-1 |
one column (default) |
.cols-2 |
|
.cols-3 |
three column |
| ... | |
.cols-11 |
|
.cols-12 |
See: H2 section
| - | - |
|---|---|
.primary |
Primary section |
.secondary |
Secondary section |
| - | - |
|---|---|
.col-span-1 |
|
| ... | |
.col-span-12 |
| - | - |
|---|---|
.row-span-1 |
|
| ... | |
.row-span-12 |
|
See: H3 section
| - | - |
|---|---|
.bold-first |
Bold first column |
.plus-first |
Plus first column |
.show-header |
Show headers |
.left-text |
Align the last column left |
.no-wrap |
Don't wrap text |
.shortcuts |
Shortcut keys style |
See: Tables
| - | - |
|---|---|
.style-none |
No marker |
.style-round |
Round style |
.style-timeline |
Timeline style |
| - | - |
|---|---|
.cols-1 |
one column (default) |
.cols-2 |
|
.cols-3 |
three column |
| ... | |
.cols-11 |
|
.cols-12 |
See: Lists
| - | - |
|---|---|
.wrap |
Enables line-wrapping |
See: Code
| - | - |
|---|---|
.link-arrow |
Pretty links with arrows |
See: Paragraphs
| - | - |
|---|---|
.hidden |
Hide an element |
H2 section {.cols-3}
----------
### H3 section {.col-span-2}
### primary section {.primary}
[Home](/) {.link-arrow}
QuickRefs uses markdown-it-attrs, and supports adding classes via its syntax.
here.is(() => {
some.code()
})here.is.some.more()Code blocks can be placed one after the other.
See: Cheatsheets
here.is(() => {
some.code()
})here.is.some.more()Code blocks can have headings.
<script>(function(d,s){if(window.Promise&&[].includes&&Object.assign&&window.Map)return;var js,sc=d.getElementsByTagName(s)[0];js=d.createElement(s);js.src='https://cdn.polyfill.io/v2/polyfill.min.js';sc.parentNode.insertBefore(js, sc);}(document,'script'))</script>Add {.wrap} to wrap long lines.
function createNode(nodeName: string, options: { key: string }) {
return true
}Long lines will have scrollbars.
The text that appears in the header
This is a basic section with paragraphs in it. When paragraphs are the first elements in an H3 section's body, they appear as white.
...
A gray background
···
When paragraphs appear after pre/table/ul, they appear with a gray background.
Add {.link-arrow} to make big loud external links:
···
···
···
Home {.link-arrow}
| Example | Output |
|---|---|
%m/%d/%Y |
06/05/2013 |
%A, %B %e, %Y |
Sunday, June 5, 2013 |
%b %e %a |
Jun 5 Sun |
| Example | Output |
|---|---|
%H:%M |
23:05 |
%I:%M %p |
11:05 PM |
A basic table with heading level 4.
| - | - |
|---|---|
V |
Vector |
P |
Pencil |
T |
Text |
L |
Line |
R |
Rectangle |
O |
Oval |
U |
Rounded |
| {.shortcuts} |
Add {.shortcuts} to tables.
| Prefix | Example | What |
|---|---|---|
// |
//hr[@class='edge'] |
Anywhere |
./ |
./a |
Relative |
/ |
/html/body/div |
Root |
| {.show-header} |
Add {.show-header} to add headers.
| Stage | Direct Products | ATP Yields |
|---|---|---|
| Glycolysis | 2 ATP | |
| ^^ | 2 NADH | 3--5 ATP |
| Pyruvaye oxidation | 2 NADH | 5 ATP |
| Citric acid cycle | 2 ATP | |
| ^^ | 6 NADH | 15 ATP |
| ^^ | 2 FADH2 | 3 ATP |
| 30--32 ATP | ||
| {.show-header} |
| Stage | Direct Products | ATP Yields |
|--------------------|-----------------|------------|
| Glycolysis | 2 ATP | |
| ^^ | 2 NADH | 3--5 ATP |
| Pyruvaye oxidation | 2 NADH | 5 ATP |
| Citric acid cycle | 2 ATP | |
| ^^ | 6 NADH | 15 ATP |
| ^^ | 2 FADH2 | 3 ATP |
| **30--32** ATP | | |
{.show-header}
QuickRef uses markdown-it-multimd-table to render the table, See:markdown-it-multimd-table
- Item 1
- Item 2
- Item 3
- Item 1
- Item 2
- Item 3
- Item 4
- Item 5
- Item 6
- Item 7
- Item 8
- Item 9 {.cols-4}
-
$ git branch -m <new_name>
-
$ git push origin -u <new_name>
-
$ git push origin --delete <old>
{.style-timeline}
- Item 1
- Item 2
- Item 3
- Item 4
- Item 5
- Item 6 {.cols-2 .style-none}
- Item 1
- Item 2
- Item 3 {.style-round}
···
···
···
···
···
···
···
···
···
Add {.primary} to make the title red.
···
Add {.secondary} to make the title yellow.
···
Each section can have the following children:
preultable
ph4
Every box is an H3 section. The box will encompass everything inside the body of the H3.
This is a basic section with paragraphs in it.