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:
|
||||
|
||||
````markdown
|
||||
```menu
|
||||
```code
|
||||
layout: minimal
|
||||
internal-text: #00ff00
|
||||
external-text: #ff6600
|
||||
@@ -99,7 +98,7 @@ file-text: #0066ff
|
||||
[[Internal Link]]
|
||||
[External Link](https://example.com)
|
||||
[File Link](file:///C:/Documents)
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
**Accepted formats:**
|
||||
@@ -110,13 +109,11 @@ file-text: #0066ff
|
||||
|
||||
Generate links dynamically from Dataview queries. Prefix your query with `dataview:` or `dv:`:
|
||||
|
||||
````markdown
|
||||
```menu
|
||||
```code
|
||||
layout: default
|
||||
[[Home]]
|
||||
dataview: LIST FROM "Projects"
|
||||
```
|
||||
```
|
||||
|
||||
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:
|
||||
|
||||
````markdown
|
||||
```menu
|
||||
```code
|
||||
layout: horizon
|
||||
bg: linear-gradient(45deg, #667eea, #764ba2)
|
||||
text: white
|
||||
@@ -134,12 +130,10 @@ hover-text: #ffd700
|
||||
[[Dashboard]]
|
||||
[Projects](https://github.com)
|
||||
```
|
||||
```
|
||||
|
||||
Custom class with theme variables:
|
||||
|
||||
````markdown
|
||||
```menu
|
||||
```code
|
||||
class: my-toolbar
|
||||
text: var(--text-normal)
|
||||
hover-text: var(--text-accent)
|
||||
@@ -147,4 +141,3 @@ hover-text: var(--text-accent)
|
||||
[[Inbox]]
|
||||
[Wiki](https://example.com)
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user