little changes

This commit is contained in:
2026-02-24 22:17:22 -05:00
parent 474dd13963
commit 70b0396f80
3 changed files with 9 additions and 11 deletions

View File

@@ -2,16 +2,16 @@
Create simple, stylable menus from code blocks. Write links inside a menu code block, and the plugin renders a clean set of clickable items.
## Quick Start
Create a menu using the menu code block:
Create a menu using the menu code block:
```markdown
```menu
```menu
layout: default
[[Home]]
[[Projects|My Projects]]
[Google](https://google.com)
[Documents](file:///C:/Users/YourName/Documents)
```
```
```
The plugin supports three link types:
@@ -31,20 +31,18 @@ Choose from five pre-styled layouts:
Add extra classes after the layout name:
````markdown
```menu
```code
layout: horizon wide
[[Dashboard]]
[Resources](https://example.com)
```
```
## Custom Styling
Use your own CSS class to bypass the built-in templates entirely. The plugin only renders the HTML structure and inline CSS variables—no default styles apply.
````markdown
```menu
```code
class: my-menu
bg: #111
text: #eee
@@ -53,7 +51,6 @@ hover-text: #0af
[[Home]]
[Web](https://example.com)
```
```
Then create your own CSS snippet: