fix readme
This commit is contained in:
17
README.md
17
README.md
@@ -89,8 +89,7 @@ Override colors and fonts using YAML-like variables inside the code block. Only
|
|||||||
|
|
||||||
Prefix any global variable with `internal-`, `external-`, or `file-` to target specific link types:
|
Prefix any global variable with `internal-`, `external-`, or `file-` to target specific link types:
|
||||||
|
|
||||||
````markdown
|
```code
|
||||||
```menu
|
|
||||||
layout: minimal
|
layout: minimal
|
||||||
internal-text: #00ff00
|
internal-text: #00ff00
|
||||||
external-text: #ff6600
|
external-text: #ff6600
|
||||||
@@ -99,7 +98,7 @@ file-text: #0066ff
|
|||||||
[[Internal Link]]
|
[[Internal Link]]
|
||||||
[External Link](https://example.com)
|
[External Link](https://example.com)
|
||||||
[File Link](file:///C:/Documents)
|
[File Link](file:///C:/Documents)
|
||||||
```
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Accepted formats:**
|
**Accepted formats:**
|
||||||
@@ -110,13 +109,11 @@ file-text: #0066ff
|
|||||||
|
|
||||||
Generate links dynamically from Dataview queries. Prefix your query with `dataview:` or `dv:`:
|
Generate links dynamically from Dataview queries. Prefix your query with `dataview:` or `dv:`:
|
||||||
|
|
||||||
````markdown
|
```code
|
||||||
```menu
|
|
||||||
layout: default
|
layout: default
|
||||||
[[Home]]
|
[[Home]]
|
||||||
dataview: LIST FROM "Projects"
|
dataview: LIST FROM "Projects"
|
||||||
```
|
```
|
||||||
```
|
|
||||||
|
|
||||||
The plugin unwraps Dataview results so links blend seamlessly into your menu layout.
|
The plugin unwraps Dataview results so links blend seamlessly into your menu layout.
|
||||||
|
|
||||||
@@ -124,8 +121,7 @@ The plugin unwraps Dataview results so links blend seamlessly into your menu lay
|
|||||||
|
|
||||||
Template with gradient background:
|
Template with gradient background:
|
||||||
|
|
||||||
````markdown
|
```code
|
||||||
```menu
|
|
||||||
layout: horizon
|
layout: horizon
|
||||||
bg: linear-gradient(45deg, #667eea, #764ba2)
|
bg: linear-gradient(45deg, #667eea, #764ba2)
|
||||||
text: white
|
text: white
|
||||||
@@ -134,12 +130,10 @@ hover-text: #ffd700
|
|||||||
[[Dashboard]]
|
[[Dashboard]]
|
||||||
[Projects](https://github.com)
|
[Projects](https://github.com)
|
||||||
```
|
```
|
||||||
```
|
|
||||||
|
|
||||||
Custom class with theme variables:
|
Custom class with theme variables:
|
||||||
|
|
||||||
````markdown
|
```code
|
||||||
```menu
|
|
||||||
class: my-toolbar
|
class: my-toolbar
|
||||||
text: var(--text-normal)
|
text: var(--text-normal)
|
||||||
hover-text: var(--text-accent)
|
hover-text: var(--text-accent)
|
||||||
@@ -147,4 +141,3 @@ hover-text: var(--text-accent)
|
|||||||
[[Inbox]]
|
[[Inbox]]
|
||||||
[Wiki](https://example.com)
|
[Wiki](https://example.com)
|
||||||
```
|
```
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user