little changes
This commit is contained in:
1
.vscode/settings.json
vendored
Normal file
1
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
13
README.md
13
README.md
@@ -5,13 +5,13 @@ Create simple, stylable menus from code blocks. Write links inside a menu code b
|
|||||||
Create a menu using the menu code block:
|
Create a menu using the menu code block:
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
```menu
|
```menu
|
||||||
layout: default
|
layout: default
|
||||||
[[Home]]
|
[[Home]]
|
||||||
[[Projects|My Projects]]
|
[[Projects|My Projects]]
|
||||||
[Google](https://google.com)
|
[Google](https://google.com)
|
||||||
[Documents](file:///C:/Users/YourName/Documents)
|
[Documents](file:///C:/Users/YourName/Documents)
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
|
|
||||||
The plugin supports three link types:
|
The plugin supports three link types:
|
||||||
@@ -31,20 +31,18 @@ Choose from five pre-styled layouts:
|
|||||||
|
|
||||||
Add extra classes after the layout name:
|
Add extra classes after the layout name:
|
||||||
|
|
||||||
````markdown
|
```code
|
||||||
```menu
|
|
||||||
layout: horizon wide
|
layout: horizon wide
|
||||||
[[Dashboard]]
|
[[Dashboard]]
|
||||||
[Resources](https://example.com)
|
[Resources](https://example.com)
|
||||||
```
|
```
|
||||||
```
|
|
||||||
|
|
||||||
## Custom Styling
|
## 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.
|
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
|
class: my-menu
|
||||||
bg: #111
|
bg: #111
|
||||||
text: #eee
|
text: #eee
|
||||||
@@ -53,7 +51,6 @@ hover-text: #0af
|
|||||||
[[Home]]
|
[[Home]]
|
||||||
[Web](https://example.com)
|
[Web](https://example.com)
|
||||||
```
|
```
|
||||||
```
|
|
||||||
|
|
||||||
Then create your own CSS snippet:
|
Then create your own CSS snippet:
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"id": "menu-plugin",
|
"id": "monster-menus",
|
||||||
"name": "Obsidian Menus",
|
"name": "Monster Menus",
|
||||||
"version": "1.4.1",
|
"version": "1.4.1",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "Create custom menus using code blocks with links and CSS styling.",
|
"description": "Create custom menus using code blocks with links and CSS styling.",
|
||||||
|
|||||||
Reference in New Issue
Block a user