diff --git a/plugs/markdown/assets/preview.css b/plugs/markdown/assets/preview.css index 1b11208..d7b77ee 100644 --- a/plugs/markdown/assets/preview.css +++ b/plugs/markdown/assets/preview.css @@ -1,5 +1,5 @@ body { - font-family: georgia,times,serif; + font-family: georgia, times, serif; font-size: 14pt; max-width: 800px; margin-left: auto; @@ -12,15 +12,6 @@ img { max-width: 100%; } -table.front-matter { - border: 1px solid #555; - font-size: 75%; -} - -table.front-matter .key { - font-weight: bold; -} - table { width: 100%; border-spacing: 0; @@ -31,16 +22,17 @@ ul li p { } thead tr { - background-color: #333; - color: #eee; + background-color: #333; + color: #eee; } -th, td { - padding: 8px; +th, +td { + padding: 8px; } tbody tr:nth-of-type(even) { - background-color: #f3f3f3; + background-color: #f3f3f3; } a[href] { @@ -54,18 +46,18 @@ blockquote { } hr { - margin: 1em 0 1em 0; - text-align: center; - border-color: #777; - border-width: 0; - border-style: dotted; + margin: 1em 0 1em 0; + text-align: center; + border-color: #777; + border-width: 0; + border-style: dotted; } hr:after { - content: "···"; - letter-spacing: 1em; + content: "···"; + letter-spacing: 1em; } span.highlight { background-color: yellow; -} +} \ No newline at end of file diff --git a/plugs/template/template.plug.yaml b/plugs/template/template.plug.yaml index daf308c..f0b2814 100644 --- a/plugs/template/template.plug.yaml +++ b/plugs/template/template.plug.yaml @@ -29,8 +29,8 @@ functions: insertFrontMatter: redirect: insertTemplateText slashCommand: - name: front-matter - description: Insert page front matter + name: frontmatter + description: Insert page frontmatter value: | --- |^| diff --git a/website/🔌 Template.md b/website/🔌 Template.md index 278b457..a1213c5 100644 --- a/website/🔌 Template.md +++ b/website/🔌 Template.md @@ -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. ## Built-in slash commands -* `/front-matter`: Insert [[Frontmatter]] +* `/frontmatter`: Insert [[Frontmatter]] * `/h1` - `/h4`: turn the current line into a header * `/code`: insert a fenced code block * `/hr`: insert a horizontal rule