Skip to content

Commit d307169

Browse files
authored
Merge pull request #52 from chuangcaleb/dev
1.3.1 - fix: cssclasses should mark fountain files
2 parents 879ddc0 + 9e3fe1f commit d307169

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "fountain-editor",
33
"name": "Fountain Editor",
4-
"version": "1.3.0",
4+
"version": "1.3.1",
55
"minAppVersion": "0.15.0",
66
"description": "Fountain (screenplay) syntax highlighting in the editor",
77
"author": "Chuang Caleb",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-fountain-editor",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Obsidian plugin for Fountain (screenplay) syntax highlighting in the editor",
55
"main": "main.js",
66
"type": "module",

src/tracker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export function updateClass(app: App) {
3232
if (metadata?.frontmatter?.cssclasses) {
3333
const cssclasses = metadata.frontmatter.cssclasses as string[];
3434
if (cssclasses.includes("fountain")) {
35+
toggleClass(app, true);
3536
return;
3637
}
3738
}

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"1.1.3": "0.15.0",
1212
"1.1.4": "0.15.0",
1313
"1.2.0": "0.15.0",
14-
"1.3.0": "0.15.0"
14+
"1.3.0": "0.15.0",
15+
"1.3.1": "0.15.0"
1516
}

0 commit comments

Comments
 (0)