No description
Find a file
Cristoph Berane 75c6e4ea55
feat: update Material Symbols font and add automation scripts
- Updated Material Symbols to latest version with complete icon set
- Added `update-font.mjs` script for automated future font updates
- Added `deploy.mjs` script with proper error handling
- Fixed potential null pointer in font update logic
- Bumped version and restored repository URL
2026-02-26 20:55:54 +01:00
doc first custom implementation of this plugin 2023-02-06 08:35:30 +01:00
.editorconfig Initial commit 2023-02-04 20:41:18 +01:00
.eslintignore Initial commit 2023-02-04 20:41:18 +01:00
.eslintrc Initial commit 2023-02-04 20:41:18 +01:00
.gitignore feat: update Material Symbols font and add automation scripts 2026-02-26 20:55:54 +01:00
.npmrc Initial commit 2023-02-04 20:41:18 +01:00
CHANGELOG.md first custom implementation of this plugin 2023-02-06 08:35:30 +01:00
deploy.mjs feat: update Material Symbols font and add automation scripts 2026-02-26 20:55:54 +01:00
esbuild.config.mjs Initial commit 2023-02-04 20:41:18 +01:00
LICENSE added LICENSE 2023-02-06 08:51:52 +01:00
main.ts first custom implementation of this plugin 2023-02-06 08:35:30 +01:00
manifest.json feat: update Material Symbols font and add automation scripts 2026-02-26 20:55:54 +01:00
package.json build(deps-dev): bump esbuild from 0.17.3 to 0.25.0 (#1) 2026-02-26 19:55:06 +01:00
README.md first custom implementation of this plugin 2023-02-06 08:35:30 +01:00
styles.css feat: update Material Symbols font and add automation scripts 2026-02-26 20:55:54 +01:00
tsconfig.json Initial commit 2023-02-04 20:41:18 +01:00
update-font.mjs feat: update Material Symbols font and add automation scripts 2026-02-26 20:55:54 +01:00
version-bump.mjs Initial commit 2023-02-04 20:41:18 +01:00
versions.json feat: update Material Symbols font and add automation scripts 2026-02-26 20:55:54 +01:00

Material Symbols Plugin

This is a simple plugin for Obsidian to add Google's material symbols outlined.

This plugin adds 2 commands to easily add symbols to the current document.

Usage

  1. Hit Ctrl + P and search for symbol.
    You can find 2 options to add the icons:
    1. Add Symbol adds <span class="mso"></span>
    2. Add Symbol (class single-quoted) to add <span class='mso'></span> as it could be needed in nested elements.
  2. After inserting the icon html, the cursor will be set into the tag.
  3. Add the icon name as expected from Google Material Symbols

Example

<span class="mso">dashboard</span> should render this icon:

Default Settings

The following font settings will be applied by default:

Setting Description
fill 0
weight 200
grade -25

Overwriting defaults

For easier changes you can use one of the following classes to activate other font settings:

Class Change
fill1 activates font filling
weight100 sets the font-weight to 100
weight300 sets the font-weight to 300
weight400 sets the font-weight to 400
weight500 sets the font-weight to 500
weight600 sets the font-weight to 600
weight700 sets the font-weight to 700
grade0 sets the grade to 0
grade200 sets the grade to 200

Example

  • <span class="mso">dashboard</span> will render the dashboard icon with weight 200 (default!)
  • <span class="mso weight400 grade200">dashboard</span> will render the dashboard icon with weight 400 and grade 200