/front-matter -> /frontmatter
This commit is contained in:
parent
259ad5b488
commit
fc6165000c
@ -1,5 +1,5 @@
|
|||||||
body {
|
body {
|
||||||
font-family: georgia,times,serif;
|
font-family: georgia, times, serif;
|
||||||
font-size: 14pt;
|
font-size: 14pt;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
@ -12,15 +12,6 @@ img {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.front-matter {
|
|
||||||
border: 1px solid #555;
|
|
||||||
font-size: 75%;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.front-matter .key {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
@ -31,16 +22,17 @@ ul li p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
thead tr {
|
thead tr {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td {
|
th,
|
||||||
padding: 8px;
|
td {
|
||||||
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody tr:nth-of-type(even) {
|
tbody tr:nth-of-type(even) {
|
||||||
background-color: #f3f3f3;
|
background-color: #f3f3f3;
|
||||||
}
|
}
|
||||||
|
|
||||||
a[href] {
|
a[href] {
|
||||||
@ -54,18 +46,18 @@ blockquote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
margin: 1em 0 1em 0;
|
margin: 1em 0 1em 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-color: #777;
|
border-color: #777;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-style: dotted;
|
border-style: dotted;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr:after {
|
hr:after {
|
||||||
content: "···";
|
content: "···";
|
||||||
letter-spacing: 1em;
|
letter-spacing: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.highlight {
|
span.highlight {
|
||||||
background-color: yellow;
|
background-color: yellow;
|
||||||
}
|
}
|
@ -29,8 +29,8 @@ functions:
|
|||||||
insertFrontMatter:
|
insertFrontMatter:
|
||||||
redirect: insertTemplateText
|
redirect: insertTemplateText
|
||||||
slashCommand:
|
slashCommand:
|
||||||
name: front-matter
|
name: frontmatter
|
||||||
description: Insert page front matter
|
description: Insert page frontmatter
|
||||||
value: |
|
value: |
|
||||||
---
|
---
|
||||||
|^|
|
|^|
|
||||||
|
@ -72,7 +72,7 @@ with a 🗓️ emoji by default, but this is configurable via the `weeklyNotePre
|
|||||||
The {[Quick Note]} command will navigate to an empty page named with the current date and time prefixed with a 📥 emoji, but this is configurable via the `quickNotePrefix` in `SETTINGS`. The use case is to take a quick note outside of your current context.
|
The {[Quick Note]} command will navigate to an empty page named with the current date and time prefixed with a 📥 emoji, but this is configurable via the `quickNotePrefix` in `SETTINGS`. The use case is to take a quick note outside of your current context.
|
||||||
|
|
||||||
## Built-in slash commands
|
## Built-in slash commands
|
||||||
* `/front-matter`: Insert [[Frontmatter]]
|
* `/frontmatter`: Insert [[Frontmatter]]
|
||||||
* `/h1` - `/h4`: turn the current line into a header
|
* `/h1` - `/h4`: turn the current line into a header
|
||||||
* `/code`: insert a fenced code block
|
* `/code`: insert a fenced code block
|
||||||
* `/hr`: insert a horizontal rule
|
* `/hr`: insert a horizontal rule
|
||||||
|
Loading…
Reference in New Issue
Block a user