Skip to content

Canvas CSS class

Add a CSS class to the canvas, but also other attributes.

The above warnings are based on limited information and might not always be accurate.

Data

IDcanvas-css-class
AuthorMara
FundingSupport the Author
Minimum Obsidian Version1.1.0
Official Release Date2023-01-12
Last update2024-06-06

Last Refresh

Obsidian Stats last refreshed the data behind this page on Jul 13, 2026.

Community plugin snapshotJul 13, 2026
Repository clonelast successful checkout May 25, 2026
Release acquisitionrelease metadata checked Jun 22, 2026; existing successful main.js cache reused

Quick Links

Changes

DateChanged PropertyOld ValueNew Value
2023-01-12Plugin Added
2024-05-25authorLisandra-devMara-Li
2024-05-25repoLisandra-dev/obsidian-canvas-css-classMara-Li/obsidian-canvas-css-class
2026-05-12authorMara-Limara-li
2026-05-12repoMara-Li/obsidian-canvas-css-classmara-li/obsidian-canvas-css-class
2026-06-11authormara-liMara

Repository Data

LicenseAGPL-3.0 in package.json
GPL-3.0 in LICENSE file
Package Managernpm, pnpm
Uses TypescriptYes
Installed Bundlersesbuild
Installed Testing FrameworksNone found
Has Test FilesNo
Latest Release main.js Size94.3 KB
Detected ES VersionES2020
Probably MinifiedYes
main.js API Findings1 disclosure
Uses BRAT beta releasesYes
Dependenciesansi-colors, commander, commit-and-tag-version, dedent
Dev Dependencies@biomejs/biome, @lisandra-dev/eslint-config, @types/electron, @types/obsidian-typings, builtin-modules, dotenv, esbuild, i18next, obsidian, tslib, typescript

main.js API Findings

These conservative findings come from static analysis of the latest release main.js. The table includes warnings and high-confidence informational findings; lower-confidence informational findings are omitted to reduce false positives. Warnings indicate usage of potentially risky APIs, but such APIs can be used safely if handled with care.

DisclosureDetected From
Global Handlers Or TimersRegisters events, DOM handlers, or intervals
FindingTypeConfidenceEvidence
Registers events, DOM handlers, or intervalsInfoHighsetTimeout (3), this.registerEvent (1)
Persists plugin settings or dataInfoHighthis.loadData (1), this.saveData (1)
Registers plugin settings UIInfoHighthis.addSettingTab (1), Setting (14), obsidian.Setting (14)
Registers commands, ribbon icons, or status bar itemsInfoHighthis.addCommand (6)
Accesses Obsidian vault APIsInfoHighapp.vault (2)
Accesses Obsidian workspace APIsInfoHighapp.workspace (12)
Accesses the active file or editorInfoHighapp.workspace.getActiveFile (1)

The above data may not be accurate and contain errors. For more information refer to the page about data collection.

Lines of Code

The plugin has a total of 1380 lines of code. The following chart shows the lines of code split by programming language.

Downloads

The following chart shows the total number of downloads of the plugin over time. The second chart shows the delta of downloads per week, which is the number of new downloads per week. New version releases are marked with vertical lines.

Version History

VersionRelease DateNote
1.0.02022-12-25Released while not listed
1.0.12022-12-25Released while not listed
1.1.02022-12-26Released while not listed
1.1.12022-12-26Released while not listed
1.2.02022-12-27Released while not listed
2.0.02023-01-02Released while not listed
2.1.02023-01-07Released while not listed
2.1.12023-01-07Released while not listed
2.1.22023-01-07Released while not listed
2.1.32023-01-07Released while not listed
2.1.42023-01-12None
2.1.52023-01-12None
2.1.62023-01-12None
2.1.72023-01-12None
2.1.82023-01-13None
2.2.02023-01-13None
2.2.12023-01-14None
2.2.22023-01-15None
2.3.02024-03-12None
2.3.12024-03-12None
2.3.22024-03-12None
2.3.32024-03-12None
2.3.42024-03-13None
2.4.02024-03-13None
2.4.12024-03-15None
2.5.02024-06-06None

Blacklisted versions are versions that are known to cause major issues or contain security concerns and have thus been blacklisted by the Obsidian team. Obsidian will disable plugins on startup whose installed version is blacklisted. Released while not listed versions happened outside the period where the plugin was present in the community plugin list and are excluded from aggregate release statistics.