1
0

Improved autocomplete styling

This commit is contained in:
Zef Hemel 2022-09-06 11:30:54 +02:00
parent f393bedb02
commit 03daf92ba4
3 changed files with 30 additions and 0 deletions

View File

@ -162,6 +162,7 @@ functions:
path: "./template.ts:insertTemplateText"
slashCommand:
name: meta
description: Insert a page metadata block
value: |
```meta
|^|
@ -176,6 +177,7 @@ functions:
path: "./template.ts:insertTemplateText"
slashCommand:
name: query
description: Insert a query
value: |
<!-- #query |^| -->

View File

@ -96,6 +96,29 @@
background-color: #d7e1f6 !important;
}
.cm-editor .cm-tooltip-autocomplete {
.cm-completionDetail {
font-style: normal;
display: block;
font-size: 80%;
margin-left: 5px;
color: #555;
}
li[aria-selected] .cm-completionDetail {
color: #d2d2d2;
}
.cm-completionLabel {
display: block;
margin-left: 5px;
}
.cm-completionIcon {
display: none;
}
}
.sb-line-h1,
.sb-line-h2,
.sb-line-h3 {

View File

@ -1,5 +1,10 @@
An attempt at documenting of the changes/new features introduced in each release.
---
## 0.0.34
* Improved styling for completion (especially slash commands)
---
## 0.0.33