petits changements
This commit is contained in:
1
main.ts
1
main.ts
@@ -614,7 +614,6 @@ export default class DateCalcPlugin extends Plugin {
|
|||||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
||||||
|
|
||||||
if (this.settings.debug) console.log("[date-calc] loaded");
|
if (this.settings.debug) console.log("[date-calc] loaded");
|
||||||
new Notice("Date Calc loaded (Live Preview + Reading)");
|
|
||||||
|
|
||||||
// Register Live Preview editor extension
|
// Register Live Preview editor extension
|
||||||
this.registerEditorExtension(dateCalcLivePreview(this.app, () => this.settings));
|
this.registerEditorExtension(dateCalcLivePreview(this.app, () => this.settings));
|
||||||
|
|||||||
@@ -3,9 +3,8 @@
|
|||||||
"name": "Date calculator",
|
"name": "Date calculator",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "Demonstrates some of the capabilities of the Obsidian API.",
|
"description": "Calculate ages, countdowns, and date differences dynamically in your notes using inline code or fenced blocks.",
|
||||||
"author": "Obsidian",
|
"author": "Olivier Legendre",
|
||||||
"authorUrl": "https://obsidian.md",
|
"authorUrl": "https://github.com/thelegend09",
|
||||||
"fundingUrl": "https://obsidian.md/pricing",
|
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian-sample-plugin",
|
"name": "date-calculator",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
|
"description": "Calculate ages, countdowns, and date differences dynamically in your notes using inline code or fenced blocks.",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node esbuild.config.mjs",
|
"dev": "node esbuild.config.mjs",
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ Date Calc Plugin Styles
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.date-calc-inline {
|
.date-calc-inline {
|
||||||
color: var(--text-accent);
|
/* color: var(--text-accent); */
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user