What I’m trying to do
I would like to customize how notes are displayed in a canvas. And I have no idea how to do that.
I remember that in another vault I used Autoclass to associate a css with a specific folder, but I can’t find the plugin anymore, and GitHub says “Project not found”. Strange to say the least since it is on the page that is supposed to contain it.
The canvas is composed of notes with properties in the frontmatter.
I want to redraw how the notes appear in the canvas.
- I want to show the first image of the note resized to 64x64.
- Below the drawing, in large size, the name of the file.
- Immediately below, if present, written in small size, the Description property, with support for formatting
- If a “Notes” field is present I want an “i” icon to appear at the top right of the icon showing a pop-up description with the text of the “notes” property
- There may also be a “Menu” field, if it is present it references another note and I want near the main icon to show filename and first image of the linked note.
- There can be a number of fields that, if valued with “True” I want them to show a 16x16 icon present in the vault.
- There can also be Health and Morale fields that can contain values from -2 to +2 and I want each value, if different from 0, to show a different icon.
Things I have tried
I’ve heard of a Custom CSS plugin but can’t find any trace of it!
In this regard, is there specific documentation for css canvas?