1
0

/front-matter -> /frontmatter

This commit is contained in:
Zef Hemel 2023-11-27 16:43:12 +01:00
parent 259ad5b488
commit fc6165000c
3 changed files with 18 additions and 26 deletions

View File

@ -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;
@ -35,7 +26,8 @@ thead tr {
color: #eee; color: #eee;
} }
th, td { th,
td {
padding: 8px; padding: 8px;
} }

View File

@ -29,7 +29,7 @@ functions:
insertFrontMatter: insertFrontMatter:
redirect: insertTemplateText redirect: insertTemplateText
slashCommand: slashCommand:
name: front-matter name: frontmatter
description: Insert page frontmatter description: Insert page frontmatter
value: | value: |
--- ---

View File

@ -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